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

22 lines
647 B
Plaintext
Raw Normal View History

2017-10-16 14:38:02 -05:00
#!/usr/bin/env bash
# setup polybar
sed -i '/base/{n;N;N;d}' $HOME/.config/polybar/config
sed -i "/base/ a\
include-file = ${CONF_PATH}/master.conf" $HOME/.config/polybar/config
sed -i "/base/ a\
include-file = ${CONF_PATH}/modules.conf" $HOME/.config/polybar/config
# set firefox homepage
sed -i "s/liveuser/${USER}/g" $HOME/.mozilla/firefox/archlabs.default/prefs.js
sed -i "s/liveuser/${USER}/g" $HOME/.mozilla/firefox/archlabs.default/sessionstore.js
# set bookmarks in thunar
sed -i "s/liveuser/${USER}/g" $HOME/.config/gtk-3.0/bookmarks
# remove itself
sed -i '/setup/d' $HOME/.config/openbox/autostart
rm -f $HOME/.config/setup
exit 0