Add Pi theme based on system theme
Based entirely on the work of @robzolkos in #5711. That attempt was adapted to better fit the standard templating system while also adding color mixing for use in other themes.
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
echo "Add Omarchy pi system theme extension"
|
||||
|
||||
mkdir -p "$HOME/.pi/agent/extensions"
|
||||
cp "$OMARCHY_PATH/default/pi/agent/extensions/omarchy-system-theme.ts" "$HOME/.pi/agent/extensions/"
|
||||
@@ -0,0 +1,5 @@
|
||||
echo "Replace Pi's Omarchy light/dark extension with the generated omarchy-system theme"
|
||||
|
||||
rm -f "$HOME/.pi/agent/extensions/omarchy-system-theme.ts"
|
||||
omarchy-theme-refresh
|
||||
omarchy-theme-set-pi --activate
|
||||
Reference in New Issue
Block a user