90 lines
3.2 KiB
Nix
Raw Normal View History

2020-08-15 19:36:16 +04:00
{ config, lib, pkgs, ... }:
with config.lib.base16.theme;
2021-06-16 05:30:04 +03:00
with config.deviceSpecific;
2021-02-07 02:38:11 +03:00
let
thm = config.lib.base16.theme;
in
2020-08-15 19:36:16 +04:00
{
2021-06-16 05:30:04 +03:00
defaultApplications.term = lib.mkIf (isISO || isVM) {
cmd = "${pkgs.rxvt-unicode}/bin/urxvt";
desktop = "urxvt";
};
2021-09-15 23:17:00 +03:00
home-manager.users.alukard = lib.mkIf (isISO || isVM) {
2020-08-15 19:36:16 +04:00
programs.urxvt = {
2021-09-15 23:17:00 +03:00
enable = true;
2020-08-15 19:36:16 +04:00
extraConfig = {
2021-09-16 01:03:52 +03:00
"font" = "xft:${thm.fonts.powerline.family}:style=Regular:size=${thm.fontSizes.small.str}";
"boldFont" = "xft:${thm.fonts.powerline.family}:style=Bold:size=${thm.fontSizes.small.str}";
"italicFont" = "xft:${thm.fonts.powerline.family}:style=Italic:size=${thm.fontSizes.small.str}";
"boldItalicfont" = "xft:${thm.fonts.powerline.family}:style=Bold Italic:size=${thm.fontSizes.small.str}";
2020-08-15 19:36:16 +04:00
"letterSpace" = "0";
"lineSpace" = "0";
"geometry" = "92x24";
"internalBorder" = "24";
"cursorBlink" = "true";
"cursorUnderline" = "false";
"saveline" = "2048";
"scrollBar" = "false";
"scrollBar_right" = "false";
"urgentOnBell" = "true";
"depth" = "24";
"iso14755" = "false";
"keysym.Shift-Up" = "command:\\033]720;1\\007";
"keysym.Shift-Down" = "command:\\033]721;1\\007";
"keysym.Control-Up" = "\\033[1;5A";
"keysym.Control-Down" = "\\033[1;5B";
"keysym.Control-Right" = "\\033[1;5C";
"keysym.Control-Left" = "\\033[1;5D";
2021-02-07 02:38:11 +03:00
"foreground" = "#${thm.base05-hex}";
"background" = "#${thm.base00-hex}";
"cursorColor" = "#${thm.base05-hex}";
"color0" = "#${thm.base00-hex}";
"color1" = "#${thm.base08-hex}";
"color2" = "#${thm.base0B-hex}";
"color3" = "#${thm.base0A-hex}";
"color4" = "#${thm.base0D-hex}";
"color5" = "#${thm.base0E-hex}";
"color6" = "#${thm.base0C-hex}";
"color7" = "#${thm.base05-hex}";
"color8" = "#${thm.base03-hex}";
"color9" = "#${thm.base08-hex}";
"color10" = "#${thm.base0B-hex}";
"color11" = "#${thm.base0A-hex}";
"color12" = "#${thm.base0D-hex}";
"color13" = "#${thm.base0E-hex}";
"color14" = "#${thm.base0C-hex}";
"color15" = "#${thm.base07-hex}";
"color16" = "#${thm.base09-hex}";
"color17" = "#${thm.base0F-hex}";
"color18" = "#${thm.base01-hex}";
"color19" = "#${thm.base02-hex}";
"color20" = "#${thm.base04-hex}";
"color21" = "#${thm.base06-hex}";
2020-08-15 19:36:16 +04:00
};
};
2021-09-15 23:17:00 +03:00
xresources.properties = with config.lib.base16.theme; {
"*foreground" = "#${base05-hex}";
"*background" = "#${base00-hex}";
"*cursorColor" = "#${base05-hex}";
"*color0" = "#${base00-hex}";
"*color1" = "#${base08-hex}";
"*color2" = "#${base0B-hex}";
"*color3" = "#${base0A-hex}";
"*color4" = "#${base0D-hex}";
"*color5" = "#${base0E-hex}";
"*color6" = "#${base0C-hex}";
"*color7" = "#${base05-hex}";
"*color8" = "#${base03-hex}";
"*color9" = "#${base09-hex}";
"*color10" = "#${base01-hex}";
"*color11" = "#${base02-hex}";
"*color12" = "#${base04-hex}";
"*color13" = "#${base06-hex}";
"*color14" = "#${base0F-hex}";
"*color15" = "#${base07-hex}";
};
2020-08-15 19:36:16 +04:00
};
}