making rofi work a lil better

This commit is contained in:
Chris Cochrun 2021-09-27 17:13:21 -05:00
parent 9daaa96d74
commit 38e0f2f923
14 changed files with 156 additions and 79 deletions

View file

@ -13,6 +13,14 @@ configuration {
threads: 0;
scroll-method: 0;
disable-history: false;
kb-accept-entry: "Return";
kb-remove-to-eol: "Control-D";
kb-remove-char-back: "BackSpace";
kb-mode-complete: "Control-M";
kb-row-down: "Control-j";
kb-row-up: "Control-k";
kb-row-left: "Control-h";
kb-row-right: "Control-l";
}
* {

View file

@ -8,4 +8,11 @@ else
#echo "this is not hidpi"
fi
rofi -no-lazy-grab -show emoji -modi emoji -theme launchers-git/"$style".rasi
rofi -no-lazy-grab -show emoji -modi emoji -theme launchers-git/"$style".rasi $@ &
c=0
while ! xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $(xdotool search -class 'rofi') ; do
sleep .1
c=$((c+1))
[[ c = 50 ]] && exit; # stop script window didn't appear after 5 seconds
done

View file

@ -8,4 +8,10 @@ else
#echo "this is not hidpi"
fi
rofi -no-lazy-grab -show drun -modi drun -theme launchers-git/"$style".rasi
rofi -no-lazy-grab -show drun -modi drun -theme launchers-git/"$style".rasi $@ &
c=0
while ! xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $(xdotool search -class 'rofi') ; do
sleep .1
c=$((c+1))
[[ c = 50 ]] && exit; # stop script window didn't appear after 5 seconds
done

View file

@ -8,4 +8,10 @@ else
#echo "this is not hidpi"
fi
rofi -no-lazy-grab -show run -modi run -theme launchers-git/"$style".rasi
rofi -no-lazy-grab -show run -modi run -theme launchers-git/"$style".rasi $@ &
c=0
while ! xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $(xdotool search -class 'rofi') ; do
sleep .1
c=$((c+1))
[[ c = 50 ]] && exit; # stop script window didn't appear after 5 seconds
done