aboutsummaryrefslogtreecommitdiff
path: root/x
diff options
context:
space:
mode:
Diffstat (limited to 'x')
-rw-r--r--x/2bwm.nix20
-rw-r--r--x/default.nix14
-rw-r--r--x/rofi.nix30
-rw-r--r--x/rxvt.nix58
-rw-r--r--x/xft.nix16
5 files changed, 138 insertions, 0 deletions
diff --git a/x/2bwm.nix b/x/2bwm.nix
new file mode 100644
index 0000000..09d1a0c
--- /dev/null
+++ b/x/2bwm.nix
@@ -0,0 +1,20 @@
1{ config
2, pkgs
3, theme
4, ...
5}:
6
7with theme;
8{
9 xresources.properties = {
10 "twobwm.border_width" = 8;
11 "twobwm.outer_border" = 2;
12 "twobwm.focus_color" = base01;
13 "twobwm.unfocus_color" = base01;
14 "twobwm.fixed_color" = base0D;
15 "twobwm.unkill_color" = base08;
16 "twobwm.fixed_unkill_color" = base0E;
17 "twobwm.outer_border_color" = base00;
18 "twobwm.inverted_colors" = true;
19 };
20}
diff --git a/x/default.nix b/x/default.nix
new file mode 100644
index 0000000..cd64f61
--- /dev/null
+++ b/x/default.nix
@@ -0,0 +1,14 @@
1{ config
2, pkgs
3, theme
4, ...
5}:
6
7{
8 imports = [
9 ./2bwm.nix
10 ./xft.nix
11 ./rofi.nix
12 ./rxvt.nix
13 ];
14}
diff --git a/x/rofi.nix b/x/rofi.nix
new file mode 100644
index 0000000..ff80b05
--- /dev/null
+++ b/x/rofi.nix
@@ -0,0 +1,30 @@
1{ config
2, pkgs
3, theme
4, ...
5}:
6
7with theme;
8{
9 xresources.properties = {
10 "rofi.color-enabled" = true;
11
12 "rofi.color-window" = "${base00}, ${base00}, ${base00}, ${base00}, ${base03}";
13 "rofi.color-normal" = "${base00}, ${base03}, ${base00}, ${base00}, ${base07}";
14 "rofi.color-active" = "${base03}, ${base0E}, ${base00}, ${base0B}, ${base00}";
15 "rofi.color-urgent" = "${base00}, ${base03}, ${base00}, ${base00}, ${base03}";
16
17 "rofi.fake-transparency" = true;
18 "rofi.font" = "Input 13";
19 "rofi.columns" = 1;
20 "rofi.separator-style" = "none";
21 "rofi.hide-scrollbar" = true;
22 "rofi.location" = 1;
23 "rofi.yoffset" = 20;
24 "rofi.xoffset" = 20;
25 "rofi.padding" = 32;
26 "rofi.fullscreen" = false;
27 "rofi.width" = 300;
28 "rofi.lines" = 6;
29 };
30}
diff --git a/x/rxvt.nix b/x/rxvt.nix
new file mode 100644
index 0000000..3498bd0
--- /dev/null
+++ b/x/rxvt.nix
@@ -0,0 +1,58 @@
1{ config
2, pkgs
3, theme
4, ...
5}:
6
7with theme;
8{
9 xresources.properties = {
10 "*foreground" = base05;
11 "*background" = base00;
12 "*cursorColor" = base05;
13
14 "*color0" = base00;
15 "*color1" = base08;
16 "*color2" = base0B;
17 "*color3" = base0A;
18 "*color4" = base0D;
19 "*color5" = base0E;
20 "*color6" = base0C;
21 "*color7" = base05;
22
23 "*color8" = base03;
24 "*color9" = base09;
25 "*color10" = base01;
26 "*color11" = base02;
27 "*color12" = base04;
28 "*color13" = base06;
29 "*color14" = base0F;
30 "*color15" = base07;
31
32 "*.cursorBlink" = "on";
33 "URxvt.font" = "xft:Nerd Input:size=11:style=Medium";
34 "URxvt.italicFont" = "xft:Nerd Input:size=11:style=Medium";
35 "URxvt.boldFont" = "xft:Nerd Input:size=11:style=Medium";
36 "*font" = "Nerd Input:size=11:style=Regular";
37 "*italicFont" = "Nerd Input:size=11:style=Italic";
38 "*boldFont" = "Nerd Input:size=11:style=Bold";
39
40 "URxvt.lineSpace" = 0;
41 "URxvt.letterSpace" = 0;
42 "URxvt.scrollBar" = false;
43 "URxvt.internalBorder" = 25;
44 "URxvt.cursorUnderline" = false;
45 "URxvt.geometry" = "70x35";
46 "URxvt.thickness" = 5;
47 "URxvt.titleBar" = false;
48 "URxvt.intensityStyles" = false;
49
50
51 "*.perl-ext-common" = "default,matcher,font-size";
52 "URxvt.keysym.C-Up" = "perl:font-size:increase";
53 "URxvt.keysym.C-Down" = "perl:font-size:decrease";
54 "URxvt.keysym.C-equal" = "perl:font-size:reset";
55 "*.url-launcher" = "firefox";
56 "*.matcher.button" = 1;
57 };
58}
diff --git a/x/xft.nix b/x/xft.nix
new file mode 100644
index 0000000..74ea87d
--- /dev/null
+++ b/x/xft.nix
@@ -0,0 +1,16 @@
1{ config
2, pkgs
3, ...
4}:
5
6{
7 xresources.properties = {
8 "Xft.autohint" = 1;
9 "Xft.antialias" = 1;
10 "Xft.lcdfilter" = "lcddefault";
11 "Xft.hintstyle" = "hintslight";
12 "Xft.hinting" = true;
13 "Xft.rgba" = "rgb";
14 "Xft.dpi" = 110;
15 };
16}