hypridle seems to work just fine, so farewell swayidle

This commit is contained in:
2025-10-08 01:44:25 +02:00
parent 760d6ee760
commit c3fbdb335e
4 changed files with 4 additions and 5 deletions

View File

@@ -2,6 +2,5 @@ things I have installed:
everything in `./hyprland-ricing.txt`, in addition to:
swayidle # hypridle shows a warning on Niri, so better to use another one
swww
xwayland-satellite

View File

@@ -13,8 +13,8 @@ listener {
listener {
timeout = 300 # 5mins
on-timeout = hyprctl dispatch dpms off
on-resume = hyprctl dispatch dpms on
on-timeout = hyprctl dispatch dpms off || niri msg action power-off-monitors
on-resume = hyprctl dispatch dpms on || true
}
#listener {

View File

@@ -137,7 +137,7 @@ spawn-at-startup "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1"
spawn-at-startup "mako"
// idle
spawn-sh-at-startup "niri-swayidle"
spawn-sh-at-startup "hypridle"
// Clipboard history
spawn-sh-at-startup "wl-paste --type text --watch cliphist store"

View File

@@ -17,7 +17,7 @@
"custom/mediaplayer"
],
"modules-center": ["clock"],
"modules-right": ["group/monitors", "custom/separator", "group/tray-expander", "custom/caffeine", "custom/power"],
"modules-right": ["group/monitors", "custom/separator", "group/tray-expander", "idle_inhibitor", "custom/power"],
// -------------------------------------------------------------------------
// Modules
// -------------------------------------------------------------------------