summaryrefslogtreecommitdiff
path: root/x11-themes/background-lnxpcs/files/i3lock-lnxpcs
diff options
context:
space:
mode:
Diffstat (limited to 'x11-themes/background-lnxpcs/files/i3lock-lnxpcs')
-rwxr-xr-xx11-themes/background-lnxpcs/files/i3lock-lnxpcs5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11-themes/background-lnxpcs/files/i3lock-lnxpcs b/x11-themes/background-lnxpcs/files/i3lock-lnxpcs
new file mode 100755
index 0000000..11398bd
--- /dev/null
+++ b/x11-themes/background-lnxpcs/files/i3lock-lnxpcs
@@ -0,0 +1,5 @@
+#!/bin/sh
+BACKS="/usr/share/backgrounds"
+i3lock -c 000000 -i $(shuf -n1 -e "$BACKS"/*) -t -f
+sleep 1
+xset dpms force off