Update
This commit is contained in:
8
local/share/sway/scripts/screenshot-notify.sh
Executable file
8
local/share/sway/scripts/screenshot-notify.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
set -e
|
||||
DIR=${XDG_SCREENSHOTS_DIR:-$HOME/Screenshots}
|
||||
|
||||
while true; do
|
||||
mkdir -p "$DIR" && inotifywait -q -e create "$DIR" --format '%w%f' | xargs notify-send "Screenshot saved"
|
||||
done
|
||||
Reference in New Issue
Block a user