aboutsummaryrefslogtreecommitdiff
path: root/.xmonad
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2018-04-15 13:16:29 -0400
committerRyan Kavanagh <rak@debian.org>2018-04-15 13:16:29 -0400
commit6920bc7bb5c295b6f9d0e10b60915398d2bfb5c1 (patch)
treed9a598280b68085ddf36fe468747be71122212a9 /.xmonad
parentUpdate known_hosts (diff)
xmonad path bug
Diffstat (limited to '')
-rw-r--r--.xmonad/xmonad.hs3
1 files changed, 2 insertions, 1 deletions
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