Integrate swaybg and swayosd into the new shell

This commit is contained in:
David Heinemeier Hansson
2026-05-16 20:34:09 +02:00
parent 83e7f41308
commit 1eab0cffc9
48 changed files with 665 additions and 353 deletions
-6
View File
@@ -1,6 +0,0 @@
echo "Install swayOSD to show volume status"
if omarchy-cmd-missing swayosd-server; then
omarchy-pkg-add swayosd
setsid uwsm-app -- swayosd-server &>/dev/null &
fi
-9
View File
@@ -1,9 +0,0 @@
echo "Adding SwayOSD theming"
if [[ ! -d ~/.config/swayosd ]]; then
mkdir -p ~/.config/swayosd
cp -r ~/.local/share/omarchy/config/swayosd/* ~/.config/swayosd/
pkill swayosd-server
setsid uwsm-app -- swayosd-server &>/dev/null &
fi
-6
View File
@@ -1,6 +0,0 @@
echo "Set SwayOSD max volume back to 100"
if ! grep -q "max_volume = 100" ~/.config/swayosd/config.toml; then
sed -i 's/max_volume = 150/max_volume = 100/' ~/.config/swayosd/config.toml
omarchy-restart-swayosd
fi
-8
View File
@@ -1,8 +0,0 @@
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
pkill -x swayosd-server || true
bash "$OMARCHY_PATH/install/first-run/swayosd.sh"
+5 -1
View File
@@ -1,4 +1,4 @@
echo "Flip from waybar + mako to omarchy-shell (quickshell-backed bar and notifications)"
echo "Flip from waybar + mako + swaybg to omarchy-shell (quickshell-backed bar and notifications)"
omarchy-pkg-add quickshell
@@ -17,4 +17,8 @@ if [[ -d ~/.config/waybar ]]; then
fi
rm -f ~/.local/state/omarchy/toggles/waybar-off
# swaybg is replaced with integrated background in shell
pkill -x swaybg 2>/dev/null || true
omarchy-pkg-drop swaybg
omarchy-restart-shell