From 6b118151f9a60e07abf2272172e9add0b0add14d Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 24 Oct 2015 22:43:24 +0200 Subject: tv xmonad: provide xresources to myRootTerm --- tv/2configs/xserver/Xresources.nix | 5 +++++ tv/2configs/xserver/xmonad/Main.hs | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'tv') diff --git a/tv/2configs/xserver/Xresources.nix b/tv/2configs/xserver/Xresources.nix index f8414b86..3936a26f 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 a298d72e..cca2902a 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") ] -- cgit v1.2.3