diff --git a/build-scripts/PKGBUILD b/build-scripts/PKGBUILD index 40384944..c9af2fce 100644 --- a/build-scripts/PKGBUILD +++ b/build-scripts/PKGBUILD @@ -3,7 +3,7 @@ pkgname=swaync pkgver=0.9.0 pkgrel=1 -pkgdesc="A simple notificaion daemon with a GTK panel for checking previous notifications like other DEs" +pkgdesc="A simple notification daemon with a GTK panel for checking previous notifications like other DEs" _pkgfoldername=SwayNotificationCenter url="https://github.com/ErikReider/$_pkgfoldername" arch=( diff --git a/build-scripts/PKGBUILD-git b/build-scripts/PKGBUILD-git index 5a268f5c..fccf18d5 100644 --- a/build-scripts/PKGBUILD-git +++ b/build-scripts/PKGBUILD-git @@ -4,7 +4,7 @@ pkgname=swaync-git _pkgname=swaync pkgver=r448.ba4a266 pkgrel=1 -pkgdesc="A simple notificaion daemon with a GTK panel for checking previous notifications like other DEs" +pkgdesc="A simple notification daemon with a GTK panel for checking previous notifications like other DEs" url="https://github.com/ErikReider/SwayNotificationCenter" arch=( 'x86_64' diff --git a/completions/fish/swaync-client.fish b/completions/fish/swaync-client.fish index e2ff10ff..bccd5100 100644 --- a/completions/fish/swaync-client.fish +++ b/completions/fish/swaync-client.fish @@ -3,9 +3,9 @@ complete -c swaync-client -s h -l help --description "Show help options" complete -c swaync-client -s v -l version --description "Prints version" complete -c swaync-client -s R -l reload-config --description "Reload the config file" -r complete -c swaync-client -s rs -l reload-css --description "Reload the css file. Location change requires restart" -r -complete -c swaync-client -s t -l toggle-panel --description "Toggle the notificaion panel" -r -complete -c swaync-client -s op -l open-panel --description "Opens the notificaion panel" -r -complete -c swaync-client -s cp -l close-panel --description "Closes the notificaion panel" -r +complete -c swaync-client -s t -l toggle-panel --description "Toggle the notification panel" -r +complete -c swaync-client -s op -l open-panel --description "Opens the notification panel" -r +complete -c swaync-client -s cp -l close-panel --description "Closes the notification panel" -r complete -c swaync-client -s d -l toggle-dnd --description "Toggle and print the current dnd state" -r complete -c swaync-client -s D -l get-dnd --description "Print the current dnd state" -r complete -c swaync-client -s dn -l dnd-on --description "Turn dnd on and print the new dnd state" -r @@ -15,10 +15,10 @@ complete -c swaync-client -s In -l get-num-inhibitors --description "Print numbe complete -c swaync-client -s Ia -l inhibitor-add --description "Add an inhibitor" -r complete -c swaync-client -s Ir -l inhibitor-remove --description "Remove an inhibitor" -r complete -c swaync-client -s Ic -l inhibitors-clear --description "Clears all inhibitors" -r -complete -c swaync-client -s c -l count --description "Print the current notificaion count" -r +complete -c swaync-client -s c -l count --description "Print the current notification count" -r complete -c swaync-client -l hide-latest --description "Hides latest notification. Still shown in Control Center" -r complete -c swaync-client -l close-latest --description "Closes latest notification" -r complete -c swaync-client -s C -l close-all --description "Closes all notifications" -r complete -c swaync-client -s sw -l skip-wait --description "Doesn't wait when swaync hasn't been started" -r -complete -c swaync-client -s s -l subscribe --description "Subscribe to notificaion add and close events" -r -complete -c swaync-client -s swb -l subscribe-waybar --description "Subscribe to notificaion add and close events with waybar support. Read README for example" -r +complete -c swaync-client -s s -l subscribe --description "Subscribe to notification add and close events" -r +complete -c swaync-client -s swb -l subscribe-waybar --description "Subscribe to notification add and close events with waybar support. Read README for example" -r diff --git a/completions/zsh/_swaync-client b/completions/zsh/_swaync-client index b18a84a8..759ee382 100644 --- a/completions/zsh/_swaync-client +++ b/completions/zsh/_swaync-client @@ -5,9 +5,9 @@ _arguments -s \ '(-v --version)'{-v,--version}'[Prints version]' \ '(-R --reload-config)'{-R,--reload-config}'[Reload the config file]' \ '(-rs --reload-css)'{-rs,--reload-css}'[Reload the css file. Location change requires restart]' \ - '(-t --toggle-panel)'{-t,--toggle-panel}'[Toggle the notificaion panel]' \ - '(-op --open-panel)'{-op,--open-panel}'[Opens the notificaion panel]' \ - '(-cp --close-panel)'{-cp,--close-panel}'[Closes the notificaion panel]' \ + '(-t --toggle-panel)'{-t,--toggle-panel}'[Toggle the notification panel]' \ + '(-op --open-panel)'{-op,--open-panel}'[Opens the notification panel]' \ + '(-cp --close-panel)'{-cp,--close-panel}'[Closes the notification panel]' \ '(-d --toggle-dnd)'{-d,--toggle-dnd}'[Toggle and print the current dnd state]' \ '(-D --get-dnd)'{-D,--get-dnd}'[Print the current dnd state]' \ '(-dn --dnd-on)'{-dn,--dnd-on}'[Turn dnd on and print the new dnd state]' \ @@ -17,10 +17,10 @@ _arguments -s \ '(-Ia --inhibitor-add)'{-Ia,--inhibitor-add}'[Add an inhibitor]' \ '(-Ir --inhibitor-remove)'{-Ir,--inhibitor-remove}'[Remove an inhibitor]' \ '(-Ic --inhibitors-clear)'{-Ic,--inhibitors-clear}'[Clears all inhibitors]' \ - '(-c --count)'{-c,--count}'[Print the current notificaion count]' \ + '(-c --count)'{-c,--count}'[Print the current notification count]' \ '(--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]' \ + '(-s --subscribe)'{-s,--subscribe}'[Subscribe to notification add and close events]' \ + '(-swb --subscribe-waybar)'{-swb,--subscribe-waybar}'[Subscribe to notification add and close events with waybar support. Read README for example]' \ diff --git a/man/swaync-client.1.scd b/man/swaync-client.1.scd index 8c7596da..9803b07f 100644 --- a/man/swaync-client.1.scd +++ b/man/swaync-client.1.scd @@ -23,13 +23,13 @@ swaync-client - Client executable Reload the css file. Location change requires restart *-t, --toggle-panel* - Toggle the notificaion panel + Toggle the notification panel *-op, --open-panel* - Opens the notificaion panel + Opens the notification panel *-cp, --close-panel* - Closes the notificaion panel + Closes the notification panel *-d, --toggle-dnd* Toggle and print the current dnd state @@ -59,7 +59,7 @@ swaync-client - Client executable Clears all inhibitors *-c, --count* - Print the current notificaion count + Print the current notification count *--hide-latest* Hides latest notification. Still shown in Control Center @@ -74,7 +74,7 @@ swaync-client - Client executable Doesn't wait when swaync hasn't been started *-s, --subscribe* - Subscribe to notificaion add and close events + Subscribe to notification add and close events *-swb, --subscribe-waybar* - Subscribe to notificaion add and close events with waybar support. Read README for example + Subscribe to notification add and close events with waybar support. Read README for example diff --git a/src/client.vala b/src/client.vala index f9c68374..46c34bc7 100644 --- a/src/client.vala +++ b/src/client.vala @@ -53,9 +53,9 @@ private void print_help (string[] args) { print ("Options:\n"); print (" -R, \t --reload-config \t\t Reload the config file\n"); print (" -rs, \t --reload-css \t\t\t Reload the css file. Location change requires restart\n"); - print (" -t, \t --toggle-panel \t\t Toggle the notificaion panel\n"); - print (" -op, \t --open-panel \t\t\t Opens the notificaion panel\n"); - print (" -cp, \t --close-panel \t\t\t Closes the notificaion panel\n"); + print (" -t, \t --toggle-panel \t\t Toggle the notification panel\n"); + print (" -op, \t --open-panel \t\t\t Opens the notification panel\n"); + print (" -cp, \t --close-panel \t\t\t Closes the notification panel\n"); print (" -d, \t --toggle-dnd \t\t\t Toggle and print the current dnd state\n"); print (" -D, \t --get-dnd \t\t\t Print the current dnd state\n"); print (" -dn, \t --dnd-on \t\t\t Turn dnd on and print the new dnd state\n"); @@ -65,13 +65,13 @@ private void print_help (string[] args) { print (" -Ia, \t --inhibitor-add [APP_ID] \t Add an inhibitor\n"); print (" -Ir, \t --inhibitor-remove [APP_ID] \t Remove an inhibitor\n"); print (" -Ic, \t --inhibitors-clear \t\t Clears all inhibitors\n"); - print (" -c, \t --count \t\t\t Print the current notificaion count\n"); + print (" -c, \t --count \t\t\t Print the current notification count\n"); print (" \t --hide-latest \t\t\t Hides latest notification. Still shown in Control Center\n"); print (" \t --close-latest \t\t Closes latest notification\n"); print (" -C, \t --close-all \t\t\t Closes all notifications\n"); print (" -sw, \t --skip-wait \t\t\t Doesn't wait when swaync hasn't been started\n"); - print (" -s, \t --subscribe \t\t\t Subscribe to notificaion add and close events\n"); - print (" -swb, --subscribe-waybar \t\t Subscribe to notificaion add and close events " + print (" -s, \t --subscribe \t\t\t Subscribe to notification add and close events\n"); + print (" -swb, --subscribe-waybar \t\t Subscribe to notification add and close events " + "with waybar support. Read README for example\n"); }