From 6920bc7bb5c295b6f9d0e10b60915398d2bfb5c1 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Sun, 15 Apr 2018 13:16:29 -0400 Subject: xmonad path bug --- .xmonad/xmonad.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.xmonad/xmonad.hs') diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index 213d775..120f634 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -407,7 +407,8 @@ myGSConfig = defaultGSConfig { gs_navigate = navNSearch } main = do dzenpipe <- spawnPipe statusBarCmd path <- getEnv "PATH" - setEnv "PATH" ("${HOME}/bin:" ++ path) + homedir <- getEnv "HOME" -- ${HOME} doesn't get expanded by /bin/sh... + setEnv "PATH" (homedir ++ "/bin:" ++ path) xmonad $ withUrgencyHookC dzenUrgencyHook { args = ["-bg", "red", "-fg", "yellow", "-x", "1"] } urgencyConfig { remindWhen = Every 30 } --NoUrgencyHook $ defaultConfig { -- kde4Config { workspaces = myWorkspaces -- cgit v1.2.3