Merge pull request #288 from aifrim/swayosd-cfg

full swayosd integration
This commit is contained in:
David Heinemeier Hansson
2025-07-23 11:46:15 -04:00
committed by GitHub
15 changed files with 108 additions and 1 deletions

View File

@ -24,12 +24,13 @@ main_menu() {
update_menu() {
show_ascii_art
local menu=("Omarchy" "Waybar" "Walker" "Plymouth" "Desktop apps" "Back")
local menu=("Omarchy" "Waybar" "Walker" "Plymouth" "SwayOSD" "Desktop apps" "Back")
local commands=(
"omarchy-update"
"omarchy-refresh-waybar"
"omarchy-refresh-walker"
"omarchy-refresh-plymouth"
"omarchy-refresh-swayosd"
"omarchy-refresh-applications"
"main_menu"
)

13
bin/omarchy-refresh-swayosd Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
cp -f ~/.config/swayosd/config.toml ~/.config/swayosd/config.toml.back 2>/dev/null
cp -f ~/.local/share/omarchy/config/walker/config.toml ~/.config/swayosd 2>/dev/null
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
uwsm app -- swayosd-server --gapplication-service &

View File

@ -40,6 +40,7 @@ pkill -SIGUSR2 btop
# Restart components to apply new theme
pkill -SIGUSR2 waybar
pkill -SIGUSR2 swayosd-server
makoctl reload
hyprctl reload