diff options
author | tcmal <me@aria.rip> | 2024-08-30 16:51:50 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-08-30 17:10:47 +0100 |
commit | 8fc827a3b30de16b6adbf80abea3bc224d507268 (patch) | |
tree | c9a37a1dbaf02ec3b52000b5feaa3cba6af511ef /src/config.rs | |
parent | a568b4a79d1ccabfdff0a5a8ecbb908e96f17cf5 (diff) |
Add bind for going back and forth between tags
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs index 723f0e7..2b5e34d 100644 --- a/src/config.rs +++ b/src/config.rs @@ -9,8 +9,8 @@ use crate::{ clients::TagFocus, conn_info::Colour, helpers::{ - focus_next, focus_prev, kill_client, mouse_move, mouse_resize, set_tag, set_tag_focus, - shift_down, shift_top, shift_up, spawn, toggle_floating, toggle_fullscreen, + focus_next, focus_prev, kill_client, mouse_move, mouse_resize, prev_tag_focus, set_tag, + set_tag_focus, shift_down, shift_top, shift_up, spawn, toggle_floating, toggle_fullscreen, }, keys::Keybinds, }; @@ -53,6 +53,7 @@ pub const KEYBINDS: Keybinds = Keybinds(&[ bind!(MAIN_MODIFIER.union(ModMask::SHIFT) , space -> &toggle_floating), bind!(MAIN_MODIFIER.union(ModMask::SHIFT) , f -> &toggle_fullscreen), bind!(MAIN_MODIFIER.union(ModMask::SHIFT) , q -> &kill_client), + bind!(MAIN_MODIFIER , Tab -> &prev_tag_focus), bind!(MAIN_MODIFIER , _1 -> &|wm| set_tag_focus(wm, TagFocus::Tag(1))), bind!(MAIN_MODIFIER , _2 -> &|wm| set_tag_focus(wm, TagFocus::Tag(2))), bind!(MAIN_MODIFIER , _3 -> &|wm| set_tag_focus(wm, TagFocus::Tag(3))), |