From: Samir Benmendil Date: Mon, 26 Feb 2018 10:43:59 +0000 (+0000) Subject: urxvt: add font-size plugin X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/9d52e2dd9e3770d9188458c7a9b93ae0d40011d2 urxvt: add font-size plugin --- diff --git a/.gitmodules b/.gitmodules index ab22f2a..7d6e601 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/Xresources b/Xresources index 973a7c1..4f311f6 100644 --- a/Xresources +++ b/Xresources @@ -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 index 0000000..0984499 --- /dev/null +++ b/urxvt/font-size @@ -0,0 +1 @@ +Subproject commit 0984499379e420de651dcfeedfbb7938867c44f8 diff --git a/xprofile b/xprofile index c765ed9..9ab7d3c 100644 --- 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 &