mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-08-04 21:27:21 +02:00
Compare commits
10 Commits
1005790a58
...
1876055cd5
Author | SHA1 | Date | |
---|---|---|---|
1876055cd5 | |||
c344db12a2 | |||
bccd86cf57 | |||
40c76fd7b4 | |||
34348d12e8 | |||
f7883ed97c | |||
93e8a30e45 | |||
50247ddc4d | |||
6d89c3671b | |||
fc760ab4f3 |
@ -59,8 +59,9 @@ if [[ -f /usr/bin/dnf && ! -d /sysroot/ostree ]]; then
|
||||
# potentially unsafe, see a few lines above and the apt-get section
|
||||
dnf "$@" autoremove
|
||||
elif [[ -f /usr/bin/rpm-ostree && -d /sysroot/ostree ]]; then
|
||||
rpm-ostree upgrade --check
|
||||
sleep 5
|
||||
rpm-ostree upgrade
|
||||
# This may flash far too fast otherwise
|
||||
sleep 5
|
||||
fi
|
||||
|
||||
|
@ -24,12 +24,16 @@ flatpak override --filesystem=~/.editorconfig:ro $@
|
||||
flatpak override --filesystem=~/.local/share/fonts:ro $@
|
||||
|
||||
# Controller access for everything and SECURITY likely all input access
|
||||
flatpak override --filesystem=/dev/uinput:ro $@
|
||||
# F: Not sharing "/dev/uinput" with sandbox: File "/dev/uinput" has unsupported type 0o20000
|
||||
#flatpak override --filesystem=/dev/uinput:ro $@
|
||||
flatpak override --filesystem=/run/udev:ro $@
|
||||
# MangoHUD for everything that has it
|
||||
flatpak override --env=MANGOHUD=1 $@
|
||||
flatpak override --filesystem=xdg-config/MangoHud:ro $@
|
||||
|
||||
# LaTeX templates allowed before they become an issue.
|
||||
flatpak override --filesystem=~/texmf/tex/latex/local:ro $@
|
||||
|
||||
# Public git repositories I access or symlink much.
|
||||
flatpak override --filesystem=~/.shell-things:ro $@
|
||||
flatpak override --filesystem=/root/.shell-things:ro $@
|
||||
@ -118,6 +122,30 @@ flatpak override com.valvesoftware.Steam --system-talk-name=org.freedesktop.Netw
|
||||
flatpak override com.valvesoftware.Steam --system-talk-name=org.freedesktop.UPower $@
|
||||
flatpak override com.valvesoftware.Steam --system-talk-name=org.freedesktop.ConsoleKit $@
|
||||
|
||||
# Desktop shortcuts of Steam laziness. Inspired by https://github.com/flathub/com.valvesoftware.Steam/issues/85
|
||||
flatpak override com.valvesoftware.Steam --filesystem=xdg-desktop:rw $@
|
||||
flatpak override com.valvesoftware.Steam --filesystem=xdg-data/applications:rw $@
|
||||
flatpak override com.valvesoftware.Steam --filesystem=xdg-data/icons:rw $@
|
||||
|
||||
# Place the wrapper script the desktop entries above expect
|
||||
# TODO: Be less lazy and don't nest if
|
||||
if [ "$(id -u)" = "0" ]; then
|
||||
mkdir -vp /usr/local/bin/
|
||||
if [ -f /var/lib/flatpak/exports/bin/com.valvesoftware.Steam ]; then
|
||||
ln -s /var/lib/flatpak/exports/bin/com.valvesoftware.Steam /usr/local/bin/steam
|
||||
fi
|
||||
if hash symlinks 2> /dev/null; then
|
||||
symlinks -d /usr/local/bin/
|
||||
fi
|
||||
fi
|
||||
if [ -f $HOME/.local/share/flatpak/exports/bin/com.valvesoftware.Steam ]; then
|
||||
mkdir -vp $HOME/.local/bin/
|
||||
ln -s $HOME/.local/share/flatpak/exports/bin/com.valvesoftware.Steam ~/.local/bin/steam
|
||||
if hash symlinks 2> /dev/null; then
|
||||
symlinks -d $HOME/.local/bin/
|
||||
fi
|
||||
fi
|
||||
|
||||
# For use with system syncthing, note its flags
|
||||
flatpak override me.kozec.syncthingtk --filesystem=~/.config/syncthing:create $@
|
||||
|
||||
|
@ -5,8 +5,8 @@ if [ -f /usr/bin/chromium-browser ]; then
|
||||
elif [ -f /usr/bin/chromium ]; then
|
||||
/usr/bin/chromium --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable-features=WaylandWindowDecorations "$@"
|
||||
elif [ -f /snap/bin/chromium ]; then
|
||||
snap run chromium --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable "$@"
|
||||
snap run chromium --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable-features=WaylandWindowDecorations "$@"
|
||||
else
|
||||
flatpak run org.chromium.Chromium --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable "$@"
|
||||
flatpak run org.chromium.Chromium --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable-features=WaylandWindowDecorations "$@"
|
||||
fi
|
||||
set +x
|
||||
|
1
bash/usr-local-bin/chromiuma
Symbolic link
1
bash/usr-local-bin/chromiuma
Symbolic link
@ -0,0 +1 @@
|
||||
chromium
|
@ -6,7 +6,9 @@ elif [[ -d "$HOME/.config/google-chrome-unstable" && -d "$HOME/.cache/google-chr
|
||||
/usr/bin/google-chrome-unstable --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable-features=WaylandWindowDecorations "$@"
|
||||
elif [[ -d "$HOME/.config/google-chrome-beta" && -d "$HOME/.cache/google-chrome-beta" ]]; then
|
||||
/usr/bin/google-chrome-beta --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable-features=WaylandWindowDecorations "$@"
|
||||
else
|
||||
elif hash google-chrome-stable 2> /dev/null; then
|
||||
/usr/bin/google-chrome-stable --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable-features=WaylandWindowDecorations "$@"
|
||||
else
|
||||
chromiuma "$@"
|
||||
fi
|
||||
set +x
|
||||
|
@ -1,14 +1,14 @@
|
||||
{
|
||||
"devDependencies": {
|
||||
"@aminda/global-prettier-config": "2025.16.0",
|
||||
"@aminda/global-prettier-config": "2025.21.0",
|
||||
"@prettier/plugin-ruby": "4.0.4",
|
||||
"@prettier/plugin-xml": "3.4.1",
|
||||
"corepack": "latest",
|
||||
"prettier": "3.5.3",
|
||||
"prettier-plugin-nginx": "1.0.3",
|
||||
"prettier-plugin-sh": "0.17.2",
|
||||
"prettier-plugin-toml": "2.0.4"
|
||||
"prettier-plugin-sh": "0.17.4",
|
||||
"prettier-plugin-toml": "2.0.5"
|
||||
},
|
||||
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39",
|
||||
"packageManager": "pnpm@10.11.0+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977",
|
||||
"prettier": "@aminda/global-prettier-config"
|
||||
}
|
||||
|
42
pnpm-lock.yaml
generated
vendored
42
pnpm-lock.yaml
generated
vendored
@ -8,8 +8,8 @@ importers:
|
||||
.:
|
||||
devDependencies:
|
||||
"@aminda/global-prettier-config":
|
||||
specifier: 2025.16.0
|
||||
version: 2025.16.0
|
||||
specifier: 2025.21.0
|
||||
version: 2025.21.0
|
||||
"@prettier/plugin-ruby":
|
||||
specifier: 4.0.4
|
||||
version: 4.0.4(prettier@3.5.3)
|
||||
@ -26,17 +26,17 @@ importers:
|
||||
specifier: 1.0.3
|
||||
version: 1.0.3
|
||||
prettier-plugin-sh:
|
||||
specifier: 0.17.2
|
||||
version: 0.17.2(prettier@3.5.3)
|
||||
specifier: 0.17.4
|
||||
version: 0.17.4(prettier@3.5.3)
|
||||
prettier-plugin-toml:
|
||||
specifier: 2.0.4
|
||||
version: 2.0.4(prettier@3.5.3)
|
||||
specifier: 2.0.5
|
||||
version: 2.0.5(prettier@3.5.3)
|
||||
|
||||
packages:
|
||||
"@aminda/global-prettier-config@2025.16.0":
|
||||
"@aminda/global-prettier-config@2025.21.0":
|
||||
resolution:
|
||||
{
|
||||
integrity: sha512-A++pQoqdFbeeXradpFJvwmuf0KFh9ykJpfaLMaVBCmG+4ssRy+B3e2OcSiI5oqG7D1EzgX+izQBPsAC4g0y9cQ==,
|
||||
integrity: sha512-2r7n24AgkOK5mHHNVagM0DADSWpYv1deF1eC80HMCoXKyuT0TSb+fMvZUfhi8w+S5DCZKzoTvQH3+3wFg7f3bA==,
|
||||
}
|
||||
|
||||
"@prettier/plugin-ruby@4.0.4":
|
||||
@ -100,19 +100,19 @@ packages:
|
||||
integrity: sha512-vV5q85s8XnV6NEgvz1gVLfZhmxAxY03MyOYj2ApBpjFkbs00lRsRkTmqO9L39ADuD18z1RRCcfZ3eVxKhI/nqg==,
|
||||
}
|
||||
|
||||
prettier-plugin-sh@0.17.2:
|
||||
prettier-plugin-sh@0.17.4:
|
||||
resolution:
|
||||
{
|
||||
integrity: sha512-7+dEo/IYbhrUj4qP+1QXj41/5Hv9ZkxBuEatI1jywrcAlVF1aGhdYJF4Sn+M67nkA16iRL53W4FSRe1bitTdmQ==,
|
||||
integrity: sha512-aAVKXZ7GTEMZdZsIPSwMwddwPvt2ibMbRGd4OJAP0G7QoeYZV+mPNg2Oln3R53sZ4PVjeAA7Xzi/PuI0QlHHfQ==,
|
||||
}
|
||||
engines: { node: ">=16.0.0" }
|
||||
peerDependencies:
|
||||
prettier: ^3.0.3
|
||||
|
||||
prettier-plugin-toml@2.0.4:
|
||||
prettier-plugin-toml@2.0.5:
|
||||
resolution:
|
||||
{
|
||||
integrity: sha512-uOTNPClqnE3T9XJ8hCqAJek70Jnk3/ZuAG/aXRTmrWbVe8lJyuZ60KV7OtgWqF+iGZOPVpkh+giHhX9GZYRHGA==,
|
||||
integrity: sha512-WjXXKQyY4TdXWHU1v73UJxK/oDLSppf+b9KrSVl2kC4ZOr9CIVPKTQ/JxttgbYMaH8r3ihw7WYhMpI1EFa1obg==,
|
||||
}
|
||||
engines: { node: ">=16.0.0" }
|
||||
peerDependencies:
|
||||
@ -132,10 +132,10 @@ packages:
|
||||
integrity: sha512-tlbJqcMHnPKI9zSrystikWKwHkBqu2a/Sgw01h3zFjvYrMxEDYHzzoMZnUrbIfpTFEsoRnnviOXNCzFiSc54Qw==,
|
||||
}
|
||||
|
||||
sh-syntax@0.5.7:
|
||||
sh-syntax@0.5.8:
|
||||
resolution:
|
||||
{
|
||||
integrity: sha512-74m9dt91konrF5+m0kASugzi37VxKsnTJQ6yvdDZu3IijG5/vIZpImP6FadsJLWNt2X2YD0VaTwW5W7Ox7mFVg==,
|
||||
integrity: sha512-JfVoxf4FxQI5qpsPbkHhZo+n6N9YMJobyl4oGEUBb/31oQYlgTjkXQD8PBiafS2UbWoxrTO0Z5PJUBXEPAG1Zw==,
|
||||
}
|
||||
engines: { node: ">=16.0.0" }
|
||||
|
||||
@ -146,15 +146,15 @@ packages:
|
||||
}
|
||||
|
||||
snapshots:
|
||||
"@aminda/global-prettier-config@2025.16.0":
|
||||
"@aminda/global-prettier-config@2025.21.0":
|
||||
dependencies:
|
||||
"@prettier/plugin-ruby": 4.0.4(prettier@3.5.3)
|
||||
"@prettier/plugin-xml": 3.4.1(prettier@3.5.3)
|
||||
corepack: 0.32.0
|
||||
prettier: 3.5.3
|
||||
prettier-plugin-nginx: 1.0.3
|
||||
prettier-plugin-sh: 0.17.2(prettier@3.5.3)
|
||||
prettier-plugin-toml: 2.0.4(prettier@3.5.3)
|
||||
prettier-plugin-sh: 0.17.4(prettier@3.5.3)
|
||||
prettier-plugin-toml: 2.0.5(prettier@3.5.3)
|
||||
|
||||
"@prettier/plugin-ruby@4.0.4(prettier@3.5.3)":
|
||||
dependencies:
|
||||
@ -185,13 +185,13 @@ snapshots:
|
||||
|
||||
prettier-plugin-nginx@1.0.3: {}
|
||||
|
||||
prettier-plugin-sh@0.17.2(prettier@3.5.3):
|
||||
prettier-plugin-sh@0.17.4(prettier@3.5.3):
|
||||
dependencies:
|
||||
"@reteps/dockerfmt": 0.3.6
|
||||
prettier: 3.5.3
|
||||
sh-syntax: 0.5.7
|
||||
sh-syntax: 0.5.8
|
||||
|
||||
prettier-plugin-toml@2.0.4(prettier@3.5.3):
|
||||
prettier-plugin-toml@2.0.5(prettier@3.5.3):
|
||||
dependencies:
|
||||
"@taplo/lib": 0.5.0
|
||||
prettier: 3.5.3
|
||||
@ -200,7 +200,7 @@ snapshots:
|
||||
|
||||
regexp-to-ast@0.5.0: {}
|
||||
|
||||
sh-syntax@0.5.7:
|
||||
sh-syntax@0.5.8:
|
||||
dependencies:
|
||||
tslib: 2.8.1
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 564890434d2f5771b6f00de7af4b135d97c7964b
|
||||
Subproject commit 9abf81526f4b9242c15f1b647022e56034781c3e
|
@ -1 +1 @@
|
||||
Subproject commit 8f978bfdd0191a6375971f365a95df8afd7eef86
|
||||
Subproject commit 241eec92586deb924b2c1b726d0ede57a4aa744a
|
Loading…
x
Reference in New Issue
Block a user