]> git.rmz.io Git - dotfiles.git/commitdiff
urxvt: add font-size plugin
authorSamir Benmendil <samir.benmendil@ultrahaptics.com>
Mon, 26 Feb 2018 10:43:59 +0000 (10:43 +0000)
committerSamir Benmendil <me@rmz.io>
Mon, 26 Feb 2018 10:49:39 +0000 (10:49 +0000)
.gitmodules
Xresources
urxvt/font-size [new submodule]
xprofile

index ab22f2ab05637c2281d752c78e95372c547e80ba..7d6e601002eab05ce5532fe8eaf8205e3a7a5f8f 100644 (file)
@@ -25,3 +25,6 @@
 [submodule "awesome/widgets/pomodoro"]
        path = awesome/widgets/pomodoro
        url = git@github.com:ram-z/awesome-pomodoro
+[submodule "urxvt/font-size"]
+       path = urxvt/font-size
+       url = https://github.com/majutsushi/urxvt-font-size
index 973a7c1cbe0202e6792bf2932ecc5eca8d88fbca..4f311f6114d09780f5a5dfdff6acc812c23dd631 100644 (file)
@@ -21,7 +21,7 @@ URxvt.iso14755:     false
 URxvt.iso14755_52:  false
 
 ! {{{1 Perl extensions
-URxvt.perl-ext-common:  default,url-select,keyboard-select,autocomplete-ALL-the-things
+URxvt.perl-ext-common:  default,url-select,keyboard-select,autocomplete-ALL-the-things,font-size
 ! {{{2 url-select
 URxvt.keysym.C-F:           perl:url-select:select_next
 URxvt.url-select.button:    1
@@ -37,6 +37,10 @@ URxvt.keysym.C-M-v: eval:paste_primary
 ! {{{2 autocomplete-ALL-the-things
 URxvt.keysym.C-S-ISO_Left_Tab: perl:aAtt:fuzzy-WORD-complete
 URxvt.keysym.C-S-BackSpace:    perl:aAtt:undo
+! {{{2 font-size
+URxvt.keysym.C-Up:    font-size:increase
+URxvt.keysym.C-Down:  font-size:decrease
+URxvt.font-size.step: 2
 
 ! {{{1 Colours
 *.background:  #000000
diff --git a/urxvt/font-size b/urxvt/font-size
new file mode 160000 (submodule)
index 0000000..0984499
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 0984499379e420de651dcfeedfbb7938867c44f8
index c765ed90c00cad977bb28820c8b0e933cf32730d..9ab7d3ceea3c966e4988c7ee3b6d6d170d7d2cfc 100644 (file)
--- a/xprofile
+++ b/xprofile
@@ -1,6 +1,10 @@
 #!/usr/bin/env bash
 
-export URXVT_PERL_LIB="$HOME/src/dotfiles/urxvt/perls:$HOME/src/dotfiles/urxvt/autocomplete-ALL-the-things"
+URXVT_PERL_LIB=$URXVT_PERL_LIB:$HOME/src/dotfiles/urxvt/perls
+URXVT_PERL_LIB=$URXVT_PERL_LIB:$HOME/src/dotfiles/urxvt/autocomplete-ALL-the-things
+URXVT_PERL_LIB=$URXVT_PERL_LIB:$HOME/src/dotfiles/urxvt/font-size
+export URXVT_PERL_LIB
+
 urxvtd -q -o &
 start-pulseaudio-x11
 compton --config ~/.config/compton.conf &