added hypridle

This commit is contained in:
Maximilian Wagner 2025-06-21 17:28:29 +02:00
parent 665351aaac
commit 44a5aa2e93
2 changed files with 34 additions and 3 deletions

24
hypridle.conf Normal file
View File

@ -0,0 +1,24 @@
general {
lock_cmd = hyprlock
before_sleep_cmd = hyprlock --no-fade-in --immediate -q && sleep 0.5
inhibit_sleep = 3
}
listener {
timeout = 300
on-timeout = brightnessctl -c backlight -s set 10%
on-resume = brightnessctl -c backlight -r
}
listener {
timeout = 410
on-timeout = hyprctl dispatch dpms off
on-resume = hyprctl dispatch dpms on
}
listener {
timeout = 420
on-timeout = hyprlock --no-fade-in --immediate -q && systemctl suspend
}

View File

@ -7,19 +7,26 @@ monitor=eDP-1,highres,0x0,1.566667
monitor=,highres,auto,auto monitor=,highres,auto,auto
################# ##########################
### AUTOSTART ### ### AUTOSTART SERVICES ###
################# ##########################
exec-once = hyprpaper exec-once = hyprpaper
exec-once = hypridle
exec-once = waybar exec-once = waybar
exec-once = easyeffects --gapplication-service exec-once = easyeffects --gapplication-service
################### ###################
### pavucontrol ### ### pavucontrol ###
################### ###################
exec-once = [workspace 9 silent] pavucontrol exec-once = [workspace 9 silent] pavucontrol
exec-once = sleep 1.0 && killall pavucontrol exec-once = sleep 1.0 && killall pavucontrol
##############################
### AUTOSTART APPLICATIONS ###
##############################
exec-once = [workspace 4 silent] thunderbird
############# #############
### AUDIO ### ### AUDIO ###