summaryrefslogtreecommitdiffstats
path: root/lass/2configs/urxvt.nix
blob: ee50b3381e4bed07ae38da8ebd9148ade5af8fac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ config, pkgs, ... }:
with import <stockholm/lib>;

{
  services.urxvtd.enable = true;

  services.xresources.resources.urxvt = ''
    URxvt*SaveLines: 4096
    URxvt*scrollBar:            false
    URxvt*urgentOnBell:         true
    URxvt.perl-ext-common:      default,clipboard,url-select,keyboard-select

    ${optionalString (hasAttr "browser" config.lass)
      "URxvt.url-select.launcher:  ${config.lass.browser.select}/bin/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

    URxvt*background:           #000000
    URxvt*foreground:           #ffffff

    !change unreadable blue
    URxvt*color4:               #268bd2

    URxvt*color0:               #232342
  '';
}