Advertisement
Guest User

Untitled

a guest
Nov 21st, 2020
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # Wrapper to run rofi with blurred background
  4. # -drun-use-desktop-cache
  5.  
  6. rofi -show run -modi drun,file-browser,run,calc -show-icons -font "Circular Book 15.5" -config ~/.scripts/custom.rasi &
  7.  
  8. while ! xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $(xdotool search -class 'rofi') ; do
  9. sleep .1
  10. c=$((c+1))
  11. [[ c = 10 ]] && exit; # stop script window didn't appear after 5 seconds
  12. done
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement