some shit
This commit is contained in:
27
configs/dunst/scripts/actions
Executable file
27
configs/dunst/scripts/actions
Executable file
@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
|
||||
reply_action () {
|
||||
|
||||
echo "Eyyy"
|
||||
|
||||
}
|
||||
forward_action () {
|
||||
echo "Sup"
|
||||
}
|
||||
handle_dismiss () {
|
||||
echo "Dismiss"
|
||||
}
|
||||
|
||||
ACTION=$(dunstify --action="default,Reply" --action="forwardAction,Forward" "Message Received")
|
||||
|
||||
case "$ACTION" in
|
||||
"default")
|
||||
reply_action
|
||||
;;
|
||||
"forwardAction")
|
||||
forward_action
|
||||
;;
|
||||
"2")
|
||||
handle_dismiss
|
||||
;;
|
||||
esac
|
Reference in New Issue
Block a user