From 88aa7ddc6d3106bd909642352e50d4114f6a7cb7 Mon Sep 17 00:00:00 2001 From: coolneng Date: Mon, 12 Sep 2022 01:07:03 +0200 Subject: [PATCH] Change emacs and delta themes in switch-theme --- scripts/.local/share/scripts/switch-theme | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/.local/share/scripts/switch-theme b/scripts/.local/share/scripts/switch-theme index d0d45e8..dd17e35 100755 --- a/scripts/.local/share/scripts/switch-theme +++ b/scripts/.local/share/scripts/switch-theme @@ -7,9 +7,9 @@ capitalize() { modify_delta() { if [ "$1" = "light" ]; then - sed -e "s/light = false/light = true/" -e "s/Nord/OneHalfLight/" -i ~/.config/git/config + sed -e "s/light = false/light = true/" -e "s/OneHalfDark/OneHalfLight/" -i ~/.config/git/config else - sed -e "s/light = true/light = false/" -e "s/OneHalfLight/Nord/" -i ~/.config/git/config + sed -e "s/light = true/light = false/" -e "s/OneHalfLight/OneHalfDark/" -i ~/.config/git/config fi } @@ -43,11 +43,11 @@ fi mode=$1 if [ "$mode" = "light" ]; then - emacsclient --eval "(load-theme 'doom-nord-light 'no-confirm)" + emacsclient --eval "(load-theme 'doom-flatwhite 'no-confirm)" change_theme dark light recolor_zathura else - emacsclient --eval "(load-theme 'doom-nord 'no-confirm)" + emacsclient --eval "(load-theme 'doom-one 'no-confirm)" change_theme light dark recolor_zathura fi