1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-17 20:32:47 +00:00
dotfiles/.config/qutebrowser/userscripts/switchadapta

9 lines
456 B
Fish
Executable file

#!/usr/bin/fish
if test -e $QUTE_DATA_DIR/userscripts/adapta
echo 'set content.user_stylesheets \'["/home/glados/.config/qutebrowser/normalize/normalize.css"]\'' >> "$QUTE_FIFO"
rm $QUTE_DATA_DIR/userscripts/adapta
else
echo 'set content.user_stylesheets \'["/home/glados/.config/qutebrowser/normalize/normalize.css", "/home/glados/.config/qutebrowser/userscripts/adapta.css"]\'' >> "$QUTE_FIFO"
touch $QUTE_DATA_DIR/userscripts/adapta
end