summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2025-10-09 01:47:47 +0200
committertv <tv@krebsco.de>2025-10-09 01:48:27 +0200
commitd7b28125dac83c5f4150a1a07a7307a41c5fa7d7 (patch)
tree0bec67ceb874fb7106e7c94e64e3ad11b4989875
parente724b6d80bcc1934f1a280d3b9c5b8675eeaf412 (diff)
xmonad-tv: drop spawnRootTerm
-rw-r--r--configs/alacritty.nix5
-rw-r--r--pkgs/haskell/xmonad-tv/src/main.hs10
2 files changed, 1 insertions, 14 deletions
diff --git a/configs/alacritty.nix b/configs/alacritty.nix
index 1a8eb92..473592a 100644
--- a/configs/alacritty.nix
+++ b/configs/alacritty.nix
@@ -36,11 +36,6 @@ let
mouse.hide_when_typing = true;
scrolling.multiplier = 8;
};
- configs.root = lib.recursiveUpdate configs.default {
- colors.primary.background = "#230000";
- colors.primary.foreground = "#e0c0c0";
- colors.normal.black = "#800000";
- };
configs.fzmenu = lib.recursiveUpdate configs.default {
colors.primary.background = "#2A172A";
window.dimensions.columns = 70;
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)