Automatically change VS Code theme along with Omarchy themes (#800)

* Automatically change VS Code theme along with Omarchy themes

* Create a way to skip vscode auto-theming

* Make theme setting resilient to different states of the settings.json

* Improve setting and removing theme and notify when waiting on install

* Explain what we're doing

* Extract dedicated bin for vscode theme change

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
Omar Skalli
2025-09-15 09:20:02 -07:00
committed by GitHub
parent f401c72ea2
commit d3304c4a88
13 changed files with 72 additions and 0 deletions

View File

@@ -60,6 +60,9 @@ fi
# Trigger alacritty config reload
touch "$HOME/.config/alacritty/alacritty.toml"
# Update vscode theme
omarchy-theme-set-vscode
# Restart components to apply new theme
pkill -SIGUSR2 btop
omarchy-restart-waybar