From a98823e568873c2278f07e30724111256f9670f5 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 25 Apr 2017 02:39:49 -0400 Subject: [PATCH] os/arch: replace rofi with pop-up fzf prompt --- os/arch/.Xresources | 2 ++ os/arch/.config/bspwm/bspwmrc | 1 + os/arch/.config/sxhkd/sxhkdrc | 4 +++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/os/arch/.Xresources b/os/arch/.Xresources index 9f410802..c43e5608 100644 --- a/os/arch/.Xresources +++ b/os/arch/.Xresources @@ -33,6 +33,8 @@ URxvt*.url-launcher: firefox URxvt*.matcher.rend.0: Uline Bold fg5 URxvt*.font: xft:Fira Mono:size=9 urxvt-scratch.font: xft:Fira Mono:size=10 +urxvt-fuzzy.font: xft:Fira Mono:size=14 +urxvt-fuzzy.internalBorder: 15 ! rofi rofi.font: Fira Mono Medium 18 diff --git a/os/arch/.config/bspwm/bspwmrc b/os/arch/.config/bspwm/bspwmrc index be9a672f..7bdba271 100755 --- a/os/arch/.config/bspwm/bspwmrc +++ b/os/arch/.config/bspwm/bspwmrc @@ -77,6 +77,7 @@ esac bspc rule -r '*' bspc rule -a URxvt:urxvt-scratch state=floating sticky=on center=on monitor=C +bspc rule -a URxvt:urxvt-fuzzy 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 5f98ff56..5bc3d6e8 100644 --- a/os/arch/.config/sxhkd/sxhkdrc +++ b/os/arch/.config/sxhkd/sxhkdrc @@ -13,7 +13,9 @@ super + grave # program launcher super + space - rofi -show run + xdotool search --onlyvisible --classname urxvt-fuzzy windowunmap \ + || xdotool search --classname urxvt-fuzzy windowmap \ + || urxvt -name urxvt-fuzzy -geometry 100x26 -e $SHELL -c fzf-apps # password manager super + alt + backslash dpass