Spawn trayer using spawnOnce on xmonad config

This commit is contained in:
ramazanemreosmanoglu 2022-10-30 12:42:45 +03:00
parent d998b2b150
commit 7ec9392474

View file

@ -35,11 +35,11 @@ myGapSize = 13
myStartupHook :: X () myStartupHook :: X ()
myStartupHook = do myStartupHook = do
spawn $ "/usr/bin/xmobar " ++ themeBarConfig myTheme spawn $ "/usr/bin/xmobar " ++ themeBarConfig myTheme
spawn $ "feh --bg-scale " ++ themeWallpaper myTheme spawn $ "feh --bg-scale " ++ themeWallpaper myTheme
spawn "xscreensaver -no-splash" spawn "xscreensaver -no-splash"
spawn "trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 10 --transparent true --tint 0x5f5f5f --height 31" spawnOnce "trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 10 --transparent true --tint 0x5f5f5f --height 31"
spawn "emacs --daemon" spawn "emacs --daemon"
myKeybindings :: [(String, X())] myKeybindings :: [(String, X())]
myKeybindings = [ ("M-e", spawn myEmacs) myKeybindings = [ ("M-e", spawn myEmacs)