summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-09-02 13:22:25 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-09-02 13:22:25 +0100
commit20d195dd54d6cc660be75e6c7a6f445977661671 (patch)
treebaa699e895abf3f89326dd1b133584a746bddd26 /install.sh
parent17ed5fcbe6af32fdb86a7272f9e34de532b3db9c (diff)
Add minor changes
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index 1c358e5..d165f5a 100755
--- a/install.sh
+++ b/install.sh
@@ -38,6 +38,12 @@ install_zsh() {
ln -s $dotdir/.zsh .zsh
}
+install_uzbl() {
+ ln -s $dotdir/.uzbl uzbl
+ cd $HOME/.local/share/uzbl
+ ln -s $dotdir/.uzbl/bookmarks bookmarks
+}
+
uninstall_offlineimap() {
rm -f .offlineimaprc
rm -f .offlineimap.py
@@ -51,6 +57,11 @@ uninstall_zsh() {
rm -rf .zsh .zshrc
}
+uninstall_uzbl() {
+ rm -rf uzbl
+ rm -f $HOME/.local/share/uzbl/bookmarks
+}
+
dotdirs[.uzbl]="$HOME/.config/uzbl"
dotdirs[.zathurarc]="$HOME/.config/zathura/zathurarc"
@@ -58,10 +69,12 @@ install[.offlineimap]='install_offlineimap'
install[.vim]='install_vim'
install[.mutt]='install_mutt'
install[.zsh]='install_zsh'
+install[.uzbl]='install_uzbl'
uninstall[.offlineimap]='uninstall_offlineimap'
uninstall[.vim]='uninstall_vim'
uninstall[.zsh]='uninstall_zsh'
+uninstall[.uzbl]='uninstall_uzbl'
clean_dotfiles() {
for file in ${(@k)dotdirs}; do