nixos-config/imper_files.sh

35 lines
723 B
Bash
Executable File

#!/usr/bin/env bash
if [ "$USER" != gregory ]; then
echo "Expected to be run as gregory"
exit 1
fi
sudo cp zshrc.local /etc/zshrc.local
sudo cp my_zsh_utils.zsh /etc/my_zsh_utils.zsh
mkdir -p ~/.config/suckless_desktop/
mkdir -p ~/.config/cmus
mkdir -p ~/.config/sway
mkdir -p ~/.config/swaylock
cp win_r.dmenu ~/.config/suckless_desktop/
cp ./.emacs ~/
cp ./.keynavrc ~/
cp ./.lesskey ~/
cp ./cmus-rc ~/.config/cmus/rc
cp ./picom.conf ~/.config/
cp ./.tmux.conf ~/
cp .xinitrc ~/.xinitrc
chmod +x ~/.xinitrc
cp ./sway-config ~/.config/sway/config
cp ./swaylock-config ~/.config/swaylock/config
cp ./batshit.sh ~/.config/sway/batshit.sh
chmod +x ~/.config/sway/batshit.sh
# todo: add mozc and fcitx5 config here