1516 Commits

Author SHA1 Message Date
Nikos Tsipinakis
23fa204e69 Use set -e 2020-05-01 15:35:23 +02:00
Nikos Tsipinakis
a91adf9c80 Implement error handling in NotificationAction call 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
ec421f1ea1 Properly handle error conditions from dunstctl 2020-05-01 15:35:23 +02:00
Nikos Tsipinakis
9049bf15b2 Remove live status checking (for now) 2020-05-01 15:35:23 +02:00
Nikos Tsipinakis
ee11dfa8fe Don't wake up after doing an action 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
b1f64b266b Wake up after changing status via dunstctl 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
e80e8e9eb5 Install dunstctl via make automatically 2020-04-10 10:48:37 +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
Benedikt Heine
55f4971a92 Add DBus interface to control dunst 2020-04-10 10:47:12 +02:00
Nikos Tsipinakis
0d038021a6 Update README to mention libnotify dependency 2020-04-04 15:40:47 +02:00
Nikos Tsipinakis
8fafc456cb
Merge pull request #702 from braunbearded/fix-dunstify-installation
Fix dunstify installation
2020-04-04 15:38:16 +02:00
braunbearded
c6f1f169a7 Always add libnotify as build dependency 2020-04-04 14:15:37 +02:00
Nikos Tsipinakis
520c36ad7a
Replace coveralls badge with codecov 2020-04-03 17:22:07 +02:00
Nikos Tsipinakis
12873ccd78
Merge pull request #701 from braunbearded/install-dunstify
Install dunstify
2020-04-03 17:03:59 +02:00
stefan
697db7198d Uninstall dunstify 2020-04-03 14:16:53 +02:00
stefan
7e2b148262 Install dunstify 2020-04-03 13:53:15 +02:00
Nikos Tsipinakis
9e5a647092
Merge pull request #700 from bebehei/ci
Update CI to Github actions
2020-04-02 12:47:52 +02:00
Benedikt Heine
c4fe74df37 Use Codecov, coveralls doesn't work at all
The docs of the Github action aren't working at all and are not deemed
to work. The "parallels" feature is completely broken and others have
solved it by switching to Codecov.

See coverallsapp/github-action#13
2020-03-31 23:54:38 +02:00
Benedikt Heine
db76fff1ca Add coveralls settings 2020-03-31 23:51:26 +02:00
Benedikt Heine
29e02c2a29 Introduce Github Actions as CI 2020-03-31 23:51:20 +02:00
Benedikt Heine
ef88e39de6
Merge pull request #699 from tsipinakis/invalidate_actions
Invalidate actions after notification is closed
2020-03-31 16:43:29 +02:00
Benedikt Heine
b3e640a8ef Remove CircleCI and Travis CI
Those will get replaced by Github Actions
2020-03-31 15:27:42 +02:00
Nikos Tsipinakis
69e319c729 Invalidate actions after notification is closed 2020-03-31 15:27:16 +02:00
Nikos Tsipinakis
43c614559c Remove WantedBy in systemd unit file
This avoids dunst starting automatically on session start, since it
usually happens before the graphical session is brought up and ends up
cluttering the journal with errors.

Either way, dunst is autostarted by dbus when a notification is sent.

See #314
2020-03-21 21:24:54 +01:00
Nikos Tsipinakis
fbdef7b58a
Merge pull request #694 from bebehei/issue-693-unset-home
Retrieve user's home from passwd entry as fallback
2020-03-13 16:45:31 +01:00
Benedikt Heine
9591af02a8 Retrieve user's home from passwd entry as fallback
For weird reasons, the HOME-variable might not always be set. So we
should fallback on something more reliable.

Fixes #693
2020-03-10 16:29:20 +01:00
Nikos Tsipinakis
dfd6e76de5
Merge pull request #684 from chronus7/master
Adding vertical content alignment control.
2020-01-30 15:07:52 +02:00
chronus
4c09883ef6 adding changes according to review
- adding default to config.h#defaults
- changing naming from content_* to vertical_*
- replacing switch-case with if-else-if
2020-01-29 23:02:00 +01:00
chronus
e665eea97e adding content_alignment to config and documentation 2020-01-26 11:44:31 +01:00
chronus
f9b6f6a066 fixing comparison issue in bottom alignment 2020-01-25 16:43:42 +01:00
chronus
89d7a81b9c Adding vertical content alignment control.
This adds the option `content_alignment`, which allows the user to set
the vertical alignment of the notification's content (i.e. icon and
text) to either top (`CONTENT_TOP`), center (`CONTENT_CENTER`, default),
or bottom (`CONTENT_BOT`). The default preserves current behaviour,
while the other options fulfill #486.
2020-01-25 16:35:38 +01:00
Nikos Tsipinakis
3f3082efb3
Merge pull request #674 from xkr47/patch-min_icon_size-20191122
Implement #392, take 2
2019-12-18 15:14:38 +02:00
Jonas Berlin
ad5d20bd6a Add tests for icon scaling math & loading 2019-12-17 22:40:36 +02:00
Jonas Berlin
03253e82f7 [ReviewFix] Remove bogous g_error_free() cal 2019-12-05 20:12:07 +02:00
Jonas Berlin
667503ef7d Cleanup, documentation 2019-12-04 21:01:29 +02:00
Jonas Berlin
87491192cb [RegressionFix] Slightly different valgrind leak trace in CI env 2019-12-03 22:34:17 +02:00
Jonas Berlin
9264b0f994 [ReviewFix] dunst.pod: Update icon scaling documentation 2019-12-03 21:29:43 +02:00
Jonas Berlin
445d305bf8 [ReviewFix] dunstrc: Add min_icon_size 2019-12-03 21:29:37 +02:00
Jonas Berlin
e077b949a6 [ReviewFix] gdk_pixbuf_from_file: Update valgrind suppressions to match new code paths 2019-12-03 20:28:08 +02:00
Jonas Berlin
39c97e28f6 [ReviewFix] get_pixbuf_from_file: Free memory on error return 2019-12-03 20:27:31 +02:00
Jonas Berlin
364bce1ed0 Scale icons during loading to get best quality for e.g. vector images 2019-11-29 21:28:22 +02:00
Jonas Berlin
ab3b5c2805 Implement #392 2019-11-29 21:14:57 +02:00