From 5cdb4e421a809de51c3ebe8404e50d732721238b Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 26 Sep 2021 21:26:36 +0530 Subject: init --- x/2bwm.nix | 20 ++++++++++++++++++++ x/default.nix | 14 ++++++++++++++ x/rofi.nix | 30 ++++++++++++++++++++++++++++++ x/rxvt.nix | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ x/xft.nix | 16 ++++++++++++++++ 5 files changed, 138 insertions(+) create mode 100644 x/2bwm.nix create mode 100644 x/default.nix create mode 100644 x/rofi.nix create mode 100644 x/rxvt.nix create mode 100644 x/xft.nix (limited to 'x') 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 @@ +{ config +, pkgs +, theme +, ... +}: + +with theme; +{ + xresources.properties = { + "twobwm.border_width" = 8; + "twobwm.outer_border" = 2; + "twobwm.focus_color" = base01; + "twobwm.unfocus_color" = base01; + "twobwm.fixed_color" = base0D; + "twobwm.unkill_color" = base08; + "twobwm.fixed_unkill_color" = base0E; + "twobwm.outer_border_color" = base00; + "twobwm.inverted_colors" = true; + }; +} 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 @@ +{ config +, pkgs +, theme +, ... +}: + +{ + imports = [ + ./2bwm.nix + ./xft.nix + ./rofi.nix + ./rxvt.nix + ]; +} 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 @@ +{ config +, pkgs +, theme +, ... +}: + +with theme; +{ + xresources.properties = { + "rofi.color-enabled" = true; + + "rofi.color-window" = "${base00}, ${base00}, ${base00}, ${base00}, ${base03}"; + "rofi.color-normal" = "${base00}, ${base03}, ${base00}, ${base00}, ${base07}"; + "rofi.color-active" = "${base03}, ${base0E}, ${base00}, ${base0B}, ${base00}"; + "rofi.color-urgent" = "${base00}, ${base03}, ${base00}, ${base00}, ${base03}"; + + "rofi.fake-transparency" = true; + "rofi.font" = "Input 13"; + "rofi.columns" = 1; + "rofi.separator-style" = "none"; + "rofi.hide-scrollbar" = true; + "rofi.location" = 1; + "rofi.yoffset" = 20; + "rofi.xoffset" = 20; + "rofi.padding" = 32; + "rofi.fullscreen" = false; + "rofi.width" = 300; + "rofi.lines" = 6; + }; +} 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 @@ +{ config +, pkgs +, theme +, ... +}: + +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:Nerd Input:size=11:style=Medium"; + "URxvt.italicFont" = "xft:Nerd Input:size=11:style=Medium"; + "URxvt.boldFont" = "xft:Nerd Input:size=11:style=Medium"; + "*font" = "Nerd Input:size=11:style=Regular"; + "*italicFont" = "Nerd Input:size=11:style=Italic"; + "*boldFont" = "Nerd Input: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; + }; +} 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 @@ +{ config +, pkgs +, ... +}: + +{ + xresources.properties = { + "Xft.autohint" = 1; + "Xft.antialias" = 1; + "Xft.lcdfilter" = "lcddefault"; + "Xft.hintstyle" = "hintslight"; + "Xft.hinting" = true; + "Xft.rgba" = "rgb"; + "Xft.dpi" = 110; + }; +} -- cgit v1.2.3