JS
Size: a a a
ХГ
[

[

[
[
readMVar прокидывать?X
cfg :: XConfig (Choose Tall (Choose (Mirror Tall) Full))В
cfg = def { modMask = mod4Mask
, terminal = "alacritty"
, workspaces = myWorkspaces
, handleEventHook = FS.fullscreenEventHook
, normalBorderColor = "black"
, focusedBorderColor = "orange"
, layoutHook = layout
} `additionalKeys`
[ ((mod4Mask .|. shiftMask, xK_z), spawn "xscreensaver-command -lock")
, ((controlMask, xK_Print), spawn "spectacle -a")
, ((0, xK_Print), spawn "spectacle -f")
]
withMyKeys :: XConfig a -> XConfig a
withMyKeys = flip additionalKeys
[ key xK_Z >>= with mod4Mask
>>= with shiftMask
|=> screensaver
, key xK_Print >>= with controlMask
|=> screenshotWin
, key xK_Print |=> screenshot ]
cfg :: XConfig (Choose Tall (Choose (Mirror Tall) Full))
cfg = def { modMask = mod4Mask
, terminal = "alacritty"
, workspaces = myWorkspaces
, handleEventHook = FS.fullscreenEventHook
, normalBorderColor = "black"
, focusedBorderColor = "orange"
, layoutHook = layout
} & withMyKeys