my configs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
469 B

  1. #!/bin/bash
  2. tmpbg='/tmp/screen.png'
  3. scrot "$tmpbg"
  4. convert "$tmpbg" -scale 10% -scale 1000% "$tmpbg"
  5. composite -gravity center "$tmpbg" "$tmpbg"
  6. #enable i3lock with colours & modified image
  7. i3lock --textcolor=ffffff00 --insidecolor=ffffff00 --ringcolor=ffffff00 --linecolor=ffffff00 --keyhlcolor=FF000080 --ringvercolor=0000FF00 --insidevercolor=00000000 --ringwrongcolor=00000055 --insidewrongcolor=FF00001c -i "$tmpbg"
  8. i3lock -i "$tmpbg"
  9. #clean up
  10. rm "$tmpbg"