vivaldi: add support for -snapshot, disable disk cache

This commit is contained in:
Aminda Suomalainen 2025-02-28 12:56:30 +02:00
parent 910e1df6f6
commit 17ce1537d1
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
3 changed files with 7 additions and 1 deletions

View File

@ -11,4 +11,5 @@ chrome
iwd-wifi iwd-wifi
iwd-wifi.bash iwd-wifi.bash
vim vim
vivaldi-snapshot
yay yay

View File

@ -1,4 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -x set -x
/usr/bin/vivaldi --ozone-platform=wayland --enable-features=WaylandWindowDecorations "$@" if [[ -d "$HOME/.config/vivaldi-snapshot" && -d "$HOME/.cache/vivaldi-snapshot" ]]; then
/usr/bin/vivaldi-snapshot --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable-features=WaylandWindowDecorations "$@"
else
/usr/bin/vivaldi --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable-features=WaylandWindowDecorations "$@"
fi
set +x set +x

View File

@ -0,0 +1 @@
vivaldi