1608 Commits

Author SHA1 Message Date
fwsmit
58d215ddfe Create abstract output and fix wayland bug
This commit adds an output struct which abstracts the X11 specific
functions and makes it possible to easily create a drop-in wayland
output.

It also fixes a bug in wayland where notifications won't disappear.
This is because wayland doesn't give access to user input when a
client is not in focus. This way it seems like the user is always
idle. The idle functionality is now disabled in Wayland until proper
support is added.
2020-11-18 15:20:06 +01:00
Nikos Tsipinakis
3001f79fc3
Merge pull request #774 from fwSmit/vim-modeline
Add filetype to vim modeline
2020-11-03 17:41:49 +02:00
fwsmit
55d700f746 Add filetype to vim modeline 2020-11-02 20:25:26 +01:00
Nikos Tsipinakis
93b52df269
Merge pull request #769 from gregdan3/master
Do not accept empty appname argument
2020-10-27 13:04:43 +02:00
Gregory Danielson
72907cc744
Do not accept empty appname argument
Closes #768
2020-10-26 09:40:38 -05:00
Nikos Tsipinakis
0467e46474 Fix typo 2020-10-26 12:51:47 +02:00
Nikos Tsipinakis
bc6ab69390
Merge pull request #766 from ammgws/signal
Emit signal when `paused` property changes
2020-10-07 09:22:56 +03:00
Jason Nader
8831260be3
Emit signal when paused property changes 2020-10-03 23:42:34 +09:00
Nikos Tsipinakis
f00625692b
Merge pull request #758 from keer4n/master
Fix a typo in configuration option in dunst.pod
2020-09-25 21:45:25 +03:00
Kiran Gurung
6734fa3135 Fix a typo in setting option in dunst.pod 2020-09-04 23:12:20 +00:00
Nikos Tsipinakis
e59d203256 Fix monitor setting overriding follow_mode
Ignore the monitor setting if it's set to a non-zero value and the
follow mode isn't none.

Fixes #755
2020-08-20 13:50:56 +03:00
Nikos Tsipinakis
ca6ce6868e
Merge pull request #750 from MaximeWack/master
Fix possible division by zero in radius calculation.
2020-08-15 18:47:24 +03:00
Maxime Wack
6f5f003e2b Fix possible division by zero in radius calculation.
Check all possible causes of division by zero in the
calculation of the radius.
2020-08-15 14:22:23 +02:00
Nikos Tsipinakis
37feb7d6a3 Fix history_ignore rule being reset
Set the default history_ignore value to -1 for unset, otherwise it'll be
reset to false when applying additional rules.

Fixes #747
2020-08-08 19:11:13 +03:00
Nikos Tsipinakis
28c5074fab Trigger workflows on all branches 2020-07-23 13:54:38 +03:00
Nikos Tsipinakis
ca1bf262ce Fix failing CI due to version mismatch 2020-07-23 13:53:05 +03:00
Nikos Tsipinakis
8c07ffb173 Start new release cycle 2020-07-23 13:41:24 +03:00
Nikos Tsipinakis
52d67616f1 Dunst v1.5.0 v1.5.0 2020-07-23 13:27:50 +03:00
Nikos Tsipinakis
3a77b879e0
Merge pull request #742 from phaazon/fix/typo-pod
Fix a typo in the dunst.pod file.
2020-07-23 13:16:36 +03:00
Dimitri Sabadie
bc86ce78a7
Fix a typo in the dunst.pod file. 2020-07-23 12:08:36 +02:00
Nikos Tsipinakis
c01f81b692 Fix possible division by 0 in radius calculation 2020-07-18 22:39:40 +03:00
Nikos Tsipinakis
9db8b76473
Merge pull request #735 from Djeeberjr/master
multiple scripts for notification
2020-07-18 22:12:26 +03:00
Djeeberjr
1b8f56eb45 changed script_run back to bool 2020-07-18 15:51:04 +02:00
Nikos Tsipinakis
eb253a4547
Merge pull request #732 from matclab/731-ignore-dbus-close-setting
Add ignore_dbusclose settings
2020-07-17 21:32:41 +03:00
matclab
842a5242f7 Remove warning message
This message has no real added value and is emitted every time a
notification is closed when `ignore_dbuclose` is set.
2020-07-16 18:28:05 +02:00
matclab
7bd55a53bf ignore_dbusclose: Add debug message when ignoring 2020-07-16 18:28:05 +02:00
matclab
7796f7f848 ignore_dbusclose: Add dunstrc example and man page section 2020-07-16 18:28:05 +02:00
matclab
0a08cefc68 ignore_dbusclose: send NotificationClosed signal back for spec compliance
The notification spec has no concept of disallowing closing notifications,
so to make the ignore_dbusclose 'compliant' we choose to lie to the clients
that the notification is actually closed, but keep it open.
To do this, we send a NotificationClosed signal back (via signal_notification_closed
which also call notification_invalidate_action)
2020-07-16 18:28:05 +02:00
matclab
762d37758d Add ignore_dbusclose settings
closes #731
2020-07-12 22:44:26 +02:00
Nikos Tsipinakis
b040fca067
Merge pull request #736 from matclab/734-BadAtom-composited-test
No compositor if no _NET_WM_CM_Si atom
2020-07-12 21:12:00 +02:00
matclab
3c33f4559f No compositor if no _NET_WM_CM_Si atom
close #734
2020-07-12 14:44:47 +02:00
Djeeberjr
4d66a60a4f multiple scripts for notification 2020-07-12 00:50:52 +02:00
Nikos Tsipinakis
0de8610b67 Fix crash when triggering actions via dunstctl
g_list_nth_data was used to query the notification list, but in the code
it was erroneously assumed that a GList object was returned rather than
a notification.

