martin
a0037ac40c
config: add support for source
option for additional config files ( #144 )
...
Build / nix (push) Has been cancelled
* feat: support `source` option for additional config files
* fix: prevent circular dependency
2025-05-02 17:27:53 +02:00
Honkazel
b18d830276
clang-tidy: fix some errors ( #143 )
2025-04-22 23:23:57 +02:00
Maximilian Seidler
66d1815b5e
core: log when ScreenSaver interface is already registered ( #133 )
...
and hint that hyprilde may already be running.
2025-03-30 01:29:55 +01:00
vaxerski
84f9f2e127
version: bump to 0.1.6
2025-03-28 14:17:06 +00:00
davc0n
71e875e49e
assets: update example.conf ( #137 )
...
Replace current with example from wiki.
Better base for a real use case scenario.
2025-03-19 16:14:53 +01:00
Maximilian Seidler
9d97c22883
core: fix sleep delay and simplify process spawning ( #127 )
...
* core: fix sleep delay and simplify process spawning
* core: duplicate the inhibit fd with F_DUPFD_CLOEXEC
* nullptr and static
* core: use hyprutils CProcess
2025-02-28 00:16:45 +01:00
Honkazel
3e30a63b5d
core: clang-tidy and comp fixes ( #126 )
...
* clang-tidy and comp fixes
* make cookieID uint32_t
Why we should cast, when we can avoid it?
2025-02-13 17:55:17 +01:00
Mihai Fufezan
cf5b4dab9d
CI: remove deprecated magic-nix-cache-action
2025-02-08 23:07:58 +02:00
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
Mihai Fufezan
33ac8cae64
flake.lock: update
2025-01-23 14:32:36 +02:00
Austin Horstman
413564cb98
nix/overlays: gcc13 -> gcc14; flake.lock: update ( #116 )
...
* nix/overlays: gcc13 -> gcc14
* flake.lock: update
2024-12-16 22:22:40 +01:00
Vaxry
9f23e70bb4
core: add --version
2024-11-18 19:42:36 +00:00
Vaxry
26780ac51f
version: bump to 0.1.5
2024-11-02 15:29:47 +00:00
André Silva
4d2fb9e73e
core: handleDbusScreensaver must return uint32 ( #98 )
2024-10-23 11:39:20 +01:00
Vaxry
af2d65dcdc
version: update to 0.1.4
2024-10-23 00:47:25 +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
Vaxry
918fd78dec
version: bump to 0.1.3
2024-10-21 19:08:05 +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
André Silva
22b058b47a
nix: add wayland-scanner native build input
2024-09-01 18:20:25 +03: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
Erik Tollerud
96d51ec2a7
CMake: typo fix hyprlock->hypridle ( #82 )
2024-08-02 23:49:02 +03:00
Mihai Fufezan
f84c2d7981
assets: add example.conf
2024-08-02 22:19:47 +03: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
Mihai Fufezan
9163a9f318
flake.lock: update
2024-07-18 20:43:36 +03:00
Mihai Fufezan
ee6ca4d6c5
CMake: fmt
2024-07-18 20:43:28 +03:00
Mihai Fufezan
2d774e6f32
CMake, Nix: add VERSION file
2024-07-18 20:42:35 +03:00
Mihai Fufezan
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
Mihai Fufezan
cb169c4e06
nix/hm-module: remove
2024-05-21 19:46:17 +03:00
Daniel Horton
afa6e21b88
README: Fixed getconf command in build instructions ( #60 )
...
getconf NPROCESSORS_CONF isn't a valid command. The correct command is getconf _NPROCESSORS_CONF.
2024-05-14 16:12:55 +01: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
Vaxry
7cff4581a3
props: bump version to 0.1.2
2024-04-18 21:34:42 +01:00
alba4k
eb916db19c
fix systemd service exec path
2024-04-17 09:35:26 +03:00
Mihai Fufezan
01772b32af
flake.lock: update
2024-04-15 23:55:20 +03:00
alba4k
72a6b38b15
fix systemd service install path
2024-04-12 21:53:15 +03:00
Aaron Blasko
dad6ac14df
Add systemd service ( #45 )
2024-04-12 21:16:49 +03: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
Mihai Fufezan
cc465d04d6
Nix: refactor flake
2024-02-29 15:09:56 +02:00
Vaxry
6ea4e04532
cmake: bump ver to 0.1.1
2024-02-28 16:05:44 +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
Mihai Fufezan
b9c94ed827
flake.lock: update nixpkgs
2024-02-24 17:13:26 +02:00
LOSEARDES77
b85722e41a
core: fix missing headers ( #18 )
2024-02-22 10:33:19 +00:00
Mathis H
a180de7bc7
nix: add default empty list for listeners option
2024-02-22 01:00:30 +02: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