chore: 🧹 Changed to ssh key signing with new ssh key
This commit is contained in:
+9
-18
@@ -1,28 +1,19 @@
|
||||
general {
|
||||
lock_cmd = omarchy-system-lock # lock screen and 1password
|
||||
before_sleep_cmd = loginctl lock-session # lock before suspend.
|
||||
after_sleep_cmd = sleep 1 && hyprctl dispatch dpms on # delay for PAM readiness, then turn on display.
|
||||
before_sleep_cmd = OMARCHY_LOCK_ONLY=true omarchy-system-lock # lock before suspend without scheduling display off.
|
||||
after_sleep_cmd = sleep 1 && omarchy-system-wake # delay for PAM readiness, then turn on display.
|
||||
inhibit_sleep = 3 # wait until screen is locked
|
||||
}
|
||||
|
||||
# Start screensaver after 2.5 minutes
|
||||
listener {
|
||||
timeout = 150 # 2.5min
|
||||
on-timeout = pidof hyprlock || omarchy-launch-screensaver # start screensaver (if we haven't locked already)
|
||||
timeout = 150
|
||||
on-timeout = pidof hyprlock || omarchy-launch-screensaver
|
||||
}
|
||||
|
||||
# Lock system after 5 minutes (screensaver resets idle timer, so have to just do half + 2s margin)
|
||||
listener {
|
||||
timeout = 300 # 5min
|
||||
on-timeout = loginctl lock-session # lock screen when timeout has passed
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 330 # 5.5min
|
||||
on-timeout = brightnessctl -sd '*::kbd_backlight' set 0 # save state and turn off keyboard backlight
|
||||
on-resume = brightnessctl -rd '*::kbd_backlight' # restore keyboard backlight
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 600 # 10min
|
||||
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
|
||||
on-resume = hyprctl dispatch dpms on && brightnessctl -r # screen on when activity is detected
|
||||
timeout = 152
|
||||
on-timeout = omarchy-system-lock
|
||||
on-resume = omarchy-system-wake
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user