fwsmit
36186d37ea
Wayland: Implement foreign toplevel manager protocol
...
Used for detecting if there is a fullscreen application open.
2021-02-06 00:42:04 +01:00
fwsmit
d7f93a3a69
Wayland: added basic touch support
...
Copy pasted from mako. I could not test.
2021-02-02 23:33:26 +01:00
Nikos Tsipinakis
814e620247
Merge pull request #802 from fwSmit/environment-variables
...
Set environment variables for scripts
2021-01-30 18:06:36 +02:00
fwsmit
bc3de38aa7
Slightly simplify and document script executing
2021-01-29 10:43:10 +01:00
fwsmit
52134ab8ce
Add documentation for environment variables passed to scripts
2021-01-29 10:43:10 +01:00
fwsmit
0d5cbfcfce
Set environment variables for scripts
2021-01-29 10:43:10 +01:00
fwsmit
293d71264e
Add tests for icon path
...
I also fixed a test that was broken because of different behaviour.
Now the first icon path is returned instead of the first valid icon
path.
2021-01-29 10:43:10 +01:00
fwsmit
59f994ee94
Extract icon path function from get_pixbuf_from_icon
2021-01-29 10:43:10 +01:00
Nikos Tsipinakis
e90f605a52
Merge pull request #799 from fwSmit/doc-update
...
Split man pages
2021-01-27 22:44:50 +02:00
fwsmit
63103f991d
Update a few man page descriptions
2021-01-27 11:14:30 +01:00
fwsmit
d0dfaf0488
Improve docs
2021-01-27 11:14:30 +01:00
fwSmit
22d108f53e
Merge pull request #810 from GuessWhatBBQ/master
...
Adding a config variable that adds extra space between the notification icon and text
2021-01-27 11:12:13 +01:00
Nikos Tsipinakis
5d1b58559c
Merge pull request #798 from fwSmit/move-config
...
Change config location to /etc/dunst/dunstrc
2021-01-27 00:40:58 +02:00
Nikos Tsipinakis
c6638c30d5
Merge pull request #813 from fwSmit/colorize-tests
...
Colorize test output.
2021-01-27 00:11:23 +02:00
fwsmit
92bc6705ca
Colorize test output.
...
This adds a dependency on awk for testing.
Closes #812
2021-01-26 21:31:52 +01:00
GuessWhatBBQ
be8e32098f
Add the text_icon_padding feature as per #543
2021-01-26 12:18:04 +06:00
fwsmit
9615431593
Change config location to /etc/xdg/dunst/dunstrc
...
Also fixed the test-install script
2021-01-25 18:55:52 +01:00
Nikos Tsipinakis
7e9650ad95
Merge pull request #809 from mcz/screenfix
...
Fix process of gettign the active monitor
2021-01-24 12:20:14 +02:00
Mikau
ebcd20d8d0
Fix process of gettign the active monitor
...
- Get the window with keyboard focus using XGetInputFocus() instead of
_NET_ACTIVE_WINDOW
- Handle edge cases of keyboard/mouse focus being on different X screen
- Set sane default in case the active monitor can't be determined
(fixing issue #762 )
2021-01-23 22:21:48 +01:00
Nikos Tsipinakis
77bfbc4f7f
Merge pull request #781 from fwSmit/wayland-2
...
Add wayland support
2021-01-18 20:28:16 +02:00
fwsmit
3822f09185
Minor fixes
2021-01-18 17:50:57 +01:00
fwsmit
3ba614b59b
Move reason_string debug log to dbus.c
2021-01-09 21:54:56 +01:00
fwsmit
6a6cd6697f
Remove unnecesary code. Improve log messages
2021-01-09 21:54:56 +01:00
fwsmit
bb12727bc0
Make compiling for wayland optional
...
This can be changed in config.mk or by using the command
make WAYLAND=0
Also removed using_xwayland function definition as it isn't defined
anymore
2021-01-09 21:54:23 +01:00
fwsmit
5a20d463b5
Implement xwayland idle fix differently
2021-01-09 21:49:06 +01:00
fwsmit
af10f6f8cd
Fix indent
2021-01-09 21:49:06 +01:00
fwsmit
3441f4c68d
Change default layer to overlay, add note about pushback
2021-01-09 21:49:06 +01:00
fwsmit
756f822a6b
Fix notifications not disapearing on xwayland
...
Because idle detection on xwayland is not possible, just assume
that the user is not idle. This also somehow fixes notifications
not disapearing when clicking on them.
2021-01-09 21:49:06 +01:00
fwsmit
ae38efedbb
Update dunstrc with Wayland settings
2021-01-09 21:49:06 +01:00
fwsmit
7b26b4bd94
Update input.c
2021-01-09 21:49:06 +01:00
fwsmit
20eebb80e1
Simplify idle handling
2021-01-09 21:49:06 +01:00
fwsmit
c40e797e6b
improve error messages
2021-01-09 21:49:06 +01:00
fwsmit
b094074ff2
Free idle handler and remove unnecesary variables
2021-01-09 21:49:06 +01:00
fwsmit
25e1d0c442
Added option for forcing X11 on wayland.
...
Also added some more documentation.
2021-01-09 21:48:59 +01:00
fwsmit
836d044df8
Implement all options for output follow mode.
...
As far as I know, it's not possible to differentiate keyboard and
mouse focus, so they behave the same. This commit also fixes
a bug where a NULL pointer was dereferenced.
2020-12-28 15:17:12 +01:00
fwsmit
ac6093a577
Added setting for changing layer.
2020-12-28 15:17:05 +01:00
fwsmit
deabe2bacf
Wayland: fix bug where notification doesn't move after changing width.
2020-12-28 15:16:23 +01:00
fwsmit
859c18a2e9
Wayland: Add support for idle.
...
When the user doesn't have a seat, or their compositor doesn't support the idle
protocol, we'll assume that they are not idle.
Also, rename wl_output to something that doesn't exist yet.
2020-12-28 15:15:59 +01:00
fwsmit
74c5d97181
Fix Makefile
2020-12-28 15:15:59 +01:00
fwsmit
e5fec3326e
Wayland: optimize by making input code asyncronous
2020-12-28 15:15:59 +01:00
fwsmit
705e575d6d
Small fixes
2020-12-28 15:15:59 +01:00
fwsmit
32119a1df7
Wayland: handle mouse input
2020-12-28 15:15:59 +01:00
fwsmit
ed560eab4e
Fixed Makefile for building wayland
2020-12-28 15:15:59 +01:00
fwsmit
c1caf4bbc7
Set the right window position
2020-12-28 15:15:59 +01:00
fwsmit
72ceedd4db
Fix notification not disappearing
2020-12-28 15:15:59 +01:00
fwsmit
4a9c7693f4
update wayland branch to a new master
2020-12-28 15:15:59 +01:00
Nikos Tsipinakis
167d7dd7c3
Merge pull request #793 from ritze/get-number-of-notifications
...
Get the number of notifications
2020-12-28 13:49:32 +02:00
Moritz Luedecke
1827f0d974
Suffix "Length" to the dbus variables for the number of notifications
2020-12-25 15:03:50 +01:00
Nikos Tsipinakis
0e6997b6fc
Flush stdout when using -print
...
This ensures writes happen on every new notification when output is
redirected to a file.
Closes #794
2020-12-24 15:39:44 +02:00
Moritz Luedecke
4d74c7b46e
Rename the dunstctl sub-command 'status' to 'count'
2020-12-23 16:30:41 +01:00