diff options
| author | benj <benj@rse8.com> | 2021-06-19 16:05:02 -0700 |
|---|---|---|
| committer | benj <benj@rse8.com> | 2021-06-19 16:05:02 -0700 |
| commit | 05b44b0acbc88b5fc5a8c48a7a8b80825088772b (patch) | |
| tree | 9488cb2f3a8fc144eab14249230f2cd183987766 /des/i3/lockscreen.sh | |
| parent | 4db414d5161ac05618e675f3fbd9dad3af8b310a (diff) | |
| parent | 580682ff01096b3d40ba73a8d4dbf12c10993d39 (diff) | |
| download | setup-05b44b0acbc88b5fc5a8c48a7a8b80825088772b.tar setup-05b44b0acbc88b5fc5a8c48a7a8b80825088772b.tar.gz setup-05b44b0acbc88b5fc5a8c48a7a8b80825088772b.tar.bz2 setup-05b44b0acbc88b5fc5a8c48a7a8b80825088772b.tar.lz setup-05b44b0acbc88b5fc5a8c48a7a8b80825088772b.tar.xz setup-05b44b0acbc88b5fc5a8c48a7a8b80825088772b.tar.zst setup-05b44b0acbc88b5fc5a8c48a7a8b80825088772b.zip | |
merge AD2 updates
Diffstat (limited to 'des/i3/lockscreen.sh')
| -rwxr-xr-x | des/i3/lockscreen.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/des/i3/lockscreen.sh b/des/i3/lockscreen.sh new file mode 100755 index 0000000..31e1451 --- /dev/null +++ b/des/i3/lockscreen.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +IMG=/tmp/screen_locked.png +scrot $IMG +mogrify -scale 10% -scale 1000% $IMG +i3lock -i $IMG + +xautolock -time 1 -locker "i3lock -i $IMG" -notify 20 -notifier 'xset dpms force off' & |
