summaryrefslogtreecommitdiff
path: root/dotfiles/hyprland/.config/hypr
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-28 06:57:24 -0600
committerCraig Jennings <c@cjennings.net>2026-01-28 06:57:24 -0600
commitd1660f7c7cf90314222319378fea4ffe87f4671f (patch)
tree381e3bde1c1fb05aabeceacf4698d5db4bec232d /dotfiles/hyprland/.config/hypr
parentd4d997653574b5a00c01f02a3fb45001cd86c2f4 (diff)
fix(hyprland): resolve waybar 25s startup delay and separate X11 dotfiles
- Add portals.conf with Settings=none to prevent D-Bus timeout - Reorder exec-once: portal/dbus first, then services, then apps - Move X11-specific dotfiles from common/ to dwm/ (Xresources, xinitrc, picom, redshift, conky, flameshot, touchpad-indicator) - Delete obsolete xdg-desktop-portal-gtk drop-in from common/
Diffstat (limited to 'dotfiles/hyprland/.config/hypr')
-rw-r--r--dotfiles/hyprland/.config/hypr/hyprland.conf27
1 files changed, 22 insertions, 5 deletions
diff --git a/dotfiles/hyprland/.config/hypr/hyprland.conf b/dotfiles/hyprland/.config/hypr/hyprland.conf
index 2cc42e3..67604c0 100644
--- a/dotfiles/hyprland/.config/hypr/hyprland.conf
+++ b/dotfiles/hyprland/.config/hypr/hyprland.conf
@@ -10,22 +10,32 @@ monitor=,preferred,auto,auto
# ============================================================================
# Startup Applications
# ============================================================================
+# Portal and D-Bus setup FIRST (other apps depend on these)
+exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
+exec-once = systemctl --user start xdg-desktop-portal-hyprland xdg-desktop-portal
+
+# Core services
exec-once = hyprpm reload && sleep 1 && hyprctl dismissnotify -1
-exec-once = waybar > ~/.local/var/log/waybar-$(date +%Y-%m-%d-%H%M%S).log 2>&1
-exec-once = swww-daemon && sleep 1 && swww img ~/pictures/wallpaper/trondheim-norway.jpg
+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
+
+# Desktop appearance (after portal is ready)
+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
+exec-once = set-theme "$(cat ~/.config/current-theme 2>/dev/null || echo hudson)"
+
+# Background services
exec-once = hypridle > ~/.local/var/log/hypridle-$(date +%Y-%m-%d-%H%M%S).log 2>&1
exec-once = /usr/lib/geoclue-2.0/demos/agent
exec-once = gammastep > ~/.local/var/log/gammastep-$(date +%Y-%m-%d-%H%M%S).log 2>&1
exec-once = blueman-applet
exec-once = easyeffects --gapplication-service
-exec-once = /usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh
-exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = mpd
+
+# Apps that can start later
exec-once = signal-desktop --start-in-tray --ozone-platform=wayland
exec-once = protonmail-bridge --no-window
exec-once = insync start
-exec-once = set-theme "$(cat ~/.config/current-theme 2>/dev/null || echo hudson)"
# ============================================================================
# Environment Variables
@@ -107,6 +117,13 @@ misc {
}
# ============================================================================
+# Debug (temporary - disable when stable)
+# ============================================================================
+debug {
+ disable_logs = false
+}
+
+# ============================================================================
# XWayland
# ============================================================================
xwayland {