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 | cd62dead8d077e29a078ee23eea8894f9d0ef784 (patch) | |
tree | b0394e1028e9f9a430abdb162c6e6ab58237516e /tv/5pkgs | |
parent | ae6a21d46a9f574ca98f60dc2c6576d0de12db1d (diff) |
xmonad-tv: startupHook = $XMONAD_STARTUP_HOOK &
Diffstat (limited to 'tv/5pkgs')
-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 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 |