dotfiles/.bin/OLD/qutebrowser
2024-02-14 07:55:58 +01:00

8 lines
231 B
Bash
Executable File

#!/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