summaryrefslogtreecommitdiff
path: root/dotfiles/hyprland/.config/hypr
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-08 21:34:07 -0600
committerCraig Jennings <c@cjennings.net>2026-02-08 21:34:07 -0600
commit54566b220c4310e7887cf7543053cee5e40a329a (patch)
tree07a397692e912da9efefa9159d5ecc63efafbafd /dotfiles/hyprland/.config/hypr
parent0ae72d5ae238066eb0feba650820792c0f84a0c6 (diff)
feat(archsetup): add slack with Wayland/DWM conditional
Add slack-desktop-wayland for Hyprland, slack-desktop for DWM. Update Claude startup prompts, fix Hyprland portal/waybar startup order, add signal-desktop Wayland .desktop override.
Diffstat (limited to 'dotfiles/hyprland/.config/hypr')
-rw-r--r--dotfiles/hyprland/.config/hypr/hyprland.conf13
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