Compare commits

..

No commits in common. "992d4154a03514aa103c1f2ff00df57dbcf4a5c7" and "19dd0f1f6888a32d0fbb4281037914c30b0112d4" have entirely different histories.

3 changed files with 11 additions and 36 deletions

View File

@ -8,24 +8,20 @@ fi
mode=$1 mode=$1
change_theme() { if [ "$mode" = "light" ]; then
sed -i "s/iceberg_$1/iceberg_$2/" ~/.config/kitty/kitty.conf emacsclient --eval "(load-theme 'doom-nord-light 'no-confirm)"
sed -i "s/bg=$1/bg=$2/" ~/.config/nvim/init.vim sed -i "s/iceberg_dark/iceberg_light/" ~/.config/kitty/kitty.conf
sed -i "s/iceberg_$1/iceberg_$2/" ~/.dotfiles/tmux/.tmux.conf sed -i "s/bg=dark/bg=light/" ~/.config/nvim/init.vim
} sed -i "s/iceberg_dark/iceberg_light/" ~/.dotfiles/tmux/.tmux.conf
reload_kitty() {
pkill kitty pkill kitty
tmux source-file ~/.tmux.conf tmux source-file ~/.tmux.conf
kitty --class tmux tmux a kitty --class tmux tmux a
}
if [ "$mode" = "light" ]; then
emacsclient --eval "(load-theme 'doom-nord-light 'no-confirm)"
change_theme dark light
reload_kitty
else else
emacsclient --eval "(load-theme 'doom-nord 'no-confirm)" emacsclient --eval "(load-theme 'doom-nord 'no-confirm)"
change_theme light dark sed -i "s/iceberg_light/iceberg_dark/" ~/.config/kitty/kitty.conf
reload_kitty sed -i "s/bg=light/bg=dark/" ~/.config/nvim/init.vim
sed -i "s/iceberg_light/iceberg_dark/" ~/.dotfiles/tmux/.tmux.conf
pkill kitty
tmux source-file ~/.tmux.conf
kitty --class tmux tmux a
fi fi

View File

@ -35,11 +35,6 @@ host sica
identityfile ~/.ssh/sica identityfile ~/.ssh/sica
KexAlgorithms +diffie-hellman-group1-sha1 KexAlgorithms +diffie-hellman-group1-sha1
host aegis
user coace
hostname 10.0.1.4
port 22
identityfile ~/.ssh/aegis
host eu.nixbuild.net host eu.nixbuild.net
pubkeyacceptedkeytypes ssh-ed25519 pubkeyacceptedkeytypes ssh-ed25519

View File

@ -1,16 +0,0 @@
session_name: aegis
suppress_history: false
windows:
- window_name: admin
focus: true
layout: even-vertical
panes:
- ssh root@aegis
- ssh root@aegis
- window_name: monitor
layout: even-vertical
panes:
- ssh aegis
- ssh aegis