diff --git a/.config/WindowsAutoNightMode/scripts.yaml b/.config/WindowsAutoNightMode/scripts.yaml index 6dd057b..77baaac 100644 --- a/.config/WindowsAutoNightMode/scripts.yaml +++ b/.config/WindowsAutoNightMode/scripts.yaml @@ -1,22 +1,21 @@ Enabled: true Component: Scripts: - - Name: cmd example + - Name: Arch theme Command: Arch.exe WorkingDirectory: C:\Users\anri\AppData\Roaming\AutoDarkMode - ArgsLight: - [ + 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, + "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, + set fish_color_comment 5c6773 && \ + sed -i \"s/bubblegum/monokai/g\" \"$HOME\"/.config/micro/settings.json", ] AllowedSources: [Any] TimeoutMillis: