Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Wrapper to run rofi with blurred background
- # -drun-use-desktop-cache
- rofi -show run -modi drun,file-browser,run,calc -show-icons -font "Circular Book 15.5" -config ~/.scripts/custom.rasi &
- 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 = 10 ]] && exit; # stop script window didn't appear after 5 seconds
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement