summaryrefslogtreecommitdiff
path: root/dotfiles/hyprland/.config
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/hyprland/.config')
-rw-r--r--dotfiles/hyprland/.config/hypr/hyprland.conf8
1 files changed, 5 insertions, 3 deletions
diff --git a/dotfiles/hyprland/.config/hypr/hyprland.conf b/dotfiles/hyprland/.config/hypr/hyprland.conf
index 12efa23..e03e18e 100644
--- a/dotfiles/hyprland/.config/hypr/hyprland.conf
+++ b/dotfiles/hyprland/.config/hypr/hyprland.conf
@@ -12,11 +12,13 @@ monitor=,preferred,auto,auto
# ============================================================================
# Portal and D-Bus setup FIRST, then waybar (needs portal for appearance query)
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP HYPRLAND_INSTANCE_SIGNATURE
-# Portal restart (not start) reconnects stale portals on Hyprland restart; waybar
-# chained after so it doesn't block 25s waiting for a dead portal's appearance query
-exec-once = systemctl --user restart xdg-desktop-portal-hyprland xdg-desktop-portal && waybar > ~/.local/var/log/waybar-$(date +%Y-%m-%d-%H%M%S).log 2>&1
+# Portal restart (not start) reconnects stale portals on Hyprland restart.
+# Backend portals (GTK, Hyprland) must restart BEFORE the main portal to avoid
+# a 50s GTK settings proxy timeout. Waybar starts after portals are ready.
+exec-once = systemctl --user restart xdg-desktop-portal-hyprland xdg-desktop-portal-gtk && systemctl --user restart xdg-desktop-portal && waybar > ~/.local/var/log/waybar-$(date +%Y-%m-%d-%H%M%S).log 2>&1
# Core services
+exec-once = /usr/lib/polkit-kde-authentication-agent-1
exec-once = /usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh
exec-once = dunst > ~/.local/var/log/dunst-$(date +%Y-%m-%d-%H%M%S).log 2>&1
exec-once = hyprland-plugins-setup && sleep 1 && hyprctl dismissnotify -1