summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs3
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 } },