1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-09 16:35:03 +00:00
dotfiles/.local/share/qutebrowser/userscripts/switchadapta

9 lines
439 B
Fish
Executable file

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