1562 Commits

Author SHA1 Message Date
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
Nikos Tsipinakis
813417915c
Merge pull request #713 from nick87720z/fix-ugly-frame
Fix ugly frame
2020-05-22 19:08:04 +02:00
Nikita Zlobin
2de1603cd2 style fix 2020-05-20 21:19:04 +05:00
Nikita Zlobin
10c82ed7fe Rename x_win_round_corners() to x_win_corners_shape()
It's all job is to feel proper X11 shape.
2020-05-20 21:16:31 +05:00
Nikita Zlobin
73b7176e0b Reuse draw_rounded_rect() for xshape drawing 2020-05-20 21:15:01 +05:00
Nikita Zlobin
85ea8b8aa8 Separate some functions 2020-05-20 21:10:45 +05:00
Nikos Tsipinakis
791f514078
Merge pull request #715 from bergercookie/master
Change default for icon_position in dunstrc
2020-05-12 19:12:36 +02:00
Nikos Koukis
2bf4462154 Change default for icon_position in dunstrc 2020-05-10 11:45:18 +01:00
Nikita Zlobin
6b6b63da17 code style fix 2020-05-09 02:10:15 +05:00
Nikita Zlobin
296cea499c Compositor detection 2020-05-08 06:23:10 +05:00
Nikita Zlobin
0e35c6acb0 Use cairo to form xshape mask 2020-05-07 02:47:11 +05:00
Nikita Zlobin
5fd090e618 Frame internal radius 2020-05-06 22:27:39 +05:00
Nikos Tsipinakis
a9d32c4d78 Ignore compiled manpages in gitignore 2020-05-05 11:38:48 +02:00
Nikos Tsipinakis
289b4f50eb Remove const qualifier in queues_get_displayed
The returned node was theoretically read-only however all the other
nodes accessible do not inherit the qualifier. Since none of the glib
functions use const with Glib, even the read-only ones. There's no use
in having it.

This resolves the warning about g_list_nth_data.
2020-05-05 11:38:48 +02:00
Nikita Zlobin
dcf060effa Fix xshape mask rounding 2020-05-05 11:55:50 +05:00
Nikita Zlobin
d964455d36 oops: Keep ready for possible 32bit color lack 2020-05-05 00:56:19 +05:00
Nikita Zlobin
d3f6c05590 True transparency support 2020-05-04 19:45:02 +05:00
Nikita Zlobin
7a094bc702 Clear window to prevent accumulations 2020-05-04 19:06:53 +05:00
Nikita Zlobin
c09f0f029f style fix 2020-05-04 02:42:18 +05:00
Nikita Zlobin
dbbaecfd1d Fix indentation 2020-05-04 02:35:34 +05:00
Nikita Zlobin
16e38a9a84 Don't draw frame with zero line width 2020-05-03 22:03:47 +05:00
Nikita Zlobin
4c4dc9aa95 Fix ugly rounded corners 2020-05-03 22:03:47 +05:00
Nikos Tsipinakis
fb2ffd425e
Merge pull request #711 from mrossinek/dunstctl-toggle-pause
Allow toggling pause state via dunstctl
2020-05-02 10:05:48 +02:00
mrossinek
cfa8625699
Fix boolean negation 2020-05-02 10:01:51 +02:00
mrossinek
f868f51fcd
Fix embedded XML 2020-05-02 09:19:24 +02: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
337ff1edb5
Merge pull request #651 from bebehei/dunstctl
Implement a command line control (dunstctl)
2020-05-01 15:38:23 +02:00
Nikos Tsipinakis
50a55f2ff1 Mention dunstctl in dunst man page 2020-05-01 15:35:23 +02:00
Nikos Tsipinakis
6ba430a818 Add dunstctl man page 2020-05-01 15:35:23 +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
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
Nikos Tsipinakis
6b60c52ee1
Merge pull request #708 from cdown/mouse_fallback
follow=keyboard: Fall back to follow=mouse instead of XDefaultScreen()
2020-04-27 17:40:49 +02:00