mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
add play notifications
This commit is contained in:
parent
1ecb9019c1
commit
06a9287dc2
1 changed files with 5 additions and 1 deletions
|
|
@ -16,4 +16,8 @@ else
|
|||
source=$(xclip -o -selection clipboard)
|
||||
fi
|
||||
|
||||
eval mpv "$source"
|
||||
notify-send "Loading..." "$source"
|
||||
|
||||
if ! mpv "$source"; then
|
||||
notify-send --urgency=critical "Failed to play" "$source"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue