summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-18 23:00:07 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-18 23:00:07 +0200
commit8e26af55963a5b7144ad33f889412a2d1e64ef78 (patch)
tree8c1793bd1c699c1fd4ffb602cecc36049aa19ec5
parent444b6fb072835dac17c6f0b18abdb4b730dd2171 (diff)
added locker
-rwxr-xr-xbin/guiscripts/locker6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/guiscripts/locker b/bin/guiscripts/locker
new file mode 100755
index 0000000..90a1ab5
--- /dev/null
+++ b/bin/guiscripts/locker
@@ -0,0 +1,6 @@
+#!/bin/sh
+umask 077
+file=/tmp/bg.png
+grim - > $file
+convert -resize 10% -resize 1000% $file $file
+swaylock -i $file