General update.

This commit is contained in:
CronyAkatsuki 2024-01-08 16:14:01 +01:00
parent 283fa7c767
commit fd1297e625

View File

@ -89,7 +89,7 @@ myStartupHook = do
spawnOnce "dunst" spawnOnce "dunst"
spawnOnce "keepassxc" spawnOnce "keepassxc"
spawnOnce "/usr/libexec/polkit-gnome-authentication-agent-1" spawnOnce "/usr/libexec/polkit-gnome-authentication-agent-1"
spawn ("sleep 2 && trayer-srg --edge top --align right --widthtype request --padding 6 --iconspacing 7 --SetDockType true --SetPartialStrut true --expand true --monitor 1 --transparent true --alpha 0 --tint 0x303446 --height 27 -l") spawn ("sleep 2 && trayer-srg --edge top --align right --widthtype request --padding 6 --iconspacing 7 --SetDockType true --SetPartialStrut true --expand true --monitor 1 --transparent true --alpha 0 --tint 0x303446 --height 24 -l")
setWMName "LG3D" -- Fix java programs setWMName "LG3D" -- Fix java programs
-- My scratchpads -- My scratchpads
@ -146,11 +146,11 @@ mySpacing' i = spacingRaw True (Border i i i i) True (Border i i i i) True
-- My layouts -- My layouts
tall = renamed [Replace "tall"] tall = renamed [Replace "tall"]
$ withBorder myBorderWidth $ withBorder myBorderWidth
$ mySpacing 7 $ mySpacing 4
$ ResizableTall 1 (3/100) (1/2) [] $ ResizableTall 1 (3/100) (1/2) []
monocle = renamed [Replace "monocle"] monocle = renamed [Replace "monocle"]
$ withBorder myBorderWidth $ withBorder myBorderWidth
$ mySpacing 7 $ mySpacing 4
$ Full $ Full
floats = renamed [Replace "floats"] floats = renamed [Replace "floats"]
$ withBorder myBorderWidth $ withBorder myBorderWidth
@ -170,8 +170,7 @@ myLayoutHook = lessBorders OnlyScreenFloat
-- My manage hook -- My manage hook
myManageHook :: ManageHook myManageHook :: ManageHook
myManageHook = composeAll myManageHook = composeAll
[ className =? "librewolf" --> doShiftAndGo ( myWorkspaces !! 0) [ className =? "qutebrowser" --> doShiftAndGo ( myWorkspaces !! 0)
, className =? "qutebrowser" --> doShiftAndGo ( myWorkspaces !! 0)
, className =? "newsboat" --> doShiftAndGo ( myWorkspaces !! 3) , className =? "newsboat" --> doShiftAndGo ( myWorkspaces !! 3)
, className =? "videos" --> doShiftAndGo ( myWorkspaces !! 3) , className =? "videos" --> doShiftAndGo ( myWorkspaces !! 3)
, className =? "ytfzf" --> doShiftAndGo ( myWorkspaces !! 3) , className =? "ytfzf" --> doShiftAndGo ( myWorkspaces !! 3)
@ -186,6 +185,7 @@ myManageHook = composeAll
, className =? "cartridges" --> doShiftAndGo ( myWorkspaces !! 5) , className =? "cartridges" --> doShiftAndGo ( myWorkspaces !! 5)
, className =? "Cemu" --> doShiftAndGo ( myWorkspaces !! 5) , className =? "Cemu" --> doShiftAndGo ( myWorkspaces !! 5)
, className =? "xemu" --> doShiftAndGo ( myWorkspaces !! 5) , className =? "xemu" --> doShiftAndGo ( myWorkspaces !! 5)
, className =? "librewolf" --> doShiftAndGo ( myWorkspaces !! 8)
, isDialog --> doCenterFloat <+> doF W.swapUp , isDialog --> doCenterFloat <+> doF W.swapUp
, className =? "Gimp" --> doFloat <+> doF W.swapUp , className =? "Gimp" --> doFloat <+> doF W.swapUp
, className =? "confirm" --> doFloat <+> doF W.swapUp , className =? "confirm" --> doFloat <+> doF W.swapUp