Last active
June 29, 2022 17:44
-
-
Save appuchias/2af174dc9ddea260b5dcc8b44a7cc9fc to your computer and use it in GitHub Desktop.
Blurred screen locking using i3lock/betterlockscreen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/sh | |
# This script enables a lock screen for a dual monitor setup with a blurred background. | |
# It usually takes 3 seconds to render blur and lock the screen. | |
# scrot /tmp/sshot_src.png | |
flameshot full -p /tmp/sshot.png | |
# convert /tmp/sshot_src.png -blur 0x9 /tmp/sshot.png | |
# rm /tmp/sshot_src.png | |
# i3lock -i /tmp/sshot.png | |
# betterlockscreen -u /tmp/sshot.png --span --fx | |
betterlockscreen -u /tmp/sshot.png --span --fx blur,color --color "#373b41" --blur 2 | |
rm /tmp/sshot.png | |
# betterlockscreen -l | |
betterlockscreen -l blur |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment