Integrate swaybg and swayosd into the new shell
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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"
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user