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

23 lines
744 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\
2017-10-23 18:35:35 -05:00
include-file = ${HOME}/.config/polybar/master.conf" $HOME/.config/polybar/config
2017-10-16 14:38:02 -05:00
sed -i "/base/ a\
2017-10-23 18:35:35 -05:00
include-file = ${HOME}/.config/polybar/modules.conf" $HOME/.config/polybar/config
2017-10-16 14:38:02 -05:00
# 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
2017-10-23 18:35:35 -05:00
# setup gorice
sed -i "s/liveuser/${USER}/g" $HOME/.gorice/templates/i3/data.json
2017-10-16 14:38:02 -05:00
# 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
2017-10-16 14:38:02 -05:00
rm -f $HOME/.config/setup