+lock script
Randomly chooses a file from the lockscreens folder, then uses it for the i3lock lockscreen background image
This commit is contained in:
5
Scripts/.local/scripts/lock
Executable file
5
Scripts/.local/scripts/lock
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
lock_image=$HOME/Pictures/Lockscreens/$(ls $HOME/Pictures/Lockscreens | shuf | head -1)
|
||||||
|
i3lock -n -f -e -i $lock_image
|
||||||
Reference in New Issue
Block a user