dotfiles/bin/hyprxdg

16 lines
328 B
Bash
Executable file

#!/bin/sh
# 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 &
wait