2017-12-05 22:39:10 -08:00
|
|
|
#!/usr/bin/env zsh
|
|
|
|
source ${0:A:h}/../../deploy
|
|
|
|
|
|
|
|
QUTEBROWSER_HOME=$XDG_CONFIG_HOME/qutebrowser
|
|
|
|
|
|
|
|
install() {
|
|
|
|
case $(_os) in
|
|
|
|
macos) brew cask install qutebrowser ;;
|
2018-05-24 12:35:12 -07:00
|
|
|
arch) yay --needed --noconfirm -S qutebrowser ;;
|
2017-12-05 22:39:10 -08:00
|
|
|
esac
|
|
|
|
}
|
|
|
|
|
|
|
|
# update() {}
|
|
|
|
|
|
|
|
link() {
|
|
|
|
mklink config.py $QUTEBROWSER_HOME/
|
|
|
|
}
|
|
|
|
|
|
|
|
clean() {
|
|
|
|
rm -rfv $QUTEBROWSER_HOME
|
|
|
|
}
|
|
|
|
|
|
|
|
init "$@"
|