{ ... }: let inherit (import ./const.nix) fontSize; #fontSize = 10; #font = name: size: "xft:${name}:size=${toString size}:ant"; # why doesn't font size work right? It is always either too large or too # small... what if I just don't set font size? # -> font = name: size: "xft:${name}:ant"; in { programs.urxvt = { enable = true; fonts = [ (font "Fira Code" fontSize) (font "FiraCodeNerdfont" fontSize) "xft:Noto Emoji" ]; #keybindings = { # # why don't any of these work? # "Shift-Control-C" = "eval:selection_to_clipboard"; # "Shift-Control-V" = "eval:paste_clipboard"; # "Shift-Control-+" = "command:\033]710;${font 12}\007\033]711;${font 12}\007"; # "Shift-Control--" = "command:\033]710;${font 8}\007\033]711;${font 8}\007"; #}; iso14755 = true; # unicode chars #transparent = true; #shading = 10; }; }