From 88e96ccf0bf991e94ede33998b385d83e686f29d Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 22 Nov 2016 00:41:55 -0600 Subject: [PATCH] [XMonad] Add goFullscreen action --- dotfiles/xmonad/xmonad.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dotfiles/xmonad/xmonad.hs b/dotfiles/xmonad/xmonad.hs index 548222ca..36688a74 100644 --- a/dotfiles/xmonad/xmonad.hs +++ b/dotfiles/xmonad/xmonad.hs @@ -160,6 +160,8 @@ deactivateFullOr = toggleOr NBFULL False deactivateFullAnd action = sequence_ [deactivateFull, action] andDeactivateFull action = sequence_ [action, deactivateFull] + +goFullscreen = sendMessage $ Toggle NBFULL -- Layout setup @@ -410,7 +412,7 @@ addKeys conf@XConfig {modMask = modm} = "systemctl --user restart taffybar.service") , ((modm, xK_v), spawn "copyq paste") , ((modm, xK_s), swapNextScreen) - , ((modm .|. controlMask, xK_space), sendMessage $ Toggle NBFULL) + , ((modm .|. controlMask, xK_space), goFullscreen) , ((modm, xK_slash), sendMessage $ Toggle MIRROR) , ((modm, xK_m), withFocused minimizeWindow) , ((modm .|. shiftMask, xK_m), withLastMinimized maximizeWindowAndFocus)