summaryrefslogtreecommitdiffstats
path: root/tv/5pkgs/xmonad-tv.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tv/5pkgs/xmonad-tv.nix')
-rw-r--r--tv/5pkgs/xmonad-tv.nix4
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