diff options
Diffstat (limited to 'dotfiles/hyprland/.config/hypr/hyprland.conf')
| -rw-r--r-- | dotfiles/hyprland/.config/hypr/hyprland.conf | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/dotfiles/hyprland/.config/hypr/hyprland.conf b/dotfiles/hyprland/.config/hypr/hyprland.conf index 1c4e17c..55a7c35 100644 --- a/dotfiles/hyprland/.config/hypr/hyprland.conf +++ b/dotfiles/hyprland/.config/hypr/hyprland.conf @@ -10,18 +10,19 @@ monitor=,preferred,auto,auto # ============================================================================ # Startup Applications # ============================================================================ -# Portal and D-Bus setup FIRST (other apps depend on these) +# 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 -exec-once = systemctl --user start xdg-desktop-portal-hyprland xdg-desktop-portal +# 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 # Core services 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 -# Desktop appearance (after portal is ready) +# Desktop appearance exec-once = swww-daemon && sleep 1 && swww img ~/pictures/wallpaper/trondheim-norway.jpg -exec-once = waybar > ~/.local/var/log/waybar-$(date +%Y-%m-%d-%H%M%S).log 2>&1 # Background services exec-once = hypridle > ~/.local/var/log/hypridle-$(date +%Y-%m-%d-%H%M%S).log 2>&1 @@ -33,8 +34,8 @@ exec-once = mpd # Pyprland (scratchpads, magnify, etc.) exec-once = pypr -# Apps that can start later -exec-once = signal-desktop --start-in-tray --ozone-platform=wayland +# Apps that can start later (sleep ensures waybar tray is registered) +exec-once = sleep 1 && signal-desktop --start-in-tray --ozone-platform=wayland exec-once = protonmail-bridge --no-window exec-once = insync start |
