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:
|
everything in `./hyprland-ricing.txt`, in addition to:
|
||||||
|
|
||||||
swayidle # hypridle shows a warning on Niri, so better to use another one
|
|
||||||
swww
|
swww
|
||||||
xwayland-satellite
|
xwayland-satellite
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ listener {
|
|||||||
|
|
||||||
listener {
|
listener {
|
||||||
timeout = 300 # 5mins
|
timeout = 300 # 5mins
|
||||||
on-timeout = hyprctl dispatch dpms off
|
on-timeout = hyprctl dispatch dpms off || niri msg action power-off-monitors
|
||||||
on-resume = hyprctl dispatch dpms on
|
on-resume = hyprctl dispatch dpms on || true
|
||||||
}
|
}
|
||||||
|
|
||||||
#listener {
|
#listener {
|
||||||
|
|||||||
@@ -137,7 +137,7 @@ spawn-at-startup "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1"
|
|||||||
spawn-at-startup "mako"
|
spawn-at-startup "mako"
|
||||||
|
|
||||||
// idle
|
// idle
|
||||||
spawn-sh-at-startup "niri-swayidle"
|
spawn-sh-at-startup "hypridle"
|
||||||
|
|
||||||
// Clipboard history
|
// Clipboard history
|
||||||
spawn-sh-at-startup "wl-paste --type text --watch cliphist store"
|
spawn-sh-at-startup "wl-paste --type text --watch cliphist store"
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
"custom/mediaplayer"
|
"custom/mediaplayer"
|
||||||
],
|
],
|
||||||
"modules-center": ["clock"],
|
"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
|
// Modules
|
||||||
// -------------------------------------------------------------------------
|
// -------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user