mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Fix the vibe coding hallucinations from swayosd theming
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
#!/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
|
||||
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
|
||||
|
||||
if cmp -s ~/.config/swayosd/config.toml.bak ~/.config/swayosd/config.toml; then
|
||||
rm ~/.config/swayosd//config.toml.bak
|
||||
@ -10,4 +10,4 @@ else
|
||||
fi
|
||||
|
||||
pkill swayosd-server
|
||||
uwsm app -- swayosd-server --gapplication-service &
|
||||
setsid uwsm app -- swayosd-server &>/dev/null &
|
||||
|
@ -35,12 +35,11 @@ fi
|
||||
# Trigger alacritty config reload
|
||||
touch "$HOME/.config/alacritty/alacritty.toml"
|
||||
|
||||
# Trigger btop config reload
|
||||
pkill -SIGUSR2 btop
|
||||
|
||||
# Restart components to apply new theme
|
||||
pkill -SIGUSR2 btop
|
||||
pkill -SIGUSR2 waybar
|
||||
pkill -SIGUSR2 swayosd-server
|
||||
pkill swayosd-server
|
||||
setsid uwsm app -- swayosd-server &>/dev/null &
|
||||
makoctl reload
|
||||
hyprctl reload
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
echo "Adding SwayOSD"
|
||||
echo "Adding SwayOSD theming"
|
||||
|
||||
if [[ ! -d ~/.config/swayosd ]]; then
|
||||
mkdir -p ~/.config/swayosd
|
||||
|
Reference in New Issue
Block a user