Add migration to add the 10th workspace back to waybar config

This commit is contained in:
David Heinemeier Hansson
2025-11-18 16:02:13 +01:00
parent 854b14029c
commit 5ab2a69722
+5
View File
@@ -0,0 +1,5 @@
echo "Add 10th workspace option to waybar config"
if ! grep -q '"10": "0",' ~/.config/waybar/config.jsonc; then
sed -i '/"9": "9",/a\ "10": "0",' ~/.config/waybar/config.jsonc
fi