From 7ec939247497d7f6a736041c08504e5f145941de Mon Sep 17 00:00:00 2001 From: ramazanemreosmanoglu Date: Sun, 30 Oct 2022 12:42:45 +0300 Subject: [PATCH] Spawn trayer using spawnOnce on xmonad config --- .config/xmonad/xmonad.hs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.config/xmonad/xmonad.hs b/.config/xmonad/xmonad.hs index bcdfe7b..0b4660c 100644 --- a/.config/xmonad/xmonad.hs +++ b/.config/xmonad/xmonad.hs @@ -35,11 +35,11 @@ myGapSize = 13 myStartupHook :: X () myStartupHook = do - spawn $ "/usr/bin/xmobar " ++ themeBarConfig myTheme - spawn $ "feh --bg-scale " ++ themeWallpaper myTheme - spawn "xscreensaver -no-splash" - spawn "trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 10 --transparent true --tint 0x5f5f5f --height 31" - spawn "emacs --daemon" + spawn $ "/usr/bin/xmobar " ++ themeBarConfig myTheme + spawn $ "feh --bg-scale " ++ themeWallpaper myTheme + spawn "xscreensaver -no-splash" + spawnOnce "trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 10 --transparent true --tint 0x5f5f5f --height 31" + spawn "emacs --daemon" myKeybindings :: [(String, X())] myKeybindings = [ ("M-e", spawn myEmacs)