some cleanup, back to wpa_supplicant, about to branch for refactor
This commit is contained in:
parent
29f9ba670f
commit
7b061e6cd8
33 changed files with 2225 additions and 449 deletions
50
dotfiles/dot_config/hypr/hypridle.conf
Normal file
50
dotfiles/dot_config/hypr/hypridle.conf
Normal file
|
@ -0,0 +1,50 @@
|
|||
general {
|
||||
lock_cmd = pidof hyprlock || hyprlock
|
||||
before_sleep_cmd = loginctl lock-session
|
||||
}
|
||||
|
||||
# battery timers
|
||||
listener {
|
||||
timeout = 30
|
||||
on-timeout = systemd-ac-power || light -S 0
|
||||
on-resume = systemd-ac-power || light -I
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 30
|
||||
on-timeout = systemd-ac-power || light -s razer/0003:1532:02B6.0004/backlight -S 0
|
||||
on-resume = systemd-ac-power || light -s razer/0003:1532:02B6.0004/backlight -S 40
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 120
|
||||
on-timeout = systemd-ac-power || systemd-ac-power && loginctl lock-session
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 600
|
||||
on-timeout = systemd-ac-power || systemctl suspend
|
||||
}
|
||||
|
||||
# ac power timers
|
||||
listener {
|
||||
timeout = 60
|
||||
on-timeout = systemd-ac-power && light -S 0
|
||||
on-resume = systemd-ac-power && light -I
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 60
|
||||
on-timeout = systemd-ac-power && light -s razer/0003:1532:02B6.0004/backlight -S 0
|
||||
on-resume = systemd-ac-power && light -s razer/0003:1532:02B6.0004/backlight -S 40
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 300
|
||||
on-timeout = systemd-ac-power && loginctl lock-session
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 1800
|
||||
on-timeout = systemd-ac-power && systemctl suspend
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue