mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 04:09:23 +00:00
Add migration to prevent Waybar stacking
This commit is contained in:
8
migrations/1753302134.sh
Normal file
8
migrations/1753302134.sh
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
echo "Reload Waybar on unlock to prevent stacking"
|
||||||
|
|
||||||
|
if ! grep -q 'on_unlock_cmd *= *pkill -SIGUSR2 waybar' ~/.config/hypr/hypridle.conf; then
|
||||||
|
sed -i '/^general[[:space:]]*{/,/^}/ {
|
||||||
|
/on_unlock_cmd *=/d
|
||||||
|
/^}$/ i\ on_unlock_cmd = pkill -SIGUSR2 waybar # prevent stacking of waybar when waking
|
||||||
|
}' ~/.config/hypr/hypridle.conf
|
||||||
|
fi
|
Reference in New Issue
Block a user