tv xmonad: provide xresources to myRootTerm

This commit is contained in:
tv 2015-10-24 22:43:24 +02:00
parent 6bdcab40b4
commit 6b118151f9
2 changed files with 6 additions and 1 deletions

View File

@ -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
''

View File

@ -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") ]