aboutsummaryrefslogtreecommitdiff
path: root/x/rxvt.nix
blob: b5401abdc35386f5aad98c9f6fbf87d69504985b (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{ config
, pkgs
, theme
, font
, ...
}:

with theme;
{
  xresources.properties = {
    "*foreground" = base05;
    "*background" = base00;
    "*cursorColor" = base05;

    "*color0" = base00;
    "*color1" = base08;
    "*color2" = base0B;
    "*color3" = base0A;
    "*color4" = base0D;
    "*color5" = base0E;
    "*color6" = base0C;
    "*color7" = base05;

    "*color8" = base03;
    "*color9" = base09;
    "*color10" = base01;
    "*color11" = base02;
    "*color12" = base04;
    "*color13" = base06;
    "*color14" = base0F;
    "*color15" = base07;

    "*.cursorBlink" = "on";
    "URxvt.font" = "xft:${font.name}:size=11:style=Medium";
    "URxvt.italicFont" = "xft:${font.name}:size=11:style=Medium";
    "URxvt.boldFont" = "xft:${font.name}:size=11:style=Medium";
    "*font" = "${font.name}:size=11:style=Regular";
    "*italicFont" = "${font.name}:size=11:style=Italic";
    "*boldFont" = "${font.name}:size=11:style=Bold";

    "URxvt.lineSpace" = 0;
    "URxvt.letterSpace" = 0;
    "URxvt.scrollBar" = false;
    "URxvt.internalBorder" = 25;
    "URxvt.cursorUnderline" = false;
    "URxvt.geometry" = "70x35";
    "URxvt.thickness" = 5;
    "URxvt.titleBar" = false;
    "URxvt.intensityStyles" = false;


    "*.perl-ext-common" = "default,matcher,font-size";
    "URxvt.keysym.C-Up" = "perl:font-size:increase";
    "URxvt.keysym.C-Down" = "perl:font-size:decrease";
    "URxvt.keysym.C-equal" = "perl:font-size:reset";
    "*.url-launcher" = "firefox";
    "*.matcher.button" = 1;

  } // theme;
}