Commit graph

20 commits

Author SHA1 Message Date
fc4e3bd2dc
Config: use hyprutils helper (#77)
* flake.lock: update

* config: use hyprutils helper

* Nix: add hyprutils dep

flake.lock: update
2024-07-16 22:36:07 +02:00
Elvyria
7c5747b785
core: re-register all notifications when idled and inhibit was released (#72) 2024-06-22 17:00:57 +02:00
Marcin Jaworski
a7a6b8f4f5
dbus: Separate ignore_systemd_inhibit config param, register ScreenSaver objects separately (#59)
* Don't register ScreenSaver object at all if ignore_dbus_inhibit is set. Introduce new ignore_systemd_inhibit config parameter.

* Ability to register org.freedesktop.ScreenSaver object under multiple paths. Add object under legacy /ScreenSaver path.

* Update documentation to reflect new configuration parameter.
2024-05-14 16:10:16 +01:00
Marcin Jaworski
50da2e7bf4
core: Add support for systemd-logind idle block inhibits (#57) 2024-05-13 22:22:06 +01:00
Lucas Reis
4395339a2d
core: Fix typo and check correct grandchild PID in spawn() (#34) 2024-03-11 18:14:34 +00:00
Anthony Ruhier
029f08805a
config: Add a -c|--config flag to set a config path (#25) 2024-02-29 16:19:33 +00:00
Jakub Konior
afee84925a
fix: repoll after inhibitor idled (#15)
* yep, but how to trigger it?

* stupid yet works

* forgot about lock
2024-02-27 21:22:15 +00:00
Jan Beich
790988d116
core: Catch sdbus-cpp exception to print better error (#19)
$ hypridle
[...]
[LOG] wayland done, registering dbus
Abort
2024-02-27 13:07:22 +00:00
LOSEARDES77
b85722e41a
core: fix missing headers (#18) 2024-02-22 10:33:19 +00:00
ItsDrike
158c52c4a7
dbus: Actually register inhibit cookies (#14)
* Actually register inhibit cookies

* Add unregistering logic

* Fix code style
2024-02-20 18:25:50 +00:00
ItsDrike
da2624628b
dbus: Send response on uninhibit (#13) 2024-02-20 00:57:34 +00:00
Jakub Konior
c26683b60d
idleinhibit: added less than 0 inhibitor mitigation (#11) 2024-02-19 21:41:52 +00:00
56f334cbe8 core: roundtrip after registering idle timers
fixes #7
2024-02-18 23:45:05 +00:00
afcef912d6 idle: ignore if inhibit locked 2024-02-18 14:58:39 +00:00
f6dd1ef9d6 dbus: handle before/after sleep in PrepareForSleep 2024-02-17 23:48:54 +00:00
9320017b63 dbus: support ScreenSaver interface 2024-02-17 23:24:01 +00:00
55410176d4 core: move to anonymous hyprlang categories 2024-02-17 22:41:19 +00:00
c8e0016fa5 core: throw hyprlang errors 2024-02-17 22:19:15 +00:00
36d7238afd core: add support for dbus events 2024-02-17 22:13:12 +00:00
9e8d11a964 core: initial commit 2024-02-17 19:30:11 +00:00