Change emacs theme without user confirmation
This commit is contained in:
parent
654e3474ba
commit
46ded55674
|
@ -9,7 +9,7 @@ fi
|
|||
mode=$1
|
||||
|
||||
if [ "$mode" = "light" ]; then
|
||||
emacsclient --eval "(load-theme 'doom-nord-light)"
|
||||
emacsclient --eval "(load-theme 'doom-nord-light '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
|
||||
|
@ -17,7 +17,7 @@ if [ "$mode" = "light" ]; then
|
|||
tmux source-file ~/.tmux.conf
|
||||
kitty --class tmux tmux a
|
||||
else
|
||||
emacsclient --eval "(load-theme 'doom-nord)"
|
||||
emacsclient --eval "(load-theme 'doom-nord 'no-confirm)"
|
||||
sed -i "s/iceberg_light/iceberg_dark/" ~/.config/kitty/kitty.conf
|
||||
sed -i "s/bg=light/bg=dark/" ~/.config/nvim/init.vim
|
||||
sed -i "s/iceberg_light/iceberg_dark/" ~/.dotfiles/tmux/.tmux.conf
|
||||
|
|
Loading…
Reference in New Issue