mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-03-06 14:40:38 +01:00
vivaldi: add support for -snapshot, disable disk cache
This commit is contained in:
parent
910e1df6f6
commit
17ce1537d1
1
bash/usr-local-bin/.gitignore
vendored
1
bash/usr-local-bin/.gitignore
vendored
@ -11,4 +11,5 @@ chrome
|
|||||||
iwd-wifi
|
iwd-wifi
|
||||||
iwd-wifi.bash
|
iwd-wifi.bash
|
||||||
vim
|
vim
|
||||||
|
vivaldi-snapshot
|
||||||
yay
|
yay
|
||||||
|
@ -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
|
||||||
|
1
bash/usr-local-bin/vivaldi-snapshot
Symbolic link
1
bash/usr-local-bin/vivaldi-snapshot
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
vivaldi
|
Loading…
x
Reference in New Issue
Block a user