diff --git a/.config/WindowsAutoNightMode/scripts.yaml b/.config/WindowsAutoNightMode/scripts.yaml index f811433..f69e56c 100644 --- a/.config/WindowsAutoNightMode/scripts.yaml +++ b/.config/WindowsAutoNightMode/scripts.yaml @@ -4,25 +4,17 @@ Component: - Name: Arch theme Command: bash WorkingDirectory: C:\Users\anri\AppData\Roaming\AutoDarkMode - ArgsLight: - [ - -c \", - fish, + ArgsLight: [ -c, - \"fish_config theme choose 'Solarized Light' && yes | fish_config theme save\", - "&&", - sed -i \"s/monokai/bubblegum/g\" \"$HOME\"/.config/micro/settings.json, - \", + "fish -c \"fish_config theme choose 'Solarized Light' && yes | fish_config theme save\" && \ + sed -i 's/monokai/bubblegum/g' ~/.config/micro/settings.json", ] ArgsDark: [ - -c \", - 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, - \", + "fish -c \" \ + fish_config theme choose 'Base16 Eighties' && yes | fish_config theme save && \ + set fish_color_comment 5c6773\" && \ + sed -i 's/bubblegum/monokai/g' ~/.config/micro/settings.json", ] AllowedSources: [Any] TimeoutMillis: