dotfiles/private_dot_config/hypr/autostart.conf
2025-04-09 13:43:14 +02:00

30 lines
829 B
Text

#################
### AUTOSTART ###
#################
# Set utility script path.
$scriptPath = ~/.config/hypr/scripts
# Unscale XWayland
xwayland {
force_zero_scaling = true
}
# Setup/run XDPH (xdg desktop portal)
exec-once = $scriptPath/resetxdgportal.sh # reset XDPH for screenshare
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # for XDPH
exec-once = dbus-update-activation-environment --systemd --all # for XDPH
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # for XDPH
# Start polkit agent
exec-once = systemctl --user start hyprpolkitagent
# Start idle management daemon
exec-once = hypridle
# Wallpaper
exec-once = hyprpaper & sleep 1 && $scriptPath/reloadwallpaper.sh
# Rice components
exec-once = waybar
exec-once = dunst &