mirror of
https://github.com/hyprwm/hypridle.git
synced 2024-11-16 23:25:58 +01:00
777 B
777 B
hypridle
Hyprland's idle daemon
Configuration
Configuration is done via ~/.config/hypr/hypridle.conf
in the standard
hyprland syntax.
listener {
timeout = 500 # in seconds
on-timeout = notify-send "You are idle!" # command to run when timeout has passed
on-resume = notify-send "Welcome back!" # command to run when activity is detected after timeout has fired.
}
Dependencies
- wayland
- wayland-protocols
- hyprlang >= 0.4.0
Building & Installation
Building:
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -S . -B ./build
cmake --build ./build --config Release --target hypridle -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
Installation:
sudo cmake --install build