From 5d2a23a5d618725b75ba77d7185601e5439801c5 Mon Sep 17 00:00:00 2001 From: tcmal Date: Mon, 15 Jul 2024 15:30:06 +0100 Subject: support fullscreen mode --- src/config.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/config.rs') 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 } }, -- cgit v1.2.3