Autostart apps, powermenu on Super+Shift+E, tmux and sysadmin shell helpers

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-28 10:32:12 +05:00
co-authored by Claude Sonnet 5.5
parent 0fe492967a
commit fc24a050f1
6 changed files with 106 additions and 1 deletions
+9
View File
@@ -105,6 +105,15 @@ install_configs() {
say "Copying configs to $CFG"
mkdir -p "$CFG"
cp -a "$REPO/.config/." "$CFG/"
if [ -d "$REPO/home" ]; then
say "Copying shell/tmux files into $HOME (existing ones are backed up)"
local f
while IFS= read -r f; do
[ -e "$HOME/$f" ] && { mkdir -p "$BACKUP/$(dirname "$f")"; cp -a "$HOME/$f" "$BACKUP/$f"; }
done < <(cd "$REPO/home" && find . -type f | sed 's|^\./||')
mkdir -p "$HOME/.oh-my-zsh/custom"
cp -a "$REPO/home/." "$HOME/"
fi
# waybar is replaced by DMS; a stale 40-bar.conf from an older install would start a second bar
rm -f "$CFG/sway/config.d/40-bar.conf"
chmod +x "$CFG"/sway/*.sh "$CFG"/rofi/*.sh 2>/dev/null || true