diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2018-06-14 14:48:22 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2018-06-14 14:48:22 -0400 |
| commit | e85bf27495f01be9790a4ed0fadc89459f4834ac (patch) | |
| tree | 358997583c899728f9eeec8c6e6c4def60831399 | |
| parent | 4dbc1e47748fd501940661e30e847195d2e79589 (diff) | |
| download | eibhear-e85bf27495f01be9790a4ed0fadc89459f4834ac.tar.gz eibhear-e85bf27495f01be9790a4ed0fadc89459f4834ac.tar.zst eibhear-e85bf27495f01be9790a4ed0fadc89459f4834ac.zip | |
lock script improved
| -rwxr-xr-x | .config/i3/lock.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/.config/i3/lock.sh b/.config/i3/lock.sh index 4031757..c50e0c2 100755 --- a/.config/i3/lock.sh +++ b/.config/i3/lock.sh @@ -6,11 +6,8 @@ timeout="10000" # Take a screenshot: scrot /tmp/screen.png -# Create a blur on the shot: -convert /tmp/screen.png -paint 1 -swirl 360 /tmp/screen.png - -# Add the lock to the blurred image: -[[ -f ~/.config/i3/lock.png ]] && convert /tmp/screen.png ~/.config/i3/lock.png -gravity center -composite -matte /tmp/screen.png +# Add the lock to the swirled and blurred image: +[[ -f ~/.config/i3/lock.png ]] && convert /tmp/screen.png -paint 1 -swirl 360 ~/.config/i3/lock.png -gravity center -composite -matte /tmp/screen.png # Pause music (mocp and mpd): mocp -P |
