Added hide and close latest notification to client (#113)

This commit is contained in:
Erik Reider
2022-04-18 00:18:46 +02:00
committed by GitHub
parent f400e4a134
commit c54bf8ba16
8 changed files with 58 additions and 1 deletions

View File

@@ -11,7 +11,9 @@ _arguments -s \
'(-d --toggle-dnd)'{-d,--toggle-dnd}'[Toggle and print the current dnd state]' \
'(-D --get-dnd)'{-D,--get-dnd}'[Print the current dnd state]' \
'(-c --count)'{-c,--count}'[Print the current notificaion count]' \
'(-C --close-all)'{-C,--close-all}'[Closes all notifications]' \
'(--hide-latest)'{--hide-latest}'[Closes all notifications]' \
'(--close-latest)'{--close-latest}'[Hides latest notification. Still shown in Control Center]' \
'(-C --close-all)'{-C,--close-all}'[Closes latest notification]' \
'(-sw --skip-wait)'{-sw,--skip-wait}"[Doesn't wait when swaync hasn't been started]" \
'(-s --subscribe)'{-s,--subscribe}'[Subscribe to notificaion add and close events]' \
'(-swb --subscribe-waybar)'{-swb,--subscribe-waybar}'[Subscribe to notificaion add and close events with waybar support. Read README for example]' \