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

This commit is contained in:
David Heinemeier Hansson committed 2025-11-18 16:02:13 +01:00
1 parent 854b14029c
commit 5ab2a69722
1 file changed
+5
+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