Compare commits
2 Commits
da9c90ee2e
...
7c36fece8a
Author | SHA1 | Date |
---|---|---|
Aminda Suomalainen | 7c36fece8a | |
Aminda Suomalainen | bbbcf9f2c3 |
|
@ -43,13 +43,18 @@ if hash dnf 2>/dev/null; then
|
|||
# I don't know if -y does anything here either and I think this may be
|
||||
# useless, but I am used to it coming from apt and I think it will just
|
||||
# say nothing to do or do nothing if mirrors haven't updated.
|
||||
dnf -v check-update -y
|
||||
#dnf -v check-update -y
|
||||
|
||||
# potentially unsafe first time, I am not sure if this is concern outside of Debian/Ubuntu though
|
||||
dnf -v "$@" autoremove
|
||||
|
||||
# If arguments like -y are passed to the script, they become "$@"
|
||||
dnf -v "$@" upgrade
|
||||
#dnf -v "$@" upgrade
|
||||
|
||||
# check-update and upgrade together, causes more traffic due to less
|
||||
# caching, but required for certain Chromium-based browsers with their
|
||||
# own repositories
|
||||
dnf -v "$@" upgrade --refresh
|
||||
|
||||
# potentially unsafe, see a few lines above and the apt-get section
|
||||
dnf -v "$@" autoremove
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -x
|
||||
/usr/bin/brave-browser-stable --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
|
||||
/usr/bin/brave-browser-stable --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
|
||||
set +x
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -x
|
||||
/usr/bin/brave-browser-beta --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
|
||||
/usr/bin/brave-browser-beta --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
|
||||
set +x
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -x
|
||||
/usr/bin/brave-browser-nightly --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
|
||||
/usr/bin/brave-browser-nightly --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
|
||||
set +x
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
set -x
|
||||
/usr/bin/chromium-browser --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
|
||||
/usr/bin/chromium-browser --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
|
||||
set +x
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
set -x
|
||||
/usr/bin/google-chrome-stable --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
|
||||
/usr/bin/google-chrome-stable --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
|
||||
set +x
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
set -x
|
||||
/usr/bin/microsoft-edge --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
|
||||
/usr/bin/microsoft-edge --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
|
||||
set +x
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
set -x
|
||||
/usr/bin/vivaldi --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
|
||||
/usr/bin/vivaldi --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
|
||||
set +x
|
||||
|
|
Loading…
Reference in New Issue