mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 20:29:24 +00:00
Add script to refresh waybar config and restart it
This commit is contained in:
9
bin/omarchy-refresh-waybar
Executable file
9
bin/omarchy-refresh-waybar
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Overwrite local waybar settings with the latest in Omarchy
|
||||||
|
cp -f ~/.local/share/omarchy/config/waybar/config ~/.config/waybar/ 2>/dev/null
|
||||||
|
cp -f ~/.local/share/omarchy/config/waybar/style.css ~/.config/waybar/ 2>/dev/null
|
||||||
|
|
||||||
|
# Restart waybar
|
||||||
|
pkill waybar &>/dev/null
|
||||||
|
setsid waybar &>/dev/null &
|
Reference in New Issue
Block a user