1505 Commits

Author SHA1 Message Date
Nikos Tsipinakis
b4633a0061
Merge pull request #705 from mkrasnitski/list-conf-options
Allow for multiple actions per mouse event
2020-04-06 09:56:46 +02:00
Michael Krasnitski
92a21487b2 Make some changes to default dunstrc
These make it more clear to the user that the mouse_click
options can be defined as lists.
2020-04-05 21:46:07 -04:00
Michael Krasnitski
8bcc3070fb Use g_strsplit instead of homebrewing a solution
Lesson: don't reinvent the wheel.
Additionally, changed a `g_malloc` call to `g_malloc_n` for safety.
2020-04-05 19:35:36 -04:00
Michael Krasnitski
a4a1a1ac9e Add tests for parsing lists from conf/cmdline. 2020-04-05 15:29:28 -04:00
Michael Krasnitski
506b4f2cfa Allow a mouse button to perform 1 or more actions in series.
The user provides a comma-separated list of valid mouse actions
that will be performed one after another when a notification is
clicked. If any one of the provided actions is invalid, the value
reverts to its default state.
2020-04-05 15:29:24 -04:00
Michael Krasnitski
94be674cf8 Add parsing of comma-separated list options from conf/cmdline. 2020-04-05 12:15:35 -04: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
Nikos Tsipinakis
9e29406bb5 Fix dead pango reference link in manpage 2019-08-22 12:58:29 +03:00
Nikos Tsipinakis
68daebb713
Merge pull request #656 from rootkiwi/master
Fix dead link to pango reference in dunstrc
2019-08-22 12:55:57 +03:00
rootkiwi
eddcd2bfdf Fix dead link to pango reference in dunstrc 2019-08-22 11:37:38 +02:00
Benedikt Heine
53e7f3d16a
Merge pull request #650 from tsipinakis/bugfix/parse-empty
option_parser: Fail early when parsing empty string
2019-08-10 20:06:11 +02:00
Nikos Tsipinakis
f37a5d1c64 option_parser: Fail early when parsing empty string
Sometimes these parse functions can have other side-effects such as the
sepcolor one which defaults to a custom color string if the value is
unknown. If the string is empty all of these functions should fail to
allow for the default to be used.

See #649 for details
2019-08-10 19:47:30 +03:00
Nikos Tsipinakis
13307d2b17
Merge pull request #647 from bebehei/issue-646-overflow-tests
Don't overflow when passing INT_MAX on DBus wire
2019-08-09 16:29:12 +03:00
Benedikt Heine
52a8489043 Don't overflow when passing INT_MAX on DBus wire 2019-08-09 14:41:37 +02:00
Nikos Tsipinakis
6c4eeda434 Start new release cycle 2019-07-03 10:02:21 +03:00
Nikos Tsipinakis
37474c127b Dunst v1.4.1 v1.4.1 2019-07-03 09:46:05 +03:00
Nikos Tsipinakis
7ca6a98238 Fix dunstify.d being left behind on clean 2019-07-03 09:29:03 +03:00
Nikos Tsipinakis
ac94eca79e Recheck fullscreen status on ConfigureNotify
IceWM does not send PropertyNotify when exiting fullscreen. As a
band-aid solution also re-check the fullscreen status on ConfigureNotify
events. We're receiving them already so a few extra checks should not be
noticeable in any case.

Fixes #613
2019-06-20 15:25:54 +03:00