From f39e3e50de336cae1822382d69dd9aa84b18570e Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 27 Oct 2020 13:12:17 +0100 Subject: [PATCH] Change emacs light theme to doom-flatwhite --- scripts/.local/share/scripts/{switch_theme => switch-theme} | 2 +- sway/.config/sway/config | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename scripts/.local/share/scripts/{switch_theme => switch-theme} (91%) diff --git a/scripts/.local/share/scripts/switch_theme b/scripts/.local/share/scripts/switch-theme similarity index 91% rename from scripts/.local/share/scripts/switch_theme rename to scripts/.local/share/scripts/switch-theme index 69468f4..f01f8ed 100755 --- a/scripts/.local/share/scripts/switch_theme +++ b/scripts/.local/share/scripts/switch-theme @@ -9,7 +9,7 @@ fi mode=$1 if [ "$mode" = "light" ]; then - emacsclient --eval "(load-theme 'doom-nord-light 'no-confirm)" + emacsclient --eval "(load-theme 'doom-flatwhite 'no-confirm)" sed -i "s/iceberg_dark/iceberg_light/" ~/.config/kitty/kitty.conf sed -i "s/bg=dark/bg=light/" ~/.config/nvim/init.vim sed -i "s/iceberg_dark/iceberg_light/" ~/.dotfiles/tmux/.tmux.conf diff --git a/sway/.config/sway/config b/sway/.config/sway/config index a11e13c..42286f0 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -299,8 +299,8 @@ bindsym $mod+Shift+t mode "$Theme-switch" set $Theme-switch (l) light-theme, (d) dark-theme mode "$Theme-switch" { - bindsym l exec --no-startup-id ~/.local/share/scripts/switch_theme "light", mode "default" - bindsym d exec --no-startup-id ~/.local/share/scripts/switch_theme "dark", mode "default" + bindsym l exec --no-startup-id ~/.local/share/scripts/switch-theme "light", mode "default" + bindsym d exec --no-startup-id ~/.local/share/scripts/switch-theme "dark", mode "default" bindsym Return mode "default" bindsym Escape mode "default"