config: add focus-below and focus-above actions
This commit is contained in:
parent
c034ea7604
commit
bd85db5b59
12 changed files with 211 additions and 19 deletions
|
|
@ -34,7 +34,7 @@ use {
|
|||
jay_config::{
|
||||
Axis::{Horizontal, Vertical},
|
||||
get_workspace,
|
||||
input::Timeline,
|
||||
input::{LayerDirection, Timeline},
|
||||
},
|
||||
thiserror::Error,
|
||||
};
|
||||
|
|
@ -139,6 +139,8 @@ impl ActionParser<'_> {
|
|||
"toggle-bar" => ToggleBar,
|
||||
"focus-prev" => FocusHistory(Timeline::Older),
|
||||
"focus-next" => FocusHistory(Timeline::Newer),
|
||||
"focus-below" => FocusLayerRel(LayerDirection::Below),
|
||||
"focus-above" => FocusLayerRel(LayerDirection::Above),
|
||||
_ => {
|
||||
return Err(
|
||||
ActionParserError::UnknownSimpleAction(string.to_string()).spanned(span)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue