summaryrefslogtreecommitdiffstats
path: root/pkgs/haskell/xmonad-tv
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/haskell/xmonad-tv')
-rw-r--r--pkgs/haskell/xmonad-tv/src/main.hs10
1 files changed, 1 insertions, 9 deletions
diff --git a/pkgs/haskell/xmonad-tv/src/main.hs b/pkgs/haskell/xmonad-tv/src/main.hs
index 1bbf4cf..889038b 100644
--- a/pkgs/haskell/xmonad-tv/src/main.hs
+++ b/pkgs/haskell/xmonad-tv/src/main.hs
@@ -140,14 +140,6 @@ forkFile path args env = void . xfork $ do
executeFile path True args (env <> Just environment)
-spawnRootTerm :: X ()
-spawnRootTerm =
- forkFile
- {-pkg:alacritty-tv-}"alacritty"
- ["--profile=root", "-e", "/run/wrappers/bin/su", "-"]
- Nothing
-
-
myKeys :: XConfig Layout -> Map (KeyMask, KeySym) (X ())
myKeys conf = Map.fromList $
[ ((_4 , xK_Escape ), forkFile {-pkg-}"slock" [] Nothing)
@@ -159,7 +151,7 @@ myKeys conf = Map.fromList $
, ((_4C , xK_p ), forkFile {-pkg:fzmenu-}"passmenu" ["--phase2-method=copy"] Nothing)
, ((_4 , xK_x ), forkFile {-pkg:alacritty-tv-}"alacritty" ["--dtach", "--singleton"] Nothing)
- , ((_4C , xK_x ), spawnRootTerm)
+ , ((_4C , xK_x ), forkFile {-pkg:alacritty-tv-}"alacritty" ["--profile=root", "-e", "/run/wrappers/bin/su", "-"] Nothing)
, ((_C , xK_Menu ), toggleWS)