added hypridle
This commit is contained in:
parent
665351aaac
commit
44a5aa2e93
24
hypridle.conf
Normal file
24
hypridle.conf
Normal 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
|
||||
}
|
||||
|
@ -7,19 +7,26 @@ monitor=eDP-1,highres,0x0,1.566667
|
||||
monitor=,highres,auto,auto
|
||||
|
||||
|
||||
#################
|
||||
### AUTOSTART ###
|
||||
#################
|
||||
##########################
|
||||
### AUTOSTART SERVICES ###
|
||||
##########################
|
||||
exec-once = hyprpaper
|
||||
exec-once = hypridle
|
||||
exec-once = waybar
|
||||
exec-once = easyeffects --gapplication-service
|
||||
|
||||
|
||||
###################
|
||||
### pavucontrol ###
|
||||
###################
|
||||
exec-once = [workspace 9 silent] pavucontrol
|
||||
exec-once = sleep 1.0 && killall pavucontrol
|
||||
|
||||
##############################
|
||||
### AUTOSTART APPLICATIONS ###
|
||||
##############################
|
||||
exec-once = [workspace 4 silent] thunderbird
|
||||
|
||||
|
||||
#############
|
||||
### AUDIO ###
|
||||
|
Loading…
x
Reference in New Issue
Block a user