add trayer script?

This commit is contained in:
Sakooooo 2023-07-24 13:46:40 +03:00
parent 306c912d58
commit ef3defb8a4
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 14 additions and 1 deletions

13
config/xmonad/scripts/trayer.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/sh
sleep 1 && killall trayer
trayer \
--edge bottom \
--align right \
--SetDockType true \
--SetPartialStrut true \
--height 30 \
--transparent true \
--alpha 0 \
--tint #000000 \
--widthtype request

View file

@ -257,7 +257,7 @@ myLogHook h = dynamicLogWithPP $ def { ppOutput = hPutStrLn h }
-- By default, do nothing.
myStartupHook = do
spawnOnce "keepassxc"
spawn "trayer --edge bottom --align right --SetDockType true --SetPartialStrut true --height 30 --transparent true --alpha 0 --tint #000000 --widthtype request"
spawn "/home/sako/.config/xmonad/scripts/trayer.sh"
------------------------------------------------------------------------
-- Now run xmonad with all the defaults we set up.