diff options
| author | tv <tv@krebsco.de> | 2025-10-09 01:47:47 +0200 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2025-10-09 01:48:27 +0200 |
| commit | d7b28125dac83c5f4150a1a07a7307a41c5fa7d7 (patch) | |
| tree | 0bec67ceb874fb7106e7c94e64e3ad11b4989875 /pkgs/haskell/xmonad-tv/src/main.hs | |
| parent | e724b6d80bcc1934f1a280d3b9c5b8675eeaf412 (diff) | |
xmonad-tv: drop spawnRootTerm
Diffstat (limited to 'pkgs/haskell/xmonad-tv/src/main.hs')
| -rw-r--r-- | pkgs/haskell/xmonad-tv/src/main.hs | 10 |
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) |
