2025-07-23 01:38:05 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
2025-07-23 11:53:04 -04:00
|
|
|
cp -f ~/.config/swayosd/config.toml ~/.config/swayosd/config.toml.bak 2>/dev/null
|
|
|
|
cp -f ~/.local/share/omarchy/config/swayosd/config.toml ~/.config/swayosd 3>/dev/null
|
2025-07-23 01:38:05 +03:00
|
|
|
|
|
|
|
if cmp -s ~/.config/swayosd/config.toml.bak ~/.config/swayosd/config.toml; then
|
|
|
|
rm ~/.config/swayosd//config.toml.bak
|
|
|
|
else
|
|
|
|
echo -e "\e[31mExisting .config/swayosd/config.toml replaced with new Omarchy default, but a .bak file was made.\e[0m"
|
|
|
|
fi
|
|
|
|
|
|
|
|
pkill swayosd-server
|
2025-07-23 11:53:04 -04:00
|
|
|
setsid uwsm app -- swayosd-server &>/dev/null &
|