diff --git a/hypridle.conf b/hypridle.conf new file mode 100644 index 0000000..5814e96 --- /dev/null +++ b/hypridle.conf @@ -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 +} + diff --git a/hyprland.conf b/hyprland.conf index cb4b6cc..66624a1 100644 --- a/hyprland.conf +++ b/hyprland.conf @@ -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 ###