Update 'manageHook'
parent
01e5b41bad
commit
e133985624
|
@ -62,7 +62,22 @@ myXmobarPP = def
|
||||||
yellow = xmobarColor "#ff0" ""
|
yellow = xmobarColor "#ff0" ""
|
||||||
red = xmobarColor "#ff5555" ""
|
red = xmobarColor "#ff5555" ""
|
||||||
|
|
||||||
|
-- Shift to workspace and view workspace
|
||||||
|
shiftAndView id = doF (W.view id) <> doF (W.shift id)
|
||||||
|
|
||||||
|
-- manageHook
|
||||||
|
myManageHook = composeAll
|
||||||
|
[
|
||||||
|
className =? "Zathura" --> doShift "pdf"
|
||||||
|
, className =? "firefox" --> shiftAndView "www"
|
||||||
|
, className =? "Anki" --> shiftAndView "etc"
|
||||||
|
, className =? "Obsidian" --> shiftAndView "etc"
|
||||||
|
, className =? "Launcher" --> doRectFloat (W.RationalRect 0.05 0.4 0.9 0.5)
|
||||||
|
, className =? "Calculator" --> doCenterFloat
|
||||||
|
, className =? "feh" --> doCenterFloat
|
||||||
|
, className =? "albert" --> hasBorder False
|
||||||
|
, className =? "Xournalpp" --> doRectFloat (W.RationalRect 0.5 0.5 0.5 0.5)
|
||||||
|
]
|
||||||
|
|
||||||
-- layoutHook
|
-- layoutHook
|
||||||
myLayoutHook= smartBorders $
|
myLayoutHook= smartBorders $
|
||||||
|
@ -86,11 +101,6 @@ myLayoutHook= smartBorders $
|
||||||
ratio = 1/2
|
ratio = 1/2
|
||||||
delta = 4/100
|
delta = 4/100
|
||||||
|
|
||||||
myManageHook = composeAll
|
|
||||||
[ className =? "Zathura" --> doShift "ε"
|
|
||||||
, className =? "Launcher" --> doRectFloat (W.RationalRect 0.05 0.4 0.9 0.5)
|
|
||||||
]
|
|
||||||
|
|
||||||
myConfig = def
|
myConfig = def
|
||||||
{
|
{
|
||||||
terminal = "alacritty"
|
terminal = "alacritty"
|
||||||
|
|
Loading…
Reference in New Issue