users/xmonad: toggle polybar
This commit is contained in:
parent
55f46d26d9
commit
cc69221421
2 changed files with 6 additions and 3 deletions
|
@ -74,6 +74,7 @@ in
|
|||
radius = 6.0;
|
||||
background = themeCfg.bar.background;
|
||||
foreground = themeCfg.bar.mainText;
|
||||
enable-ipc = true;
|
||||
};
|
||||
|
||||
"module/date" = {
|
||||
|
|
|
@ -322,13 +322,15 @@ myKeys conf =
|
|||
-- Increment the number of windows in the master area
|
||||
("M-,", sendMessage $ IncMasterN 1),
|
||||
-- Deincrement the number of windows in the master area
|
||||
("M-.", sendMessage $ IncMasterN (-1))
|
||||
("M-.", sendMessage $ IncMasterN (-1)),
|
||||
-- Toggle the status bar gap
|
||||
-- Use this binding with avoidStruts from Hooks.ManageDocks.
|
||||
-- See also the statusBar function from Hooks.DynamicLog.
|
||||
--
|
||||
-- , ("M-b", sendMessage ToggleStruts)
|
||||
("M-b", toggleStruts)
|
||||
]
|
||||
where
|
||||
togglePolybar = spawn "polybar-msg cmd toggle &"
|
||||
toggleStruts = togglePolybar >> sendMessage ToggleStruts
|
||||
|
||||
system_kb =
|
||||
[ -- Lock screen
|
||||
|
|
Loading…
Reference in a new issue