mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Kill waybar proper and restart on suspecion that SIGUSR2 is whats causing the stacking bug
This commit is contained in:
@ -6,5 +6,6 @@ if gum confirm "Refresh Waybar config? This will replace your current settings w
|
||||
cp -f ~/.local/share/omarchy/config/waybar/style.css ~/.config/waybar/ 2>/dev/null
|
||||
|
||||
# Restart waybar
|
||||
pkill -SIGUSR2 waybar
|
||||
pkill waybar
|
||||
setsid waybar >/dev/null 2>&1 &
|
||||
fi
|
||||
|
@ -29,7 +29,8 @@ ln -nsf "$THEME_PATH" "$CURRENT_THEME_DIR"
|
||||
touch "$HOME/.config/alacritty/alacritty.toml"
|
||||
|
||||
# Restart components to apply new theme
|
||||
pkill -SIGUSR2 waybar
|
||||
pkill waybar
|
||||
setsid waybar >/dev/null 2>&1 &
|
||||
makoctl reload
|
||||
hyprctl reload
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
echo "Fixing persistent workspaces in waybar config"
|
||||
sed -i 's/"persistent_workspaces":/"persistent-workspaces":/' ~/.config/waybar/config
|
||||
pkill -SIGUSR2 waybar
|
||||
pkill waybar
|
||||
setsid waybar >/dev/null 2>&1 &
|
||||
|
Reference in New Issue
Block a user