diff --git a/config/xmonad/scripts/trayer.sh b/config/xmonad/scripts/trayer.sh new file mode 100755 index 00000000..3aeb5e69 --- /dev/null +++ b/config/xmonad/scripts/trayer.sh @@ -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 diff --git a/config/xmonad/xmonad.hs b/config/xmonad/xmonad.hs index 4192ef42..7060eaf0 100644 --- a/config/xmonad/xmonad.hs +++ b/config/xmonad/xmonad.hs @@ -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.