change color scheme

This commit is contained in:
2024-12-08 15:49:58 +00:00
parent c1a80f66bb
commit cf6d4c58b0
15 changed files with 353 additions and 29 deletions

View File

@@ -1,42 +1,61 @@
#!/bin/bash
set -eu
for arg in "$@"; do declare $arg=1; done
if [ ! -v macos ]; then linux=1; fi
for arg in "$@"; do declare $arg='1'; done
if [ ! -n "$macos" ];
then linux=1;
else
linux="";
fi
# install wezterm config
ln -s "$HOME/dotfiles/.wezterm.lua" "$HOME/.wezterm.lua"
ln -s "$HOME/dotfiles/.wezterm.lua" "$HOME/.wezterm.lua" || :
# install neovim config
if [ ! -d "$HOME/.config/nvim" ]; then
ln -s "$HOME/dotfiles/nvim" "$HOME/.config/nvim"
ln -s "$HOME/dotfiles/nvim" "$HOME/.config/nvim" || :
fi
# install starship config
ln -s "$HOME/dotfiles/starship.toml" "$HOME/.config/starship.toml"
ln -s "$HOME/dotfiles/starship.toml" "$HOME/.config/starship.toml" || :
if [ ! -v linux ]; then
echo $macos
if [ ! -n "$linux" ]; then
# install aerospace config
ln -s "$HOME/dotfiles/aerospace.toml" "$HOME/.aerospace.toml"
ln -s "$HOME/dotfiles/aerospace.toml" "$HOME/.aerospace.toml" || :
if [ ! -d "$HOME/.config/sketchybar" ]; then
ln -s "$HOME/dotfiles/sketchybar" "$HOME/.config/sketchybar" || :
fi
if [ ! -d "$HOME/.config/borders" ]; then
ln -s "$HOME/dotfiles/borders" "$HOME/.config/borders" || :
fi
if [ ! -d "$HOME/.config/neovide" ]; then
ln -s "$HOME/dotfiles/neovide" "$HOME/.config/neovide" || :
fi
else
# install sway
if [ ! -d "$HOME/.config/sway" ]; then
ln -s "$HOME/dotfiles/sway" "$HOME/.config/sway"
ln -s "$HOME/dotfiles/sway" "$HOME/.config/sway" || :
fi
# install waybar
if [ ! -d "$HOME/.config/waybar" ]; then
ln -s "$HOME/dotfiles/waybar" "$HOME/.config/waybar"
ln -s "$HOME/dotfiles/waybar" "$HOME/.config/waybar" || :
fi
# install rofi
if [ ! -d "$HOME/.config/rofi" ]; then
ln -s "$HOME/dotfiles/rofi" "$HOME/.config/rofi"
ln -s "$HOME/dotfiles/rofi" "$HOME/.config/rofi" || :
fi
# install rofi
if [ ! -d "$HOME/.config/dunst" ]; then
ln -s "$HOME/dotfiles/dunst" "$HOME/.config/dunst"
ln -s "$HOME/dotfiles/dunst" "$HOME/.config/dunst" || :
fi
fi