#!/bin/bash CONFIG_DIR="/home/alex/.config" echo "Copying hlwm config... $CONFIG_DIR/herbstluftwm" cp herbstluftwm/* "$CONFIG_DIR/herbstluftwm" if [ "$1" == "reload" ]; then herbstclient reload fi echo "Copying alacritty config..." cp alacritty/* "$CONFIG_DIR/alacritty" echo "Copying picom config..." cp picom/* "$CONFIG_DIR/picom" echo "Done"