switching to computer english

This commit is contained in:
Aminda Suomalainen 2025-04-28 13:34:18 +03:00
parent 790cbd02c9
commit 81ff17ddc8
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
11 changed files with 12 additions and 11 deletions

View File

@ -6,9 +6,7 @@
set -x
# This is said to be a poor practice that should only be used for debugging
#export LC_ALL=C.utf8
# More universally supported even on older systems
export LC_ALL="en_DK.UTF-8"
export LC_ALL=C.utf8
# if hash checks that the command exists
if hash apt-get 2> /dev/null; then

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
export LC_ALL=C.utf8
# A simple script to list networks iwd detects and give instruction for
# connecting to it. Heavily inspired by `man iwctl`

View File

@ -18,7 +18,7 @@ elif [ -f "$HOME/Persistent/AppImages/beeper.appimage" ]; then
mkdir -vp "$HOME/Persistent/AppImages/beeper.appimage.home"
# We are using Tor, so we are American English, UTC is enforced anyway,
# but probably won't hurt.
export LC_ALL=en_US.utf8
export LC_ALL=C.utf8
export TZ=UTC
$HOME/Persistent/AppImages/beeper.appimage --ozone-platform=wayland --enable-features=WaylandWindowDecorations --proxy-server=socks5://127.0.0.1:9050 "$@"
else

View File

@ -18,7 +18,7 @@ elif [ -f "$HOME/Persistent/AppImages/element.appimage" ]; then
mkdir -vp "$HOME/Persistent/AppImages/element.appimage.home"
# We are using Tor, so we are American English, UTC is enforced anyway,
# but probably won't hurt.
export LC_ALL=en_US.utf8
export LC_ALL=C.utf8
export TZ=UTC
$HOME/Persistent/AppImages/beeper.appimage --ozone-platform=wayland --enable-features=WaylandWindowDecorations --proxy-server=socks5://127.0.0.1:9050 "$@"
elif [ -f /var/lib/flatpak/exports/bin/im.riot.Riot ]; then

View File

@ -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=wayland --enable-features=WaylandWindowDecorations "$@"
flatpak run --env=LC_ALL=C.utf8 --env=TZ=UTC im.riot.Riot --proxy-server=socks5://127.0.0.1:9050 --ozone-platform=wayland --enable-features=WaylandWindowDecorations "$@"
set +x

View File

@ -5,6 +5,7 @@
set -x
export LC_ALL=C.utf8
# TODO: this should be automatic
export GOVERSION=1.21

View File

@ -4,8 +4,8 @@
# desired
set -x
if [[ "$1" == -* ]]; then
flatpak run --env=LC_ALL=en_US.utf8 --env=TZ=UTC --env=all_proxy=socks5://127.0.0.1:9050/ im.nheko.Nheko//master "$@"
flatpak run --env=LC_ALL=C.utf8 --env=TZ=UTC --env=all_proxy=socks5://127.0.0.1:9050/ im.nheko.Nheko//master "$@"
else
flatpak run --env=LC_ALL=en_US.utf8 --env=TZ=UTC --env=all_proxy=socks5://127.0.0.1:9050/ im.nheko.Nheko//master --compact --profile "$@"
flatpak run --env=LC_ALL=C.utf8 --env=TZ=UTC --env=all_proxy=socks5://127.0.0.1:9050/ im.nheko.Nheko//master --compact --profile "$@"
fi
set +x

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -x
export LC_ALL=en_DK.UTF-8
export LC_ALL=C.utf8
# if yay is installed and we aren't root, run it instead
if [[ -f /usr/bin/yay && $(id -u) != 0 ]]; then

View File

@ -1,6 +1,7 @@
#!/usr/bin/env bash
set -x
export LC_ALL=C.utf8
sudo systemctl start nordvpnd.socket
sleep 5
sudo systemctl start nordvpnd.service

View File

@ -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=wayland --enable-features=WaylandWindowDecorations --system-theme-dark-override "$@"
flatpak run --env=LC_ALL=C.utf8 --env=TZ=UTC chat.schildi.desktop --proxy-server=socks5://127.0.0.1:9050 --ozone-platform=wayland --enable-features=WaylandWindowDecorations --system-theme-dark-override "$@"
set +x

View File

@ -3,6 +3,7 @@
# Quick syncplay wrapper
set -x
export LC_ALL=C.utf8
if [ -f "/tmp/syncplay.$(id -u).$(date -I)" ]; then
echo "Syncplay has been touched today"