[XMonad] Add goFullscreen action
This commit is contained in:
parent
06e5c7f5e2
commit
88e96ccf0b
@ -160,6 +160,8 @@ deactivateFullOr = toggleOr NBFULL False
|
|||||||
deactivateFullAnd action = sequence_ [deactivateFull, action]
|
deactivateFullAnd action = sequence_ [deactivateFull, action]
|
||||||
|
|
||||||
andDeactivateFull action = sequence_ [action, deactivateFull]
|
andDeactivateFull action = sequence_ [action, deactivateFull]
|
||||||
|
|
||||||
|
goFullscreen = sendMessage $ Toggle NBFULL
|
||||||
|
|
||||||
-- Layout setup
|
-- Layout setup
|
||||||
|
|
||||||
@ -410,7 +412,7 @@ addKeys conf@XConfig {modMask = modm} =
|
|||||||
"systemctl --user restart taffybar.service")
|
"systemctl --user restart taffybar.service")
|
||||||
, ((modm, xK_v), spawn "copyq paste")
|
, ((modm, xK_v), spawn "copyq paste")
|
||||||
, ((modm, xK_s), swapNextScreen)
|
, ((modm, xK_s), swapNextScreen)
|
||||||
, ((modm .|. controlMask, xK_space), sendMessage $ Toggle NBFULL)
|
, ((modm .|. controlMask, xK_space), goFullscreen)
|
||||||
, ((modm, xK_slash), sendMessage $ Toggle MIRROR)
|
, ((modm, xK_slash), sendMessage $ Toggle MIRROR)
|
||||||
, ((modm, xK_m), withFocused minimizeWindow)
|
, ((modm, xK_m), withFocused minimizeWindow)
|
||||||
, ((modm .|. shiftMask, xK_m), withLastMinimized maximizeWindowAndFocus)
|
, ((modm .|. shiftMask, xK_m), withLastMinimized maximizeWindowAndFocus)
|
||||||
|
Loading…
Reference in New Issue
Block a user