diff --git a/.config/hypr/conf.d/50-autostart.conf##hostname.cn-arch b/.config/hypr/conf.d/50-autostart.conf##hostname.cn-arch index a223048..a3becf2 100644 --- a/.config/hypr/conf.d/50-autostart.conf##hostname.cn-arch +++ b/.config/hypr/conf.d/50-autostart.conf##hostname.cn-arch @@ -1,9 +1,9 @@ # ~/.config/hypr/conf.d/50-autostart.conf +exec-once = dbus-update-activation-environment --all exec-once = uwsm app -- swaync exec-once = uwsm app -- waybar exec-once = xsettingsd -exec-once = hyprsunset exec-once = ~/.config/waybar/scripts/hyprsunset_daemon.sh exec-once = hyprpaper -c $HOME/.config/hyprpaper.conf diff --git a/.config/hypr/conf.d/50-autostart.conf##hostname.viking-mate b/.config/hypr/conf.d/50-autostart.conf##hostname.viking-mate index 0d9ec85..bd40d1c 100644 --- a/.config/hypr/conf.d/50-autostart.conf##hostname.viking-mate +++ b/.config/hypr/conf.d/50-autostart.conf##hostname.viking-mate @@ -14,5 +14,4 @@ exec-once = bash -lc 'command -v nm-applet >/dev/null && nm-applet &' exec-once = bash -lc 'command -v blueman-applet >/dev/null && blueman-applet &' -exec-once = pkill mako; mako exec-once = pkill wl-paste; wl-paste -t text --watch clipman store diff --git a/.config/hypr/hypridle.conf##hostname.viking-mate b/.config/hypr/hypridle.conf##hostname.viking-mate index 5230c2e..04e89d6 100644 --- a/.config/hypr/hypridle.conf##hostname.viking-mate +++ b/.config/hypr/hypridle.conf##hostname.viking-mate @@ -1,11 +1,13 @@ # Same as cn-arch: lock at 10 min, screen off at 15 min. +# Brightness dimmer (requires brightnessctl) listener { timeout = 300 - on-timeout = brightnessctl --save && brightnessctl set 25% - on-resume = brightnessctl --restore + on-timeout = bash -lc "command -v brightnessctl >/dev/null && brightnessctl --save && brightnessctl set 25%" + on-resume = bash -lc "command -v brightnessctl >/dev/null && brightnessctl --restore" } + general { lock_cmd = hyprlock before_sleep_cmd = hyprlock