Added sway config for tokyo
Laptop sway configuration Updated installer script to pull/push the new configuration files
This commit is contained in:
18
dots
18
dots
@@ -14,7 +14,20 @@ Install() {
|
||||
cp "bash_profile" "$1/.bash_profile"
|
||||
cp "bash_aliases" "$1/.bash_aliases"
|
||||
|
||||
cp -RT "config" "$1/.config"
|
||||
mkdir -p "$1/.config"
|
||||
|
||||
cp -r "config/nvim" "$1/.config"
|
||||
cp "config/starship.toml" "$1/.config"
|
||||
|
||||
# Graphical setups
|
||||
#
|
||||
case $HOSTNAME in
|
||||
kanto|tokyo)
|
||||
mkdir -p "$1/.config/sway"
|
||||
|
||||
cp "config/sway/$HOSTNAME.sway" "$1/.config/sway/config"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
Pull() {
|
||||
@@ -24,6 +37,7 @@ Pull() {
|
||||
|
||||
cp -r "$1/.config/nvim" "config/"
|
||||
cp "$1/.config/starship.toml" "config/starship.toml"
|
||||
cp "$1/.config/sway/config" "config/sway/$HOSTNAME.sway"
|
||||
|
||||
cp "$1/.bashrc" "bashrc"
|
||||
cp "$1/.bash_profile" "bash_profile"
|
||||
@@ -43,7 +57,7 @@ case $ACTION in
|
||||
Pull $INSTALL_DIR
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 <push|pull|diff> [dir]"
|
||||
echo "usage: $0 <install|pull|diff> [dir]"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
Reference in New Issue
Block a user