Moritz Luedecke
1827f0d974
Suffix "Length" to the dbus variables for the number of notifications
2020-12-25 15:03:50 +01:00
Moritz Luedecke
4d74c7b46e
Rename the dunstctl sub-command 'status' to 'count'
2020-12-23 16:30:41 +01:00
Moritz Luedecke
137361a95d
Show the number of notifications via dunstctl
2020-12-21 11:46:57 +01:00
mrossinek
0dfcc1420d
Change running to paused state on "server" side
...
This allows the boolean "inversion" to happen in the C code instead of
post-processing in the dunstctl shell script.
2020-05-01 21:54:53 +02:00
mrossinek
2e301b1d39
Fix indentation and use tabs for indents
2020-05-01 21:35:08 +02:00
mrossinek
b8aa8c15e8
Rename set-running to set-paused
...
Since the pause status is more intuitive for the end-user than the
running state (which is used internally) the interface of the dunstctl
is renamed to set-paused and is-paused (previously set-running and
running).
This requires inversion of the boolean variables to be consistent with
the inverted naming.
Fixes #710
2020-05-01 19:37:43 +02:00
mrossinek
c45a9eac73
Add toggle option to dunstctl set-running command
...
Fixes #709
2020-05-01 19:37:20 +02:00
Nikos Tsipinakis
5aa1863762
Rename status commands to running
2020-05-01 15:35:23 +02:00
Nikos Tsipinakis
94aa427a1b
Fix dunstctl help alignment
2020-05-01 15:35:23 +02:00
Nikos Tsipinakis
23fa204e69
Use set -e
2020-05-01 15:35:23 +02:00
Nikos Tsipinakis
36eed785d2
dunstctl: Fix alignment in help message
2020-05-01 15:35:23 +02:00
Nikos Tsipinakis
936dbb039c
dunstctl: Print help message on dbus communication failure
2020-05-01 15:35:23 +02:00
Nikos Tsipinakis
e14160bda6
dunstctl: Apply shellcheck suggestions
2020-05-01 15:35:23 +02:00
Nikos Tsipinakis
6a8401d85a
dunstctl: Use = rather than == for string equality
...
`==` is not supported in plain sh
2020-05-01 15:35:23 +02:00
Nikos Tsipinakis
d45d26e257
dunstctl: Don't use function keyword
...
Plain `foo()` is more portable, `function` doesn't appear to be
supported in sh.
2020-05-01 15:35:23 +02:00
Benedikt Heine
7e92619967
Add ability to trigger action of latest notification
...
Currently triggers only the latest notification. TODO: implement it
either with ActionsAll or more favorable: with an optional paramter,
which should trigger only the action of a single notification.
The problem currently: I have got no ability to check the DBus docs, as
I'm on a bad internet connection.
2020-05-01 15:35:23 +02:00
Benedikt Heine
a3342d0ced
Add debug command
2020-04-10 10:48:47 +02:00
Benedikt Heine
72d68fcec4
Overhaul dunstctl
2020-04-10 10:47:12 +02:00
Felix Buehler
305ab6c4e6
Add dunstctl shell script
2020-04-10 10:47:12 +02:00