dotfiles/bin/hyprxdg

17 lines
329 B
Bash
Executable file

#!/usr/bin/env sh
set -x
# Directory for SSH control sockets
mkdir -p -- "${XDG_RUNTIME_DIR}/ssh" &
# Start PipeWire
killall pipewire wireplumber
pipewire &
pipewire -c pipewire-pulse.conf &
sleep 1
wireplumber &
# Update DBus environment variables
dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
wait