diff options
author | tv <tv@krebsco.de> | 2016-05-25 01:37:52 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-05-25 01:59:29 +0200 |
commit | 73a63312255821f2b3b0315232cdd5b8ea1b994d (patch) | |
tree | c66b75ad297e2f3b73917e3a1a0f2c620f22b35c /tv/5pkgs/xmonad-tv.nix | |
parent | 9172da3aa08672ad178128663afa4331059475ad (diff) |
xmonad-tv: startupHook = $XMONAD_STARTUP_HOOK &
Diffstat (limited to 'tv/5pkgs/xmonad-tv.nix')
-rw-r--r-- | tv/5pkgs/xmonad-tv.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tv/5pkgs/xmonad-tv.nix b/tv/5pkgs/xmonad-tv.nix index 794d90688..74e43dc79 100644 --- a/tv/5pkgs/xmonad-tv.nix +++ b/tv/5pkgs/xmonad-tv.nix @@ -83,7 +83,9 @@ mainNoArgs = do -- , handleEventHook = myHandleEventHooks <+> handleTimerEvent --, handleEventHook = handleTimerEvent , manageHook = placeHook (smart (1,0)) <+> floatNextHook - , startupHook = liftIO (putStrLn "emit XMonadStartup") + , startupHook = do + path <- liftIO (getEnv "XMONAD_STARTUP_HOOK") + forkFile path [] Nothing , normalBorderColor = "#1c1c1c" , focusedBorderColor = "#f000b0" , handleEventHook = handleShutdownEvent |