Skip to content

Commit adcdf9f

Browse files
committed
Make machine sleep only while unplugged
1 parent f713744 commit adcdf9f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

personal/.config/hypr/hypridle.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ listener {
2828
}
2929

3030
listener {
31-
timeout = 900 # 15min
32-
on-timeout = systemctl suspend
31+
timeout = 900 # 15min
32+
on-timeout = systemd-ac-power || systemctl suspend # only suspend on battery
3333
}

0 commit comments

Comments
 (0)