summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-05-01 14:27:36 +0200
committertv <tv@shackspace.de>2015-05-19 23:17:19 +0200
commit706719acb69a861d5b9ae0c4a6730efabbc8b0c6 (patch)
treefc9c95d4c6da189d205c72cd463f60ad08f0889b /modules
parentff1e13cf399c751fb6965f4c0032b5d2ec32f978 (diff)
load urxvt xresources via xresources.nix
Diffstat (limited to 'modules')
-rw-r--r--modules/lass/urxvt.nix91
1 files changed, 48 insertions, 43 deletions
diff --git a/modules/lass/urxvt.nix b/modules/lass/urxvt.nix
index b633ce98..8eba7689 100644
--- a/modules/lass/urxvt.nix
+++ b/modules/lass/urxvt.nix
@@ -1,57 +1,62 @@
{ config, pkgs, ... }:
let
- mainUser = config.users.extraUsers.mainUser;
+ inherit (config.users.extraUsers) mainUser;
-in {
+in
+
+{
imports = [
./urxvtd.nix
+ ./xresources.nix
];
services.urxvtd = {
enable = true;
users = [ mainUser.name ];
urxvtPackage = pkgs.rxvt_unicode_with-plugins;
- xresources = ''
- URxvt*scrollBar: false
- URxvt*urgentOnBell: true
- URxvt*font: -*-clean-*-*-*-*-*-*-*-*-*-*-iso10646-*
- URxvt*boldFont: -*-clean-*-*-*-*-*-*-*-*-*-*-iso10646-*
- URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select
- URxvt.url-select.launcher: browser-select
- URxvt.url-select.underline: true
- URxvt.keysym.M-u: perl:url-select:select_next
- URxvt.keysym.M-Escape: perl:keyboard-select:activate
- URxvt.keysym.M-s: perl:keyboard-select:search
-
- URxvt.intensityStyles: false
-
- !solarized colors
- URxvt*fading: 5
- URxvt*background: #002b36
- URxvt*foreground: #657b83
- URxvt*fadeColor: #002b36
- URxvt*cursorColor: #93a1a1
- URxvt*pointerColorBackground: #586e75
- URxvt*pointerColorForeground: #93a1a1
- URxvt*colorUL: #859900
- URxvt*colorBD: #268bd2
- URxvt*color0: #073642
- URxvt*color8: #002b36
- URxvt*color1: #dc322f
- URxvt*color9: #cb4b16
- URxvt*color2: #859900
- URxvt*color10: #586e75
- URxvt*color3: #b58900
- URxvt*color11: #657b83
- URxvt*color4: #268bd2
- URxvt*color12: #839496
- URxvt*color5: #d33682
- URxvt*color13: #6c71c4
- URxvt*color6: #2aa198
- URxvt*color14: #93a1a1
- URxvt*color7: #eee8d5
- URxvt*color15: #fdf6e3
- '';
};
+ services.xresources.enable = true;
+ services.xresources.user = mainUser.name;
+ services.xresources.resources.urxvt = ''
+ URxvt*scrollBar: false
+ URxvt*urgentOnBell: true
+ URxvt*font: -*-clean-*-*-*-*-*-*-*-*-*-*-iso10646-*
+ URxvt*boldFont: -*-clean-*-*-*-*-*-*-*-*-*-*-iso10646-*
+ URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select
+ URxvt.url-select.launcher: browser-select
+ URxvt.url-select.underline: true
+ URxvt.keysym.M-u: perl:url-select:select_next
+ URxvt.keysym.M-Escape: perl:keyboard-select:activate
+ URxvt.keysym.M-s: perl:keyboard-select:search
+
+ URxvt.intensityStyles: false
+
+ !solarized colors
+ URxvt*fading: 5
+ URxvt*background: #002b36
+ URxvt*foreground: #657b83
+ URxvt*fadeColor: #002b36
+ URxvt*cursorColor: #93a1a1
+ URxvt*pointerColorBackground: #586e75
+ URxvt*pointerColorForeground: #93a1a1
+ URxvt*colorUL: #859900
+ URxvt*colorBD: #268bd2
+ URxvt*color0: #073642
+ URxvt*color8: #002b36
+ URxvt*color1: #dc322f
+ URxvt*color9: #cb4b16
+ URxvt*color2: #859900
+ URxvt*color10: #586e75
+ URxvt*color3: #b58900
+ URxvt*color11: #657b83
+ URxvt*color4: #268bd2
+ URxvt*color12: #839496
+ URxvt*color5: #d33682
+ URxvt*color13: #6c71c4
+ URxvt*color6: #2aa198
+ URxvt*color14: #93a1a1
+ URxvt*color7: #eee8d5
+ URxvt*color15: #fdf6e3
+ '';
}