summaryrefslogtreecommitdiffstats
path: root/tv/2configs
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-10-24 22:43:24 +0200
committertv <tv@shackspace.de>2015-10-24 22:43:24 +0200
commit6b118151f9a60e07abf2272172e9add0b0add14d (patch)
tree73289f3c7f2224eb6c39789f001dc85d208f19e9 /tv/2configs
parent6bdcab40b4e51f113ae30903152adcf778f33e53 (diff)
tv xmonad: provide xresources to myRootTerm
Diffstat (limited to 'tv/2configs')
-rw-r--r--tv/2configs/xserver/Xresources.nix5
-rw-r--r--tv/2configs/xserver/xmonad/Main.hs2
2 files changed, 6 insertions, 1 deletions
diff --git a/tv/2configs/xserver/Xresources.nix b/tv/2configs/xserver/Xresources.nix
index f8414b861..3936a26f7 100644
--- a/tv/2configs/xserver/Xresources.nix
+++ b/tv/2configs/xserver/Xresources.nix
@@ -211,4 +211,9 @@ pkgs.writeText "Xresources" ''
URxvt*url-select.underline: true
URxvt*colorUL: #4682B4
URxvt.perl-lib: ${pkgs.urxvt_perls}/lib/urxvt/perl
+
+ root-urxvt*background: #230000
+ root-urxvt*foreground: #e0c0c0
+ root-urxvt*BorderColor: #400000
+ root-urxvt*color0: #800000
''
diff --git a/tv/2configs/xserver/xmonad/Main.hs b/tv/2configs/xserver/xmonad/Main.hs
index a298d72e7..cca2902a0 100644
--- a/tv/2configs/xserver/xmonad/Main.hs
+++ b/tv/2configs/xserver/xmonad/Main.hs
@@ -38,7 +38,7 @@ myTerm :: String
myTerm = "urxvtc"
myRootTerm :: String
-myRootTerm = "XENVIRONMENT=\"$HOME/.Xdefaults/root-urxvt\" urxvtc -e su -"
+myRootTerm = "urxvtc -name root-urxvt -e su -"
-- TODO execRootTerm = exec (shlex "urxvtc -e su -")
-- [ ("XENVIRONMENT", HOME ++ "/.Xdefaults/root-urxvt") ]