diff options
Diffstat (limited to '.local/bin/lock')
-rwxr-xr-x | .local/bin/lock | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/.local/bin/lock b/.local/bin/lock deleted file mode 100755 index 223ac59..0000000 --- a/.local/bin/lock +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | # Locks the screen with a blurred screenshot of the current window as the lock image | ||
3 | # Also pauses any music that is playing | ||
4 | |||
5 | maim | convert - -paint 5 ~/.cache/lock.png | ||
6 | [ "$(cmus-remote -Q | head -1 | cut -d ' ' -f 2)" != "playing" ] || cmus-remote --pause | ||
7 | i3lock -u -e -i ~/.cache/lock.png | ||