stockholm/lass/2configs/urxvt.nix

39 lines
1.4 KiB
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;
krebs.xresources.resources.urxvt = ''
2018-06-27 21:50:32 +00:00
URxvt*SaveLines: 1000000
2017-11-29 14:39:14 +00:00
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
URxvt.keysym.M-F1: command:\033]710;${config.lass.fonts.regular}\007\033]711;${config.lass.fonts.bold}\007
URxvt.keysym.M-F2: command:\033]710;xft:Monospace:size=12\007\033]711;xft:Monospace:size=15:bold\007
URxvt.keysym.M-F3: command:\033]710;xft:Monospace:size=18\007\033]711;xft:Monospace:size=20:bold\007
2018-06-27 21:44:02 +00:00
URxvt.keysym.M-F4: command:\033]710;xft:Monospace:size=25\007\033]711;xft:Monospace:size=25:bold\007
URxvt.keysym.M-F5: command:\033]710;xft:Monospace:size=30\007\033]711;xft:Monospace:size=30:bold\007
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
'';
}