dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit e85bf27495f01be9790a4ed0fadc89459f4834ac
parent 4dbc1e47748fd501940661e30e847195d2e79589
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Thu, 14 Jun 2018 14:48:22 -0400

lock script improved

Diffstat:
M.config/i3/lock.sh | 7++-----
1 file changed, 2 insertions(+), 5 deletions(-)

diff --git 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