change the way files are copied
parent
9ae1e349c3
commit
472af288a7
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
mkdir -p build_system mpd network scripts terminal themes vim x11
|
||||
|
||||
tree -dL 3 ~/.vim/pack > vim/packages
|
||||
|
||||
while read -r f t
|
||||
do
|
||||
eval t=$t
|
||||
cp $(find $t) $f
|
||||
done < files
|
||||
|
||||
sed -i 's/password>.*<\//password>password removed<\//g' network/icecast.xml
|
||||
sed -i 's/password\(\s*\)".*"/password\1"password removed"/g' mpd/mpd.conf
|
|
@ -1,33 +0,0 @@
|
|||
mkdir -p build_system mpd network scripts terminal themes vim x11
|
||||
|
||||
tree -dL 3 ~/.vim/pack > vim/packages
|
||||
|
||||
while read t f
|
||||
do
|
||||
cp $(find $t) $f
|
||||
done <<END
|
||||
$HOME/.XCompose x11/XCompose
|
||||
$HOME/.Xresources x11/Xresources
|
||||
$HOME/.cargo/config build_system/cargo_config
|
||||
$HOME/.config/kitty/kitty.conf terminal/kitty.conf
|
||||
$HOME/.config/mpd/mpd.conf mpd/mpd.conf
|
||||
$HOME/.config/pacman/makepkg.conf build_system/makepkg.conf
|
||||
$HOME/.ncmpcpp/bindings mpd/ncmpcpp_bind
|
||||
$HOME/.ncmpcpp/config mpd/ncmpcpp_conf
|
||||
$HOME/.sharenix.json network/sharenix.json
|
||||
$HOME/.slade3/text_styles/* themes
|
||||
$HOME/.vimrc vim/vimrc
|
||||
$HOME/.xprofile x11/xprofile
|
||||
$HOME/.zshrc terminal/zshrc
|
||||
$HOME/src/scripts/* scripts
|
||||
/etc/X11/xorg.conf.d/61-xwiimote-custom.conf x11/61-xwiimote-custom.conf
|
||||
/etc/icecast.xml network/icecast.xml
|
||||
/etc/motsognir.conf network/motsognir.conf
|
||||
/etc/nginx/nginx.conf network/nginx.conf
|
||||
/etc/systemd/network/* network
|
||||
/mnt/d/w2/Output/_dlscr/bookmark_get.ps1 scripts/bookmark_get.ps1
|
||||
/usr/share/X11/xkb/symbols/progm x11/progm.xkb
|
||||
END
|
||||
|
||||
sed -i 's/password>.*<\//password>password removed<\//g' network/icecast.xml
|
||||
sed -i 's/password\(\s*\)".*"/password\1"password removed"/g' mpd/mpd.conf
|
|
@ -0,0 +1,21 @@
|
|||
build_system/cargo_config ~/.cargo/config
|
||||
build_system/makepkg.conf ~/.config/pacman/makepkg.conf
|
||||
mpd/mpd.conf ~/.config/mpd/mpd.conf
|
||||
mpd/ncmpcpp_bind ~/.ncmpcpp/bindings
|
||||
mpd/ncmpcpp_conf ~/.ncmpcpp/config
|
||||
network /etc/systemd/network/*
|
||||
network/icecast.xml /etc/icecast.xml
|
||||
network/motsognir.conf /etc/motsognir.conf
|
||||
network/nginx.conf /etc/nginx/nginx.conf
|
||||
network/sharenix.json ~/.sharenix.json
|
||||
scripts ~/src/scripts/*
|
||||
scripts/bookmark_get.ps1 /mnt/d/w2/Output/_dlscr/bookmark_get.ps1
|
||||
terminal/kitty.conf ~/.config/kitty/kitty.conf
|
||||
terminal/zshrc ~/.zshrc
|
||||
themes ~/.slade3/text_styles/*
|
||||
vim/vimrc ~/.vimrc
|
||||
x11/61-xwiimote-custom.conf /etc/X11/xorg.conf.d/61-xwiimote-custom.conf
|
||||
x11/XCompose ~/.XCompose
|
||||
x11/Xresources ~/.Xresources
|
||||
x11/progm.xkb /usr/share/X11/xkb/symbols/progm
|
||||
x11/xprofile ~/.xprofile
|
Loading…
Reference in New Issue