dotfiles/.bin/OLD/qutebrowser

8 lines
231 B
Plaintext
Raw Normal View History

#!/bin/sh
D=$(mktemp -d)
export XDG_RUNTIME_DIR=$D
rm -rf ~/.local/share/qutebrowser/sessions
sed -i 's/^mainwindow.*//' ~/.local/share/qutebrowser/state
/usr/local/bin/qutebrowser --override-restore --target window "$@"
rm -rf $D