aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bin
diff options
context:
space:
mode:
authorjason2023-09-20 22:17:56 -0600
committerjason2023-09-20 22:17:56 -0600
commitd46ea2c967a451fb298850e103fbdb00eda51e7b (patch)
treef9dfd1e68621d7ae81118f0b96e6c1d14e5fcd20 /scripts/bin
parentb6405e57e2f15190f5900e5fbbdc29455a57bd0c (diff)
downloaddotfiles-d46ea2c967a451fb298850e103fbdb00eda51e7b.tar.gz
dotfiles-d46ea2c967a451fb298850e103fbdb00eda51e7b.zip
simplify lock script (disable fuzzy background)
Diffstat (limited to 'scripts/bin')
-rwxr-xr-xscripts/bin/lock6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/bin/lock b/scripts/bin/lock
index f73b3de..863f878 100755
--- a/scripts/bin/lock
+++ b/scripts/bin/lock
@@ -1,11 +1,11 @@
1#!/bin/sh -e 1#!/bin/sh -e
2 2
3# Take a screenshot 3# Take a screenshot
4scrot -o /tmp/screen_locked.png 4#scrot -o /tmp/screen_locked.png
5# Pixellate it 10x 5# Pixellate it 10x
6mogrify -scale 10% -scale 1000% /tmp/screen_locked.png 6#mogrify -scale 10% -scale 1000% /tmp/screen_locked.png
7# Lock screen displaying this image. 7# Lock screen displaying this image.
8i3lock -i /tmp/screen_locked.png 8i3lock# -i /tmp/screen_locked.png
9# Turn the screen off after a delay. 9# Turn the screen off after a delay.
10sleep 60 10sleep 60
11# if i3lock is still running 11# if i3lock is still running