This repository has been archived on 2024-09-01. You can view files and clone it, but cannot push or open issues or pull requests.
al-skel/home/.config/setup

18 lines
546 B
Plaintext
Raw Normal View History

2017-10-16 14:38:02 -05:00
#!/usr/bin/env bash
# this script will setup configs for any user created from /etc/skel
# if this is not run immediately at startup, polybar WILL fail to load
files=($HOME/.config/polybar/config
$HOME/.config/gtk-3.0/bookmarks
$HOME/.gorice/templates/i3/data.json
$HOME/.mozilla/firefox/archlabs.default/prefs.js
$HOME/.mozilla/firefox/archlabs.default/sessionstore.js)
for f in ${files[@]}; do
sed -i "s/liveuser/${USER}/g" $f
done
2017-10-16 14:38:02 -05:00
sed -i '/setup/d' $HOME/.config/openbox/autostart
2017-10-16 14:38:02 -05:00
rm -f $HOME/.config/setup