reorganize files
parent
23c96b006e
commit
9ae1e349c3
|
@ -1,30 +1,33 @@
|
|||
tree -dL 3 ~/.vim/pack > vim_packages
|
||||
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 XCompose
|
||||
$HOME/.Xresources Xresources
|
||||
$HOME/.cargo/config cargo
|
||||
$HOME/.config/kitty/kitty.conf kitty.conf
|
||||
$HOME/.config/mpd/mpd.conf mpd.conf
|
||||
$HOME/.config/pacman/makepkg.conf makepkg.conf
|
||||
$HOME/.ncmpcpp/bindings ncmpcpp_bind
|
||||
$HOME/.ncmpcpp/config ncmpcpp_conf
|
||||
$HOME/.sharenix.json sharenix.json
|
||||
$HOME/.vimrc vimrc
|
||||
$HOME/.xprofile xprofile
|
||||
$HOME/.zshrc zshrc
|
||||
$HOME/src/scripts/* .
|
||||
/etc/icecast.xml icecast.xml
|
||||
/etc/motsognir.conf motsognir.conf
|
||||
/etc/nginx/nginx.conf nginx.conf
|
||||
/etc/systemd/network/* .
|
||||
/etc/X11/xorg.conf.d/61-xwiimote-custom.conf 61-xwiimote-custom.conf
|
||||
/mnt/d/w2/Output/_dlscr/bookmark_get.ps1 bookmark_get.ps1
|
||||
/usr/share/X11/xkb/symbols/progm progm.xkb
|
||||
$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' icecast.xml
|
||||
sed -i 's/password\(\s*\)".*"/password\1"password removed"/g' mpd.conf
|
||||
sed -i 's/password>.*<\//password>password removed<\//g' network/icecast.xml
|
||||
sed -i 's/password\(\s*\)".*"/password\1"password removed"/g' mpd/mpd.conf
|
||||
|
|
Loading…
Reference in New Issue