From 1e7a19c2cfd1a3a8cb6843e44a2006b7747dfd7a Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 9 Jan 2017 00:45:31 -0500 Subject: [PATCH] os/arch (sxhkd, bspwm, Xresources): termite => urxvt; urxvt scratchpad + bspwm floating rule --- os/arch/.Xresources | 36 +++++++++++++++++------------------ os/arch/.config/bspwm/bspwmrc | 2 +- os/arch/.config/sxhkd/sxhkdrc | 8 ++++---- 3 files changed, 22 insertions(+), 24 deletions(-) diff --git a/os/arch/.Xresources b/os/arch/.Xresources index e41e65dc..52ed0bb8 100644 --- a/os/arch/.Xresources +++ b/os/arch/.Xresources @@ -11,25 +11,23 @@ Xcursor.theme: default Xcursor.size: 32 ! urxvt -urxvt.background: #22252c -!urxvt.background: [95]#22252c -urxvt.buffered: true -urxvt.cursorBlink: true -urxvt.underlineColor: yellow -urxvt.font: xft:Fira Mono Medium:size=9 -urxvt.depth: 32 -urxvt.borderless: 1 -urxvt.internalBorder: 6 -urxvt.scrollBar: false -urxvt.secondaryScroll: true -urxvt.saveLines: 5000 -urxvt.termName: xterm-256color -urxvt.letterSpace: -2 -urxvt.loginShell: false -urxvt.perl-ext-common: default,matcher -urxvt.matcher.button: 2 -urxvt.matcher.pattern.1: \\bwww\\.[\\w-]\\.[\\w./?&@#-]*[\\w/-] -urxvt.urlLauncher: chromium +URxvt*.buffered: true +URxvt*.cursorBlink: true +URxvt*.underlineColor: yellow +URxvt*.depth: 32 +URxvt*.borderless: 1 +URxvt*.internalBorder: 6 +URxvt*.scrollBar: false +URxvt*.secondaryScroll: true +URxvt*.saveLines: 5000 +URxvt*.letterSpace: -2 +URxvt*.loginShell: false +URxvt*.perl-ext-common: default,matcher +URxvt*.matcher.button: 1 +URxvt*.url-launcher: chromium +URxvt*.matcher.rend.0: Uline Bold fg5 +URxvt*.font: xft:Fira Mono Medium:size=9 +urxvt-scratch.font: xft:Fira Mono Medium:size=10 ! rofi rofi.background: #22252c diff --git a/os/arch/.config/bspwm/bspwmrc b/os/arch/.config/bspwm/bspwmrc index b2d148e3..75a5b44d 100755 --- a/os/arch/.config/bspwm/bspwmrc +++ b/os/arch/.config/bspwm/bspwmrc @@ -68,7 +68,7 @@ esac # bspc rule -r '*' -bspc rule -a scratchpad state=floating sticky=on center=on monitor=C +bspc rule -a URxvt:urxvt-scratch state=floating sticky=on center=on monitor=C bspc rule -a Emacs split_ratio=0.25 border=off state=fullscreen bspc rule -a Emacs:org-capture border=off state=floating bspc rule -a Gimp desktop=^6 diff --git a/os/arch/.config/sxhkd/sxhkdrc b/os/arch/.config/sxhkd/sxhkdrc index 34c2eff9..60279df9 100644 --- a/os/arch/.config/sxhkd/sxhkdrc +++ b/os/arch/.config/sxhkd/sxhkdrc @@ -4,13 +4,13 @@ # terminal emulator super + ctrl + Return - termite + urxvt # scratchpad super + grave - xdotool search --onlyvisible --class scratchpad windowunmap \ - || xdotool search --class scratchpad windowmap \ - || termite --class=scratchpad --exec='tmux new-session -A -s scratch' --geometry=698x382 + xdotool search --onlyvisible --classname urxvt-scratch windowunmap \ + || xdotool search --classname urxvt-scratch windowmap \ + || urxvt -name urxvt-scratch -geometry 100x26 -e bash -c 'tmux new-session -A -s scratch' # program launcher super + space