Commit graph

9 commits

Author SHA1 Message Date
Reed Wade
1edb932f44 fix a bug on picked notification file determination
If a notification body include a double whitespace, the PICKEDNOTIFFILE
computation fail to match cause we striped them when building the dmenu
choices.

To give an example, try to write this notification as

$ sxmo_notificationwrite.sh "random" \
"st -e tail -n9999 -f \"$HOME/.config/sxmo/xinit\"" \
"$HOME/.config/sxmo/xinit" \
"this body  is broken"

This patch fix this bug.

(Maintainer note: I changed the awk invocation to use tr, as suggested
by anjan)

Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2020-10-31 22:55:50 +01:00
Julian P Samaroo
1253dcd5f1 Added Clear Notifications option to menu 2020-09-12 22:51:43 -05:00
Miles Alan
68641aab4f Move LED setting to be indpendent of notification hook 2020-08-22 17:28:14 -05:00
Miles Alan
46acb72dd7 Kill in-progress notification hooks if the notif dir is empty 2020-08-22 16:59:56 -05:00
Miles Alan
747da7863c Fix shellcheck 2020-08-22 16:45:49 -05:00
Miles Alan
317437572a Improve default notificationhook to vibrate consistently 2020-08-22 16:16:53 -05:00
Miles Alan
45c571727c Cleanup logic for notification LED setting; increase default call volume 2020-08-22 16:16:26 -05:00
Miles Alan
5f8aad0386 Fix bugs with incall functionality around statusbar showing call duration 2020-08-22 12:21:51 -05:00
Miles Alan
c5b665ca4f Look for ATTRIB events for notifications updates; remove "Pickup" menu
Picking up call can be done from both dunst notification & notifications menu;
so for more consistency / less bugs the Pickup menu entry has been removed.
2020-08-22 12:21:51 -05:00