change color scheme
This commit is contained in:
41
install.sh
41
install.sh
@@ -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
|
||||
|
Reference in New Issue
Block a user