From f645808a1449a40d71e3cadd0b5b5bac164d5a7f Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 2 Sep 2022 10:07:50 -0400 Subject: lots of updates, idk --- lib/common.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'lib/common.nix') diff --git a/lib/common.nix b/lib/common.nix index 3f15754..cdbbf6e 100644 --- a/lib/common.nix +++ b/lib/common.nix @@ -224,12 +224,19 @@ in ]; }; - urxvt = { + urxvt = let font = size: "xft:Fira Mono:size=${toString size}:ant"; in { enable = true; fonts = [ - "xft:Fira Mono:size=8:ant" - "xfg:Noto Emoji" + (font 6) + "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; -- cgit v1.2.3