fix(prog/xmonad): workspace names

This commit is contained in:
Dmitriy Pleshevskiy 2022-04-18 11:25:54 +03:00
parent 36d0279a22
commit 350576cc39

View file

@ -188,8 +188,8 @@ myMouseBindings (XConfig {XMonad.modMask = modm}) = M.fromList
-- which denotes layout choice. -- which denotes layout choice.
-- --
myLayout = avoidStruts myLayout = avoidStruts
$ onWorkspace "web" (myTall (1/2) ||| myFull ||| Grid) $ onWorkspace "1:web" (myTall (1/2) ||| myFull ||| Grid)
$ onWorkspace "chat" (myTall (1/2)) $ onWorkspace "4:chat" (myTall (1/2))
$ myTall (2/3) ||| myFull ||| Grid $ myTall (2/3) ||| myFull ||| Grid
where where
myTall = smartBorders . Tall nmaster delta myTall = smartBorders . Tall nmaster delta
@ -225,9 +225,9 @@ myManageHook = composeAll
, className =? "Gnome-calculator" --> doFloat , className =? "Gnome-calculator" --> doFloat
, className =? "Gnome-font-viewer" --> doFloat , className =? "Gnome-font-viewer" --> doFloat
, className =? "Org.gnome.Nautilus" --> doFloat , className =? "Org.gnome.Nautilus" --> doFloat
, className =? "firefox-trunk-nightly" --> doShift "web" , className =? "firefox-trunk-nightly" --> doShift "1:web"
, resource =? "telegram-desktop" --> doShift "chat" , resource =? "telegram-desktop" --> doShift "4:chat"
, className =? "Thunderbird" --> doShift "chat" , className =? "Thunderbird" --> doShift "4:chat"
-- my libs -- my libs
, resource =? "hwt" --> doFloat , resource =? "hwt" --> doFloat
] ]