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
Eduard Tykhoniuk
cc23f97836
core: Do not crash if the last CLI parameter was -c ( #92 )
...
* fix: Do not crash if the last CLI parameter was -c
* feat: return an error if the next argument after -c is a flag
* feat: return an error if multiple config files are provided
2024-09-25 10:41:09 +01:00
BBaoVanC
a46cd0bb05
logs: Flush buffer automatically ( #88 )
2024-08-27 21:01:19 +02:00
BBaoVanC
01a63fcf5a
misc: Include Log.hpp in main ( #87 )
...
It is already included because of ConfigManager.hpp, but that should not
be relied on as logging is also directly used in the main function.
2024-08-27 20:41:54 +02: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
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