stockholm/lass/2configs/urxvt.nix

33 lines
913 B
Nix
Raw Normal View History

2015-07-16 13:51:01 +00:00
{ config, pkgs, ... }:
2017-11-29 14:39:14 +00:00
with import <stockholm/lib>;
2015-07-16 13:51:01 +00:00
{
2017-11-29 14:39:14 +00:00
services.urxvtd.enable = true;
2015-07-16 13:51:01 +00:00
services.xresources.resources.urxvt = ''
2017-11-29 14:39:14 +00:00
URxvt*SaveLines: 4096
URxvt*scrollBar: false
URxvt*urgentOnBell: true
2015-07-16 13:51:01 +00:00
URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select
2017-11-29 14:39:14 +00:00
${optionalString (hasAttr "browser" config.lass)
"URxvt.url-select.launcher: ${config.lass.browser.select}/bin/browser-select"
}
2015-07-16 13:51:01 +00:00
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
2017-11-29 14:39:14 +00:00
URxvt.intensityStyles: false
2015-07-16 13:51:01 +00:00
2017-11-29 14:39:14 +00:00
URxvt*background: #000000
URxvt*foreground: #ffffff
2015-07-16 13:51:01 +00:00
!change unreadable blue
2017-11-29 14:39:14 +00:00
URxvt*color4: #268bd2
URxvt*color0: #232342
2015-07-16 13:51:01 +00:00
'';
}