diff options
author | xyz <gky44px1999@gmail.com> | 2021-09-06 23:18:32 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-09-06 23:18:32 -0700 |
commit | e7ec92296886631f0145d5cd56c8a494e30cfebb (patch) | |
tree | 92c6818f7b5d5681bbdf5e8719a8b16f15adef71 /.local/bin | |
parent | 3feed6d53397fb94af9b0fb7ff4389477607e859 (diff) |
add root dotfiles, with script to sudo cp them
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/cpcfg | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.local/bin/cpcfg b/.local/bin/cpcfg new file mode 100755 index 00000000..656d201e --- /dev/null +++ b/.local/bin/cpcfg @@ -0,0 +1,8 @@ +#!/bin/sh + +sudo cp -i -- "$XDG_CONFIG_HOME/myconf/pacman.conf" /etc/ +sudo cp -i -- "$XDG_CONFIG_HOME/myconf/locale.gen" /etc/ +sudo mkdir -p /etc/uwsgi/ || exit +sudo cp -i -- "$XDG_CONFIG_HOME/myconf/searx.ini" /etc/uwsgi/ +sudo mkdir /etc/wildmidi/ || exit +sudo cp -i -- "$XDG_CONFIG_HOME/myconf/wildmidi.cfg" /etc/wildmidi/ |