dotfiles/private_dot_config/hypr/autostart.conf
2025-03-11 19:56:35 +01:00

28 lines
771 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
# Rice components
exec-once = hyprpaper
exec-once = waybar
exec-once = dunst &