One of the many pitfalls of generic pointers...

Fixes #727
2020-07-02 19:46:36 +02:00
Nikos Tsipinakis
8afb7fcd1a Clear window before redrawing (again!)
The timeline of this issue is as follows:
In 7a094bc a call to XClearWindow/XFlush was added as part of RGBA
support.
Afterwards, I noticed that there is some noticeable flicker while
redrawing for large notifications, so I foolishly removed both of these
calls without considering the full effects.

As a result when redrawing notifications 'stack up' with each-other.
After a testing it seems that the XFlush call that was causing
the flicker is not necessary and XClearWindow works without it.

Fixes #728
2020-07-02 19:27:44 +02:00
Nikos Tsipinakis
1ca271084a Recognize svgz icon types 2020-06-11 18:21:58 +02:00
Nikos Tsipinakis
00851dd4d3 Mention transparency support in man page 2020-06-09 12:15:06 +02:00
Nikos Tsipinakis
ed3db5048c Revert "Clear window to prevent accumulations"
This reverts commit 7a094bc702149104cd4049281a7dd9ed0ab76c89.

This commit caused a flicker effect every time the window was redrawn,
reverting it for now.
2020-06-09 12:13:29 +02:00
Nikos Tsipinakis
7735c9a4f6 Fix separator not working with frame_width=0
Bug was introduced with 16e38a9a84c46b0cd4fd7b0f2f88e9d8054ccc0b.
2020-05-28 13:00:20 +02:00
Nikos Tsipinakis
d885e93b73
Merge pull request #717 from nick87720z/rgba-support
Rgba support
2020-05-28 12:54:47 +02:00
Nikita Zlobin
12bea04941 optimization 2020-05-26 22:59:01 +05:00
Nikita Zlobin
6413a4d6f8 Revert "Support arbitrary hex color formats (16/32bits per component)"
This reverts commit 1e36a6b4ac569527981e06db429f3e6cd8ac99b8.
2020-05-26 22:28:05 +05:00
Nikita Zlobin
d110ba93e6 Revert "Floating point color config formats"
This reverts commit 6b28d57730a390264b4d0daea2d765f841ad90d8.
2020-05-26 22:27:31 +05:00
Nikita Zlobin
98debc663a simplify UINT_MAX_N
Probably I was too precatious, not relying to common rule about
unsigned subtraction to minus.
2020-05-26 18:35:37 +05:00
Nikita Zlobin
d45888a785 Don't mix separator with underlying content 2020-05-23 14:14:50 +05:00
Nikita Zlobin
6b28d57730 Floating point color config formats 2020-05-23 14:14:50 +05:00
Nikita Zlobin
1e36a6b4ac Support arbitrary hex color formats (16/32bits per component)
It's unlikely that string_to_color() is faster, but at least is more
flexible. Not sure if 8-digit per channel format is used.
2020-05-23 14:14:50 +05:00
Nikita Zlobin
7226ef2c15 Support for different color config precisions (#RGB format)
Support for #RGB is claimed in docs.
2020-05-23 14:14:50 +05:00
Nikita Zlobin
2e2b3e549f RGBA color support 2020-05-23 14:14:50 +05:00
Nikita Zlobin
9833fbba1f Limit frame stroke area 2020-05-23 14:14:50 +05:00
Nikita Zlobin
8d8e6882e8 style fix 2020-05-23 14:14:50 +05:00