Compare commits
4 Commits
7c36fece8a
...
b11fab004a
Author | SHA1 | Date |
---|---|---|
Aminda Suomalainen | b11fab004a | |
Aminda Suomalainen | be3c9a1092 | |
Aminda Suomalainen | b9beba643f | |
Aminda Suomalainen | ed43e5ce06 |
|
@ -14,23 +14,8 @@ set -x
|
|||
echo "In case of trouble check Android System Settings, Connected devices, USB mode. It should be data transfer for adb USB debugging to take effect."
|
||||
|
||||
# DetoxDroid, https://github.com/flxapps/DetoxDroid/wiki/Manual-Installation
|
||||
#adb "$@" shell pm grant com.flx_apps.digitaldetox android.permission.WRITE_SECURE_SETTINGS
|
||||
#adb "$@" shell dpm set-device-owner com.flx_apps.digitaldetox/.DetoxDroidDeviceAdminReceiver
|
||||
#echo "Remember to force-stop & restart DetoxDroid!"
|
||||
|
||||
# Greenify, https://web.archive.org/web/20190209023358/https://greenify.uservoice.com/knowledgebase/articles/749142-how-to-grant-permissions-required-by-some-features
|
||||
# TODO: Alive source
|
||||
#adb "$@" shell pm grant com.oasisfeng.greenify android.permission.WRITE_SECURE_SETTINGS
|
||||
#adb "$@" shell pm grant com.oasisfeng.greenify android.permission.DUMP
|
||||
#adb "$@" shell pm grant com.oasisfeng.greenify android.permission.READ_LOGS
|
||||
#adb "$@" shell pm grant com.oasisfeng.greenify android.permission.GET_APP_OPS_STATS
|
||||
#echo "Remember to force-stop & restart Greenify!"
|
||||
|
||||
# Nevolution, https://nevo.app/setup.html
|
||||
#adb "$@" shell setprop persist.log.tag.NotificationService DEBUG
|
||||
#adb "$@" shell pm grant com.oasisfeng.nevo android.permission.READ_LOGS
|
||||
#adb "$@" shell pm grant com.oasisfeng.nevo android.permission.INTERACT_ACROSS_USERS
|
||||
#echo "Remember to force-stop & restart Nevolution!"
|
||||
adb "$@" shell pm grant com.flx_apps.digitaldetox android.permission.WRITE_SECURE_SETTINGS
|
||||
adb "$@" shell dpm set-device-owner com.flx_apps.digitaldetox/.DetoxDroidDeviceAdminReceiver
|
||||
|
||||
# Logfox adb reader from F-Droid
|
||||
adb "$@" shell pm grant com.f0x1d.logfox android.permission.READ_LOGS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -x
|
||||
/usr/bin/brave-browser-stable --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
|
||||
/usr/bin/brave-browser-stable --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations,WebContentsForceDark "$@"
|
||||
set +x
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -x
|
||||
/usr/bin/brave-browser-beta --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
|
||||
/usr/bin/brave-browser-beta --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations,WebContentsForceDark "$@"
|
||||
set +x
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -x
|
||||
/usr/bin/brave-browser-nightly --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
|
||||
/usr/bin/brave-browser-nightly --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations,WebContentsForceDark "$@"
|
||||
set +x
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
set -x
|
||||
/usr/bin/chromium-browser --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
|
||||
/usr/bin/chromium-browser --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations,WebContentsForceDark "$@"
|
||||
set +x
|
||||
|
|
|
@ -5,20 +5,20 @@
|
|||
|
||||
set -x
|
||||
if [ -f /usr/bin/code ]; then
|
||||
/usr/bin/code --verbose --enable-features=WaylandWindowDecorations,UseOzonePlatform --ozone-platform-hint=x11 "$@"
|
||||
/usr/bin/code --verbose --enable-features=WaylandWindowDecorations,UseOzonePlatform,WebContentsForceDark --ozone-platform-hint=x11 "$@"
|
||||
|
||||
elif [ -f /snap/bin/code ]; then
|
||||
# https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/104
|
||||
#unset DBUS_SESSION_BUS_ADDRESS
|
||||
# https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/105
|
||||
#export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus
|
||||
snap run code --verbose --enable-features=WaylandWindowDecorations,UseOzonePlatform --ozone-platform-hint=x11 "$@"
|
||||
snap run code --verbose --enable-features=WaylandWindowDecorations,UseOzonePlatform,WebContentsForceDark --ozone-platform-hint=x11 "$@"
|
||||
|
||||
elif [ -f ~/.local/share/flatpak/exports/bin/run/com.visualstudio.code ]; then
|
||||
flatpak run --user com.visualstudio.code --verbose --no-sandbox --ozone-platform-hint=x11 --enable-features=WaylandWindowDecorations "$@"
|
||||
flatpak run --user com.visualstudio.code --verbose --no-sandbox --ozone-platform-hint=x11 --enable-features=WaylandWindowDecorations,WebContentsForceDark "$@"
|
||||
|
||||
elif [ -f ~/.local/share/flatpak/exports/bin/run/com.visualstudio.code ]; then
|
||||
flatpak run com.visualstudio.code --verbose --no-sandbox --ozone-platform-hint=x11 --enable-features=WaylandWindowDecorations "$@"
|
||||
flatpak run com.visualstudio.code --verbose --no-sandbox --ozone-platform-hint=x11 --enable-features=WaylandWindowDecorations,WebContentsForceDark "$@"
|
||||
|
||||
else
|
||||
echo "code not found :("
|
||||
|
|
|
@ -2,20 +2,20 @@
|
|||
|
||||
set -x
|
||||
if [ -f /usr/bin/code-insiders ]; then
|
||||
/usr/bin/code-insiders --verbose --enable-features=WaylandWindowDecorations,UseOzonePlatform --ozone-platform-hint=auto "$@"
|
||||
/usr/bin/code-insiders --verbose --enable-features=WaylandWindowDecorations,UseOzonePlatform,WebContentsForceDark --ozone-platform-hint=auto "$@"
|
||||
|
||||
elif [ -f /snap/bin/code-insiders ]; then
|
||||
# https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/104
|
||||
#unset DBUS_SESSION_BUS_ADDRESS
|
||||
# https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/105
|
||||
#export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus
|
||||
snap run code-insiders --verbose --enable-features=WaylandWindowDecorations,UseOzonePlatform --ozone-platform-hint=auto "$@"
|
||||
snap run code-insiders --verbose --enable-features=WaylandWindowDecorations,UseOzonePlatform,WebContentsForceDark --ozone-platform-hint=auto "$@"
|
||||
|
||||
elif [ -f ~/.local/share/flatpak/exports/bin/run/com.visualstudio.code.insiders ]; then
|
||||
flatpak run --user com.visualstudio.code.insiders --verbose --no-sandbox --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
|
||||
flatpak run --user com.visualstudio.code.insiders --verbose --no-sandbox --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations,WebContentsForceDark "$@"
|
||||
|
||||
elif [ -f ~/.local/share/flatpak/exports/bin/run/com.visualstudio.code.insiders ]; then
|
||||
flatpak run com.visualstudio.code.insiders --verbose --no-sandbox --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
|
||||
flatpak run com.visualstudio.code.insiders --verbose --no-sandbox --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations,WebContentsForceDark "$@"
|
||||
|
||||
else
|
||||
echo "code not found :("
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
set -x
|
||||
# https://github.com/flathub/com.vscodium.codium/issues/55
|
||||
flatpak run com.vscodium.codium --no-sandbox --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
|
||||
flatpak run com.vscodium.codium --no-sandbox --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations,WebContentsForceDark "$@"
|
||||
set +x
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
set -x
|
||||
flatpak run chat.delta.desktop --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
|
||||
flatpak run chat.delta.desktop --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations,WebContentsForceDark "$@"
|
||||
set +x
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -x
|
||||
flatpak run im.riot.Riot --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
|
||||
flatpak run im.riot.Riot --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations,WebContentsForceDark "$@"
|
||||
set +x
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
set -x
|
||||
# proxy authentication is not supported
|
||||
# https://github.com/vector-im/element-web/issues/3320
|
||||
flatpak run --env=LC_ALL=en_US.utf8 --env=TZ=UTC im.riot.Riot --proxy-server=socks5://127.0.0.1:9050 --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
|
||||
flatpak run --env=LC_ALL=en_US.utf8 --env=TZ=UTC im.riot.Riot --proxy-server=socks5://127.0.0.1:9050 --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations,WebContentsForceDark "$@"
|
||||
set +x
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
set -x
|
||||
/usr/bin/google-chrome-stable --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
|
||||
/usr/bin/google-chrome-stable --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations,WebContentsForceDark "$@"
|
||||
set +x
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# workarounding dependency issues
|
||||
|
||||
#set -x
|
||||
set -x
|
||||
# The usual system-wide installation
|
||||
if [ -f /var/lib/flatpak/exports/bin/org.libreoffice.LibreOffice ]; then
|
||||
flatpak run org.libreoffice.LibreOffice "$@"
|
||||
|
@ -15,4 +15,4 @@ elif [ -f /usr/bin/libreoffice ]; then
|
|||
else
|
||||
printf "LibreOffice doesn't seem to be installed :("
|
||||
fi
|
||||
#set +x
|
||||
set +x
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
set -x
|
||||
/usr/bin/microsoft-edge --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
|
||||
/usr/bin/microsoft-edge --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations,WebContentsForceDark "$@"
|
||||
set +x
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -x
|
||||
flatpak run com.github.IsmaelMartinez.teams_for_linux --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
|
||||
flatpak run com.github.IsmaelMartinez.teams_for_linux --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations,WebContentsForceDark "$@"
|
||||
set +x
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -x
|
||||
flatpak run chat.schildi.desktop --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --system-theme-dark-override "$@"
|
||||
flatpak run chat.schildi.desktop --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations,WebContentsForceDark --system-theme-dark-override "$@"
|
||||
set +x
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
set -x
|
||||
# proxy authentication is not supported
|
||||
# https://github.com/vector-im/element-web/issues/3320
|
||||
flatpak run --env=LC_ALL=en_US.utf8 --env=TZ=UTC chat.schildi.desktop --proxy-server=socks5://127.0.0.1:9050 --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --system-theme-dark-override "$@"
|
||||
flatpak run --env=LC_ALL=en_US.utf8 --env=TZ=UTC chat.schildi.desktop --proxy-server=socks5://127.0.0.1:9050 --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations,WebContentsForceDark --system-theme-dark-override "$@"
|
||||
set +x
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
|
||||
set -x
|
||||
# --start-in-tray - would be nice, but then I cannot open it from there, thus --use-tray-icon
|
||||
flatpak run org.signal.Signal --use-tray-icon --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
|
||||
flatpak run org.signal.Signal --use-tray-icon --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations,WebContentsForceDark "$@"
|
||||
set +x
|
||||
|
|
|
@ -3,8 +3,8 @@ set -x
|
|||
if [ -f /snap/bin/superproductivity ]; then
|
||||
# https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/105
|
||||
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus
|
||||
snap run superproductivity --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
|
||||
snap run superproductivity --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations,WebContentsForceDark "$@"
|
||||
else
|
||||
/usr/bin/superproductivity --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
|
||||
/usr/bin/superproductivity --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations,WebContentsForceDark "$@"
|
||||
fi
|
||||
set +x
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
set -x
|
||||
/usr/bin/vivaldi --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
|
||||
/usr/bin/vivaldi --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations,WebContentsForceDark "$@"
|
||||
set +x
|
||||
|
|
Loading…
Reference in New Issue