Script to use with Arch Hyprland if you decide to uninstall upower and would also like to use something like system76-power along with system76-power-GUI.
Go to file
G34RZ 7e84b7accc Update lid-power-manager.sh
Removed the ridiculous sudo crap and user specific parts since hyprland is ran as the user and there is no need for root. Inporvments right Also no need for the notify send nagging.
2025-04-18 08:03:18 -07:00
LICENSE Initial commit 2025-04-17 14:20:42 -07:00
README.md Update README.md 2025-04-17 14:36:22 -07:00
lid-power-manager.sh Update lid-power-manager.sh 2025-04-18 08:03:18 -07:00

README.md

Lid-Power-Manger

Script to use with Arch Hyprland if you decide to uninstall upower and would also like to use something like system76-power along with system76-power-GUI. Just add to your Hyprland config or any other WM really. You should change the user line to your user. If you need to change your keyboard backlight, or brightnessctl to light then rename them before runnug it. You might even be able to run it on other distrobutions.

Dependencies: systemd brightnessctl

Add to hyprland.conf, Just add to your location

exec-once=~/.config/hypr/bin/lid-handler.sh