feat: big rework. Minimal hyprland setup

This commit is contained in:
2025-03-04 18:00:43 +00:00
parent 3079274d93
commit 60bfd74d8a
415 changed files with 6211 additions and 26094 deletions

View File

@@ -2,27 +2,19 @@
cd ~/Code/dotfiles
git pull
folders=("hypr" "ags" "tmux" "lazygit" "kitty" "fish" "nvim")
# Replace the monitors part of hyprland config
current_host=""
if [[ $(hostname) == "johnc-desktop" ]]; then
current_host="DESKTOP"
else
current_host="LAPTOP"
fi
# current_host=""
# if [[ $(hostname) == "johnc-desktop" ]]; then
# current_host="DESKTOP"
# else
# current_host="LAPTOP"
# fi
#
# sed -i "s/#$current_host: //" ./hypr/hyprland/monitors.conf
sed -i "s/#$current_host: //" ./hypr/hyprland/monitors.conf
for folder in ${folders[@]}; do
echo Moving $folder
rsync -a ./$folder/ ~/.config/$folder
done
# Starship
cp starship.toml ~/.config/starship.toml
rsync -av .config ~ --delete
# Cleanup
sed -i "s/^monitor/#$current_host: monitor/" ./hypr/hyprland/monitors.conf
# sed -i "s/^monitor/#$current_host: monitor/" ./hypr/hyprland/monitors.conf