Hypr: tidy env setup and laptop idle guard
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user