1
0

Added sway config for tokyo

Laptop sway configuration
Updated installer script to pull/push the new configuration files
This commit is contained in:
2025-09-25 21:01:22 +01:00
parent 42189f6687
commit ae69d852fe
2 changed files with 157 additions and 2 deletions

18
dots
View File

@@ -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