summaryrefslogtreecommitdiffstats
path: root/tv/5pkgs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-05-25 01:37:52 +0200
committertv <tv@krebsco.de>2016-05-25 01:59:29 +0200
commitcd62dead8d077e29a078ee23eea8894f9d0ef784 (patch)
treeb0394e1028e9f9a430abdb162c6e6ab58237516e /tv/5pkgs
parentae6a21d46a9f574ca98f60dc2c6576d0de12db1d (diff)
xmonad-tv: startupHook = $XMONAD_STARTUP_HOOK &
Diffstat (limited to 'tv/5pkgs')
-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 794d906..74e43dc 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