2015-04-12 18:16:20 +00:00
|
|
|
{ config, pkgs, ... }:
|
2015-04-09 23:37:29 +00:00
|
|
|
|
2015-04-12 18:16:20 +00:00
|
|
|
let
|
2015-05-01 12:27:36 +00:00
|
|
|
inherit (config.users.extraUsers) mainUser;
|
2015-04-12 18:16:20 +00:00
|
|
|
|
2015-05-01 12:27:36 +00:00
|
|
|
in
|
|
|
|
|
|
|
|
{
|
2015-04-09 23:37:29 +00:00
|
|
|
imports = [
|
|
|
|
./urxvtd.nix
|
2015-05-01 12:27:36 +00:00
|
|
|
./xresources.nix
|
2015-04-09 23:37:29 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
services.urxvtd = {
|
|
|
|
enable = true;
|
2015-04-12 18:16:20 +00:00
|
|
|
users = [ mainUser.name ];
|
2015-04-09 23:37:29 +00:00
|
|
|
urxvtPackage = pkgs.rxvt_unicode_with-plugins;
|
|
|
|
};
|
2015-05-01 12:27:36 +00:00
|
|
|
services.xresources.enable = true;
|
|
|
|
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
|
|
|
|
|
2015-05-25 11:46:02 +00:00
|
|
|
URxvt*background: #000000
|
|
|
|
URxvt*foreground: #ffffff
|
|
|
|
|
|
|
|
!change unreadable blue
|
2015-05-01 12:27:36 +00:00
|
|
|
URxvt*color4: #268bd2
|
|
|
|
'';
|
2015-04-09 23:37:29 +00:00
|
|
|
}
|