diff options
author | tcmal <me@aria.rip> | 2024-07-15 15:30:06 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-07-15 19:18:59 +0100 |
commit | 5d2a23a5d618725b75ba77d7185601e5439801c5 (patch) | |
tree | c0d37b1e3e3bd796deab0de904b31ef5cd21e048 /src/config.rs | |
parent | 641d4db398357bd50e83dc77464558acf83d9b1d (diff) |
support fullscreen mode
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs index aac47ae..9cbfc40 100644 --- a/src/config.rs +++ b/src/config.rs @@ -7,7 +7,7 @@ use xkeysym::Keysym; use crate::{ bind, conn_info::Colour, - helpers::{focus_next, focus_prev, spawn, toggle_floating}, + helpers::{focus_next, focus_prev, spawn, toggle_floating, toggle_fullscreen}, keys::{Keybind, Keybinds}, }; @@ -33,6 +33,7 @@ pub const KEYBINDS: Keybinds = Keybinds(&[ bind!(MAIN_MODIFIER , j -> &focus_next), bind!(MAIN_MODIFIER , k -> &focus_prev), bind!(MAIN_MODIFIER.union(ModMask::SHIFT) , space -> &toggle_floating), + bind!(MAIN_MODIFIER.union(ModMask::SHIFT) , f -> &toggle_fullscreen), // { MODKEY, XK_j, focusstack, {.i = +1 } }, // { MODKEY, XK_k, focusstack, {.i = -1 } }, // { MODKEY, XK_i, incnmaster, {.i = +1 } }, |