mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
* Run SwayOSD as a session service * Restart SwayOSD after clean exits * We don't need the input backend (as we manage the hotkeys in Hyprland) * Ensure we cleanup the old service starter * Not needed * Not needed either * Clean up migration --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
13 lines
413 B
Bash
13 lines
413 B
Bash
echo "Run SwayOSD as a supervised session service"
|
|
|
|
mkdir -p ~/.config/systemd/user
|
|
cp "$OMARCHY_PATH/config/systemd/user/swayosd-server.service" ~/.config/systemd/user/swayosd-server.service
|
|
|
|
if [[ -f ~/.config/hypr/autostart.conf ]]; then
|
|
sed -i '/^exec-once = uwsm-app -- swayosd-server$/d' ~/.config/hypr/autostart.conf
|
|
fi
|
|
|
|
pkill -x swayosd-server || true
|
|
|
|
bash "$OMARCHY_PATH/install/first-run/swayosd.sh"
|