Maximilian Seidler
15ca902b2c
core: implement hyprlock-lock-notify-v1 functionality ( #122 )
...
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2025-01-27 14:24:13 +01:00
André Silva
4d2fb9e73e
core: handleDbusScreensaver must return uint32 ( #98 )
2024-10-23 11:39:20 +01:00
Vaxry
127317f822
core: move to sdbus-cpp2 ( #96 )
...
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
2024-10-23 00:45:24 +01:00
André Silva
0ed59e861c
core: release inhibit cookies on app disconnect from dbus ( #93 )
...
* core: release inhibit cookies on app disconnect from dbus
* core: clang-format
2024-10-20 23:04:37 +01:00
gnusenpai
e5366d34b5
core: Fix running without logind ( #76 )
...
* dbus: Move logind matches inside try-catch
* core: Don't exit when logind is absent
logind being missing is non-fatal
2024-07-18 22:03:02 +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
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
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