mirror of
https://github.com/agresdominik/dotfiles.git
synced 2026-04-21 18:05:50 +00:00
lock script, styling
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
IMG_PATH="${XDG_RUNTIME_DIR:-/tmp}/lock.png"
|
||||
|
||||
grim -t png "$IMG_PATH"
|
||||
magick "$IMG_PATH" -blur 0x12 "$IMG_PATH"
|
||||
swaylock -f -i "$IMG_PATH"
|
||||
|
||||
Reference in New Issue
Block a user