feat!: added configs + restructuring
This commit is contained in:
49
config/hypr/hypridle.conf
Normal file
49
config/hypr/hypridle.conf
Normal file
@ -0,0 +1,49 @@
|
||||
# ___ ___ .__ .___.__
|
||||
# / | \ ___.__._____________|__| __| _/| | ____
|
||||
# / ~ < | |\____ \_ __ \ |/ __ | | | _/ __ \
|
||||
# \ Y /\___ || |_> > | \/ / /_/ | | |_\ ___/
|
||||
# \___|_ / / ____|| __/|__| |__\____ | |____/\___ >
|
||||
# \/ \/ |__| \/ \/
|
||||
#
|
||||
# https://wiki.hyprland.org/Hypr-Ecosystem/hypridle/
|
||||
# Configuration by Coby Powers
|
||||
|
||||
general {
|
||||
lock_cmd = pidof hyprlock || hyprlock
|
||||
unlock_cmd = pidof hyprlock && pkill -USR1 hyprlock
|
||||
before_sleep_cmd = loginctl lock-session
|
||||
after_sleep_cmd = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 180
|
||||
on-timeout = brightnessctl -s s 10
|
||||
on-resume = brightnessctl -r
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 180
|
||||
on-timeout = brightnessctl -sd asus::kbd_backlight s 0
|
||||
on-resume = brightnessctl -rd asus::kbd_backlight
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 300
|
||||
on-timeout = loginctl lock-session
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 600
|
||||
on-timeout = hyprctl dispatch dpms off
|
||||
on-resume = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 1200
|
||||
on-timeout = playerctl pause
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 1800
|
||||
on-timeout = systemctl suspend
|
||||
}
|
Reference in New Issue
Block a user