Switch theme scripts

This commit is contained in:
Mylloon 2023-11-06 13:25:51 +01:00
parent c4e1a3fd54
commit edf6dbd667
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,22 @@
Enabled: true
Component:
Scripts:
- Name: cmd example
Command: Arch.exe
WorkingDirectory: C:\Users\anri\AppData\Roaming\AutoDarkMode
ArgsLight:
[
fish,
-c,
"fish_config theme choose 'Solarized Light' && yes | fish_config theme save",
sed -i "s/monokai/bubblegum/g" "$HOME"/.config/micro/settings.json,
]
ArgsDark: [
fish,
-c,
"fish_config theme choose 'Base16 Eighties' && yes | fish_config theme save && \
set fish_color_comment 5c6773",
sed -i "s/bubblegum/monokai/g" "$HOME"/.config/micro/settings.json,
]
AllowedSources: [Any]
TimeoutMillis:

View file

@ -177,6 +177,7 @@ sync-windows:
# WindowsAutoNightMode # WindowsAutoNightMode
@$(WGET) $(REPO_SRC)/.config/WindowsAutoNightMode/config.yaml -O $(APPDATA)/AutoDarkMode/config.yaml @$(WGET) $(REPO_SRC)/.config/WindowsAutoNightMode/config.yaml -O $(APPDATA)/AutoDarkMode/config.yaml
@$(WGET) $(REPO_SRC)/.config/WindowsAutoNightMode/scripts.yaml -O $(APPDATA)/AutoDarkMode/scripts.yaml
@echo "$(WIN) WindowsAutoNightMode settings synced!" @echo "$(WIN) WindowsAutoNightMode settings synced!"
@echo @echo