From 6a811967cf70ba6bd695e35afcacd3deb7be09db Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 6 Nov 2023 13:45:25 +0100 Subject: [PATCH] maybe! --- .config/WindowsAutoNightMode/scripts.yaml | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) 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: