diff --git a/bin/xdg-session-start b/bin/hyprxdg similarity index 50% rename from bin/xdg-session-start rename to bin/hyprxdg index 6818922..8e82dd7 100755 --- a/bin/xdg-session-start +++ b/bin/hyprxdg @@ -1,10 +1,16 @@ #!/bin/sh -mkdir -p "${XDG_RUNTIME_DIR}/ssh" & -dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP -/usr/lib/xdg-desktop-portal-wlr & +# Directory for SSH control sockets +mkdir -p "${XDG_RUNTIME_DIR}/ssh" & + +# Update DBus environment variables +dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP + +# Start the XDG desktop portal +/usr/lib/xdg-desktop-portal-hyprland & + +# Start PipeWire sleep 1 artix-pipewire-launcher restart & -waybar wait