hypridle seems to work just fine, so farewell swayidle
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user