about summary refs log tree commit diff
path: root/src/XMonad/Custom/Startup.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/XMonad/Custom/Startup.hs')
-rw-r--r--src/XMonad/Custom/Startup.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/XMonad/Custom/Startup.hs b/src/XMonad/Custom/Startup.hs
index aa9340f..85d52ad 100644
--- a/src/XMonad/Custom/Startup.hs
+++ b/src/XMonad/Custom/Startup.hs
@@ -18,6 +18,7 @@ import           XMonad.Hooks.ManageDocks
 import           XMonad.Hooks.SetWMName
 import           XMonad.Util.Cursor
 import           XMonad.Util.SpawnNamedPipe
+import           XMonad.Util.SpawnOnce
 
 atomsToFullscreen :: [String]
 atomsToFullscreen =
@@ -49,7 +50,7 @@ addEWMHFullscreen = do
 startupHook :: X ()
 startupHook = do
     spawnNamedPipe "xmobar ~/.xmonad/xmobarrc/top.hs" "xmobarTop"
-    spawnNamedPipe "xmobar ~/.xmonad/xmobarrc/bot.hs" "xmobarBot"
+    spawnOnce "xmobar ~/.xmonad/xmobarrc/bot.hs"
     docksStartupHook
     addEWMHFullscreen
     setDefaultCursor xC_left_ptr

Consider giving Nix/NixOS a try! <3