]> Git — Sourcephile - julm/julm-nix.git/blob - home-manager/profiles/urxvt.nix
firefox: tweak package config
[julm/julm-nix.git] / home-manager / profiles / urxvt.nix
1 { pkgs, ... }:
2 {
3 home.packages = [
4 pkgs.rxvt-unicode
5 (pkgs.nerdfonts.override {
6 fonts = [
7 #"DejaVuSansMono"
8 "NerdFontsSymbolsOnly"
9 ];
10 })
11 ];
12 systemd.user.services.urxvt = {
13 Unit = {
14 Description = "RXVT-Unicode daemon";
15 After = [ "graphical-session-pre.target" ];
16 PartOf = [ "graphical-session.target" ];
17 };
18 Service = {
19 ExecStart = "${pkgs.rxvt-unicode}/bin/urxvtd -q -o";
20 Restart = "always";
21 };
22 Install = { WantedBy = [ "graphical-session.target" ]; };
23 };
24 xresources.properties = {
25 "URxvt*background" = "black";
26 "URxvt*buffered" = "true";
27 "URxvt*cursorBlink" = "on";
28 "URxvt*cursorColor" = "#00B10B";
29 "URxvt*cursorColor2" = "black";
30 "URxvt*cutchars" = ''"()*,;<>[]{}|│`\"'#:、。"'';
31 "URxvt*depth" = "33";
32 "URxvt*fading" = "0";
33 "URxvt*font" = "xft:DejaVu Sans Mono:size=6,xft:,xft:SymbolsNerdFont-Regular:size=6";
34 "URxvt*font-size.step" = "1";
35 "URxvt*foreground" = "white";
36 "URxvt*geometry" = "61x20";
37 "URxvt*highlightColor" = "red";
38 "URxvt*insecure" = "True";
39 "URxvt*internalBorder" = "2";
40 "URxvt*iso14755_52" = "False";
41 "URxvt*jumpScroll" = "on";
42 "URxvt*keysym.C-Down" = "perl:font-size:decrease";
43 "URxvt*keysym.C-ISO_Left_Tab" = "\\033[27;6;9~";
44 "URxvt*keysym.C-S-Down" = "perl:font-size:decglobal";
45 "URxvt*keysym.C-S-Up" = "perl:font-size:incglobal";
46 "URxvt*keysym.C-Tab" = "\\033[27;5;9~";
47 "URxvt*keysym.C-Up" = "perl:font-size:increase";
48 "URxvt*keysym.KP_End" = "\\033[4~";
49 "URxvt*keysym.KP_Enter" = "\\n";
50 "URxvt*keysym.KP_Home" = "\\033[1~";
51 "URxvt*keysym.M-u" = "perl:url-select:select_next";
52 "URxvt*letterSpace" = "0";
53 "URxvt*lineSpace" = "0";
54 "URxvt*meta8" = "False";
55 "URxvt*perl-ext" = "default";
56 "URxvt*perl-ext-common" = "default,font-size,url-select";
57 "URxvt*pointerColor" = "green";
58 "URxvt*pointerColor2" = "black";
59 "URxvt*reverseVideo" = "false";
60 "URxvt*saveLines" = "0";
61 "URxvt*scrollBar_floating" = "on";
62 "URxvt*scrollBar_right" = "on";
63 "URxvt*scrollColor" = "grey20";
64 "URxvt*scrollTtyKeypress" = "on";
65 "URxvt*scrollTtyOutput" = "off";
66 "URxvt*scrollWithBuffer" = "on";
67 "URxvt*scrollbar*foreground" = "blue";
68 "URxvt*scrollstyle" = "plain";
69 "URxvt*termName" = "xterm-256color";
70 "URxvt*troughColor" = "blue";
71 "URxvt*urgentOnBell" = "true";
72 "URxvt*url-select.launcher" = "xdg-open";
73 "URxvt*url-select.underline" = "true";
74 "URxvt*visualBell" = "off";
75 /*
76 !URxvt.urlLauncher: elinks
77 !URxvt*font: xft:DejaVu Sans Mono:pixelsize=9:antialias=true
78 !URxvt*font: xft:DejaVu Sans Mono:size=6.38:weight=medium:antialias=true:hintstyle=100:autohint=0,xft:unifont,xft:freemono:pixelsize=13,xft:Code2000:antialias=false
79 !URxvt*font: xft:DejaVu Sans Mono:pixelsize=24
80 !URxvt*font: xft:Inconsolata:pixelsize=10
81 !URxvt*font: xft:Fira Code:pixelsize=10
82 !URxvt*scrollWithBuffer: true
83 !: hinting=true:slant=0:weight=50
84 !URxvt*boldFont: xft:DejaVu Sans Mono:bold:pixelsize=9:antialias=true:hinting=true
85 !urxvt*boldColors: on
86 ! Allow switching of font sizes
87 !URxvt.keysym.C-M-minus: command:\033]710;xft:Terminus-8:slant=0:weight=80,xft:DejaVu\ Sans\ Mono-9:slant=0:weight=80,xft:Inconsolata-10,x:-schumacher-clean-medium-r-normal-*-12-*-*-*-c-*-iso10646-1,x:-misc-fixed-medium-r-semicondensed-*-13-*-*-*-c-*-iso10646-1,x:-b&h-lucidatypewriter-medium-r-normal-*-12-*-*-*-m-*-iso10646-1\007\033]711;xft:Terminus-8:slant=0:weight=200,xft:DejaVu\ Sans\ Mono-9:slant=0:weight=200,x:-misc-fixed-bold-r-semicondensed-*-13-*-*-*-c-*-iso10646-1,x:-b&h-lucidatypewriter-bold-r-normal-*-12-*-*-*-m-*-iso10646-1\007\033]712;xft:Terminus-8:slant=110:weight=80,xft:DejaVu Sans Mono-8:slant=110:weight=80\007\033]713;xft:Terminus-8:slant=110:weight=200,xft:DejaVu Sans Mono-8:slant=110:weight=200\007
88 !URxvt.keysym.C-M-equal: command:\033]710;xft:Terminus-14:slant=0:weight=80,xft:DejaVu\ Sans\ Mono-14:slant=0:weight=80,xft:Inconsolata-16,x:-gnu-unifont-medium-r-normal-*-17-*-*-*-c-*-iso10646-1,x:-b&h-lucidatypewriter-medium-r-normal-*-17-*-*-*-m-*-iso10646-1\007\033]711;xft:Terminus-14:slant=0:weight=200,xft:DejaVu\ Sans\ Mono-14:slant=0:weight=200,x:-misc-fixed-medium-r-normal-*-20-*-*-*-c-*-iso10646-1,x:-b&h-lucidatypewriter-*-r-normal-*-17-*-*-*-m-*-iso10646-1\007\033]712;xft:Terminus-14:slant=110:weight=80,xft:DejaVu Sans Mono-14:slant=110:weigth=80\007\033]713;xft:Terminus-14:slant=110:weight=200,xft:DejaVu Sans Mono-14:slant=110:weight=200\007
89 !URxvt.iso14755: False
90 !URxvt.perl-ext-common: default,matcher
91 */
92 };
93 }