mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-08-21 05:47:20 +02:00
Compare commits
No commits in common. "8c95141efa1165b70b63f771646c53efdb2fe496" and "db9ab6a0e9dd05460f70eac8397c7aab7de8fe46" have entirely different histories.
8c95141efa
...
db9ab6a0e9
@ -78,9 +78,9 @@ repos:
|
|||||||
exclude_types: [python, pyi, jupyter]
|
exclude_types: [python, pyi, jupyter]
|
||||||
additional_dependencies: [
|
additional_dependencies: [
|
||||||
# https://www.npmjs.com/package/prettier
|
# https://www.npmjs.com/package/prettier
|
||||||
"prettier@3.1.1",
|
"prettier@3.1.0",
|
||||||
# https://www.npmjs.com/package/@prettier/plugin-ruby
|
# https://www.npmjs.com/package/@prettier/plugin-ruby
|
||||||
"@prettier/plugin-ruby@4.0.4",
|
"@prettier/plugin-ruby@4.0.3",
|
||||||
]
|
]
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 23.12.1
|
rev: 23.12.1
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
# This script partially reverts https://gitea.blesmrt.net/mikaela/scripts/commit/e76a4a6a0d0472428d519205543171b1b1cdc258
|
|
||||||
set -x
|
|
||||||
ln -sf /var/lib/flatpak/exports/bin/com.rafaelmardojai.Blanket ~/.local/bin/blanket
|
|
||||||
# `flatpak make-current org.briarproject.Briar stable`?
|
|
||||||
ln -sf /var/lib/flatpak/exports/bin/org.briarproject.Briar ~/.local/bin/briar
|
|
||||||
ln -sf /var/lib/flatpak/exports/bin/org.claws_mail.Claws-Mail ~/.local/bin/claws-mail
|
|
||||||
ln -sf /var/lib/flatpak/exports/bin/com.visualstudio.code ~/.local/bin/code
|
|
||||||
ln -sf /var/lib/flatpak/exports/bin/com.vscodium.codium ~/.local/bin/codium
|
|
||||||
ln -sf /var/lib/flatpak/exports/bin/chat.delta.desktop ~/.local/bin/deltachat
|
|
||||||
ln -sf /var/lib/flatpak/exports/bin/im.riot.Riot ~/.local/bin/element
|
|
||||||
ln -sf /var/lib/flatpak/exports/bin/com.github.tchx84.Flatseal ~/.local/bin/flatseal
|
|
||||||
ln -sf /var/lib/flatpak/exports/bin/chat.schildi.desktop ~/.local/bin/schildichat
|
|
||||||
ln -sf /var/lib/flatpak/exports/bin/org.signal.Signal ~/.local/bin/signal-desktop
|
|
||||||
ln -sf /var/lib/flatpak/exports/bin/org.telegram.desktop ~/.local/bin/telegram-desktop
|
|
||||||
ln -sf /var/lib/flatpak/exports/bin/com.github.micahflee.torbrowser-launcher ~/.local/bin/torbrowser-launcher-flatpak
|
|
||||||
ln -sf /var/lib/flatpak/exports/bin/org.videolan.VLC ~/.local/bin/vlc-flatpak
|
|
||||||
set +x
|
|
5
bash/usr-local-bin/blanket
Executable file
5
bash/usr-local-bin/blanket
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -x
|
||||||
|
flatpak run com.rafaelmardojai.Blanket $@
|
||||||
|
set +x
|
11
bash/usr-local-bin/brave
Executable file
11
bash/usr-local-bin/brave
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# To run Brave under Wayland
|
||||||
|
# with Mullvad proxy
|
||||||
|
# Wireguard: --proxy-server=socks5://10.64.0.1
|
||||||
|
# OpenVPN: --proxy-server=socks5://10.8.0.1
|
||||||
|
|
||||||
|
set -x
|
||||||
|
/usr/bin/brave-browser-stable --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturerBraveVerticalTabs,EncryptedClientHello,UseDnsHttpsSvcbAlpn --ozone-platform-hint=auto $@
|
||||||
|
# --enable-features=,VaapiVideoDecoder,VaapiIgnoreDriverChecks,WebContentsForceDark --ignore-gpu-blocklist --enable-gpu-rasterization --enable-zero-copy --disable-gpu-driver-bug-workarounds --enable-native-gpu-memory-buffers
|
||||||
|
set +x
|
5
bash/usr-local-bin/briar
Executable file
5
bash/usr-local-bin/briar
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -x
|
||||||
|
flatpak run org.briarproject.Briar//stable $@
|
||||||
|
set +x
|
5
bash/usr-local-bin/claws-mail
Executable file
5
bash/usr-local-bin/claws-mail
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -x
|
||||||
|
flatpak run org.claws_mail.Claws-Mail $@
|
||||||
|
set +x
|
5
bash/usr-local-bin/code
Executable file
5
bash/usr-local-bin/code
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -x
|
||||||
|
flatpak run com.visualstudio.code --no-sandbox --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform-hint=auto $@
|
||||||
|
set +x
|
6
bash/usr-local-bin/codium
Executable file
6
bash/usr-local-bin/codium
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -x
|
||||||
|
# https://github.com/flathub/com.vscodium.codium/issues/55
|
||||||
|
flatpak run com.vscodium.codium --no-sandbox --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform-hint=auto $@
|
||||||
|
set +x
|
16
bash/usr-local-bin/deltachat
Executable file
16
bash/usr-local-bin/deltachat
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# DeltaChat flatpak with easier command (and outside of Mullvad VPN if configured as).
|
||||||
|
# Gandi.net mail servers don't like Mullvad IPs resulting inability to send
|
||||||
|
# anything.
|
||||||
|
|
||||||
|
# The usual Electron flags: --disable-gpu --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland
|
||||||
|
|
||||||
|
# https://github.com/deltachat/deltachat-desktop/issues/2800
|
||||||
|
# Wayland would be enabled by: --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland
|
||||||
|
|
||||||
|
set -x
|
||||||
|
# Having "flatpak run" will make mullvad-exclude lose effect!
|
||||||
|
#/usr/bin/mullvad-exclude
|
||||||
|
/var/lib/flatpak/exports/bin/chat.delta.desktop --disable-gpu $@
|
||||||
|
set +x
|
1
bash/usr-local-bin/edge
Symbolic link
1
bash/usr-local-bin/edge
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
microsoft-edge
|
7
bash/usr-local-bin/element
Executable file
7
bash/usr-local-bin/element
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -x
|
||||||
|
# Flatpak is preferred for Element not having official Fedora repositories
|
||||||
|
# and at the time of writing being unmaintained in upstream suggested repo.
|
||||||
|
flatpak run im.riot.Riot --disable-gpu --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland "$@"
|
||||||
|
set +x
|
12
bash/usr-local-bin/element-tor
Executable file
12
bash/usr-local-bin/element-tor
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Torifying Element with Wayland
|
||||||
|
|
||||||
|
set -x
|
||||||
|
# proxy authentication is not supported
|
||||||
|
# https://github.com/vector-im/element-web/issues/3320
|
||||||
|
#/usr/bin/element --proxy-server=socks5://127.0.0.1:9050 $@
|
||||||
|
# Flatpak is preferred for Element not having official Fedora repositories
|
||||||
|
# and at the time of writing being unmaintained in upstream suggested repo.
|
||||||
|
flatpak run im.riot.Riot --disable-gpu --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland --proxy-server=socks5://127.0.0.1:9050 $@
|
||||||
|
set +x
|
5
bash/usr-local-bin/flatseal
Executable file
5
bash/usr-local-bin/flatseal
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -x
|
||||||
|
flatpak run com.github.tchx84.Flatseal $@
|
||||||
|
set +x
|
11
bash/usr-local-bin/microsoft-edge
Executable file
11
bash/usr-local-bin/microsoft-edge
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# To run Microsoft Edge under Wayland
|
||||||
|
# with Mullvad proxy
|
||||||
|
# Wireguard: --proxy-server=socks5://10.64.0.1
|
||||||
|
# OpenVPN: --proxy-server=socks5://10.8.0.1
|
||||||
|
|
||||||
|
set -x
|
||||||
|
/usr/bin/microsoft-edge --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturers,EncryptedClientHello,UseDnsHttpsSvcbAlpn --ozone-platform-hint=auto $@
|
||||||
|
# --enable-features=VaapiVideoDecoder,VaapiIgnoreDriverCheck -ignore-gpu-blocklist --enable-gpu-rasterization --enable-zero-copy --disable-gpu-driver-bug-workarounds --enable-native-gpu-memory-buffers
|
||||||
|
set +x
|
7
bash/usr-local-bin/schildichat
Executable file
7
bash/usr-local-bin/schildichat
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -x
|
||||||
|
# Flatpak is preferred for Element not having official Fedora repositories
|
||||||
|
# and at the time of writing being unmaintained in upstream suggested repo.
|
||||||
|
flatpak run chat.schildi.desktop --disable-gpu --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland "$@"
|
||||||
|
set +x
|
9
bash/usr-local-bin/signal-desktop
Executable file
9
bash/usr-local-bin/signal-desktop
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Signal desktop with Wayland, notification fix & tray
|
||||||
|
|
||||||
|
set -x
|
||||||
|
# --disable-gpu - https://github.com/signalapp/Signal-Desktop/issues/2567#issuecomment-457282578
|
||||||
|
# --start-in-tray - would be nice, but then I cannot open it from there, trus --use-tray-icon
|
||||||
|
flatpak run org.signal.Signal --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland --disable-gpu --use-tray-icon $@
|
||||||
|
set +x
|
5
bash/usr-local-bin/telegram-desktop
Executable file
5
bash/usr-local-bin/telegram-desktop
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -x
|
||||||
|
flatpak run org.telegram.desktop $@
|
||||||
|
set +x
|
7
bash/usr-local-bin/torbrowser-launcher-flatpak
Executable file
7
bash/usr-local-bin/torbrowser-launcher-flatpak
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Starting the torbrowser-launcher flatpak. Not to override the one from package manager.
|
||||||
|
|
||||||
|
set -x
|
||||||
|
flatpak run com.github.micahflee.torbrowser-launcher $@
|
||||||
|
set +x
|
4
bash/usr-local-bin/vivaldi
Executable file
4
bash/usr-local-bin/vivaldi
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -x
|
||||||
|
/usr/bin/vivaldi --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturers,EncryptedClientHello,UseDnsHttpsSvcbAlpn --ozone-platform-hint=auto $@
|
||||||
|
set +x
|
7
bash/usr-local-bin/vlc-flatpak
Executable file
7
bash/usr-local-bin/vlc-flatpak
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Starting the VLC flatpak. Not to override the one from package manager.
|
||||||
|
|
||||||
|
set -x
|
||||||
|
flatpak run org.videolan.VLC $@
|
||||||
|
set +x
|
@ -1 +1 @@
|
|||||||
Subproject commit 1d38e9dbe913a394245be77a3aee15b86a574096
|
Subproject commit d1baa0ace79e01c3704addca20560a2d7e00d3a7
|
Loading…
x
Reference in New Issue
Block a user