ssh in lan
This commit is contained in:
@@ -29,14 +29,14 @@ let
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 10
|
||||
timeout = 4
|
||||
on-timeout = loginctl lock-session
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 15
|
||||
on-timeout = hyprctl dispatch dpms off
|
||||
on-resume = hyprctl dispatch dpms on
|
||||
timeout = 5
|
||||
on-timeout = hyprctl dispatch 'hl.dsp.dpms({ action = "off" })'
|
||||
on-resume = hyprctl dispatch 'hl.dsp.dpms({ action = "on" })'
|
||||
}
|
||||
# No suspend listener.
|
||||
'';
|
||||
@@ -45,7 +45,7 @@ let
|
||||
general {
|
||||
lock_cmd = pidof hyprlock || hyprlock
|
||||
before_sleep_cmd = loginctl lock-session
|
||||
after_sleep_cmd = hyprctl dispatch dpms on
|
||||
after_sleep_cmd = hyprctl dispatch 'hl.dsp.dpms({ action = "on" })'
|
||||
}
|
||||
|
||||
listener {
|
||||
@@ -55,8 +55,8 @@ let
|
||||
|
||||
listener {
|
||||
timeout = 660
|
||||
on-timeout = hyprctl dispatch dpms off
|
||||
on-resume = hyprctl dispatch dpms on
|
||||
on-timeout = hyprctl dispatch 'hl.dsp.dpms({ action = "off" })'
|
||||
on-resume = hyprctl dispatch 'hl.dsp.dpms({ action = "on" })'
|
||||
}
|
||||
|
||||
listener {
|
||||
|
||||
Reference in New Issue
Block a user