mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-08-05 05:37:20 +02:00
Compare commits
No commits in common. "1876055cd56eb9b089e57cab0e50b3abc69b60b6" and "1005790a5866872102f4e851a200d8661591089a" have entirely different histories.
1876055cd5
...
1005790a58
@ -59,9 +59,8 @@ if [[ -f /usr/bin/dnf && ! -d /sysroot/ostree ]]; then
|
|||||||
# potentially unsafe, see a few lines above and the apt-get section
|
# potentially unsafe, see a few lines above and the apt-get section
|
||||||
dnf "$@" autoremove
|
dnf "$@" autoremove
|
||||||
elif [[ -f /usr/bin/rpm-ostree && -d /sysroot/ostree ]]; then
|
elif [[ -f /usr/bin/rpm-ostree && -d /sysroot/ostree ]]; then
|
||||||
rpm-ostree upgrade --check
|
|
||||||
sleep 5
|
|
||||||
rpm-ostree upgrade
|
rpm-ostree upgrade
|
||||||
|
# This may flash far too fast otherwise
|
||||||
sleep 5
|
sleep 5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -24,16 +24,12 @@ flatpak override --filesystem=~/.editorconfig:ro $@
|
|||||||
flatpak override --filesystem=~/.local/share/fonts:ro $@
|
flatpak override --filesystem=~/.local/share/fonts:ro $@
|
||||||
|
|
||||||
# Controller access for everything and SECURITY likely all input access
|
# Controller access for everything and SECURITY likely all input access
|
||||||
# F: Not sharing "/dev/uinput" with sandbox: File "/dev/uinput" has unsupported type 0o20000
|
flatpak override --filesystem=/dev/uinput:ro $@
|
||||||
#flatpak override --filesystem=/dev/uinput:ro $@
|
|
||||||
flatpak override --filesystem=/run/udev:ro $@
|
flatpak override --filesystem=/run/udev:ro $@
|
||||||
# MangoHUD for everything that has it
|
# MangoHUD for everything that has it
|
||||||
flatpak override --env=MANGOHUD=1 $@
|
flatpak override --env=MANGOHUD=1 $@
|
||||||
flatpak override --filesystem=xdg-config/MangoHud:ro $@
|
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.
|
# Public git repositories I access or symlink much.
|
||||||
flatpak override --filesystem=~/.shell-things:ro $@
|
flatpak override --filesystem=~/.shell-things:ro $@
|
||||||
flatpak override --filesystem=/root/.shell-things:ro $@
|
flatpak override --filesystem=/root/.shell-things:ro $@
|
||||||
@ -122,30 +118,6 @@ 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.UPower $@
|
||||||
flatpak override com.valvesoftware.Steam --system-talk-name=org.freedesktop.ConsoleKit $@
|
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
|
# For use with system syncthing, note its flags
|
||||||
flatpak override me.kozec.syncthingtk --filesystem=~/.config/syncthing:create $@
|
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
|
elif [ -f /usr/bin/chromium ]; then
|
||||||
/usr/bin/chromium --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable-features=WaylandWindowDecorations "$@"
|
/usr/bin/chromium --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable-features=WaylandWindowDecorations "$@"
|
||||||
elif [ -f /snap/bin/chromium ]; then
|
elif [ -f /snap/bin/chromium ]; then
|
||||||
snap run chromium --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable-features=WaylandWindowDecorations "$@"
|
snap run chromium --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable "$@"
|
||||||
else
|
else
|
||||||
flatpak run org.chromium.Chromium --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable-features=WaylandWindowDecorations "$@"
|
flatpak run org.chromium.Chromium --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable "$@"
|
||||||
fi
|
fi
|
||||||
set +x
|
set +x
|
||||||
|
@ -1 +0,0 @@
|
|||||||
chromium
|
|
@ -6,9 +6,7 @@ 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 "$@"
|
/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
|
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 "$@"
|
/usr/bin/google-chrome-beta --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable-features=WaylandWindowDecorations "$@"
|
||||||
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
|
else
|
||||||
chromiuma "$@"
|
/usr/bin/google-chrome-stable --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable-features=WaylandWindowDecorations "$@"
|
||||||
fi
|
fi
|
||||||
set +x
|
set +x
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
{
|
{
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@aminda/global-prettier-config": "2025.21.0",
|
"@aminda/global-prettier-config": "2025.16.0",
|
||||||
"@prettier/plugin-ruby": "4.0.4",
|
"@prettier/plugin-ruby": "4.0.4",
|
||||||
"@prettier/plugin-xml": "3.4.1",
|
"@prettier/plugin-xml": "3.4.1",
|
||||||
"corepack": "latest",
|
"corepack": "latest",
|
||||||
"prettier": "3.5.3",
|
"prettier": "3.5.3",
|
||||||
"prettier-plugin-nginx": "1.0.3",
|
"prettier-plugin-nginx": "1.0.3",
|
||||||
"prettier-plugin-sh": "0.17.4",
|
"prettier-plugin-sh": "0.17.2",
|
||||||
"prettier-plugin-toml": "2.0.5"
|
"prettier-plugin-toml": "2.0.4"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@10.11.0+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977",
|
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39",
|
||||||
"prettier": "@aminda/global-prettier-config"
|
"prettier": "@aminda/global-prettier-config"
|
||||||
}
|
}
|
||||||
|
42
pnpm-lock.yaml
generated
vendored
42
pnpm-lock.yaml
generated
vendored
@ -8,8 +8,8 @@ importers:
|
|||||||
.:
|
.:
|
||||||
devDependencies:
|
devDependencies:
|
||||||
"@aminda/global-prettier-config":
|
"@aminda/global-prettier-config":
|
||||||
specifier: 2025.21.0
|
specifier: 2025.16.0
|
||||||
version: 2025.21.0
|
version: 2025.16.0
|
||||||
"@prettier/plugin-ruby":
|
"@prettier/plugin-ruby":
|
||||||
specifier: 4.0.4
|
specifier: 4.0.4
|
||||||
version: 4.0.4(prettier@3.5.3)
|
version: 4.0.4(prettier@3.5.3)
|
||||||
@ -26,17 +26,17 @@ importers:
|
|||||||
specifier: 1.0.3
|
specifier: 1.0.3
|
||||||
version: 1.0.3
|
version: 1.0.3
|
||||||
prettier-plugin-sh:
|
prettier-plugin-sh:
|
||||||
specifier: 0.17.4
|
specifier: 0.17.2
|
||||||
version: 0.17.4(prettier@3.5.3)
|
version: 0.17.2(prettier@3.5.3)
|
||||||
prettier-plugin-toml:
|
prettier-plugin-toml:
|
||||||
specifier: 2.0.5
|
specifier: 2.0.4
|
||||||
version: 2.0.5(prettier@3.5.3)
|
version: 2.0.4(prettier@3.5.3)
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
"@aminda/global-prettier-config@2025.21.0":
|
"@aminda/global-prettier-config@2025.16.0":
|
||||||
resolution:
|
resolution:
|
||||||
{
|
{
|
||||||
integrity: sha512-2r7n24AgkOK5mHHNVagM0DADSWpYv1deF1eC80HMCoXKyuT0TSb+fMvZUfhi8w+S5DCZKzoTvQH3+3wFg7f3bA==,
|
integrity: sha512-A++pQoqdFbeeXradpFJvwmuf0KFh9ykJpfaLMaVBCmG+4ssRy+B3e2OcSiI5oqG7D1EzgX+izQBPsAC4g0y9cQ==,
|
||||||
}
|
}
|
||||||
|
|
||||||
"@prettier/plugin-ruby@4.0.4":
|
"@prettier/plugin-ruby@4.0.4":
|
||||||
@ -100,19 +100,19 @@ packages:
|
|||||||
integrity: sha512-vV5q85s8XnV6NEgvz1gVLfZhmxAxY03MyOYj2ApBpjFkbs00lRsRkTmqO9L39ADuD18z1RRCcfZ3eVxKhI/nqg==,
|
integrity: sha512-vV5q85s8XnV6NEgvz1gVLfZhmxAxY03MyOYj2ApBpjFkbs00lRsRkTmqO9L39ADuD18z1RRCcfZ3eVxKhI/nqg==,
|
||||||
}
|
}
|
||||||
|
|
||||||
prettier-plugin-sh@0.17.4:
|
prettier-plugin-sh@0.17.2:
|
||||||
resolution:
|
resolution:
|
||||||
{
|
{
|
||||||
integrity: sha512-aAVKXZ7GTEMZdZsIPSwMwddwPvt2ibMbRGd4OJAP0G7QoeYZV+mPNg2Oln3R53sZ4PVjeAA7Xzi/PuI0QlHHfQ==,
|
integrity: sha512-7+dEo/IYbhrUj4qP+1QXj41/5Hv9ZkxBuEatI1jywrcAlVF1aGhdYJF4Sn+M67nkA16iRL53W4FSRe1bitTdmQ==,
|
||||||
}
|
}
|
||||||
engines: { node: ">=16.0.0" }
|
engines: { node: ">=16.0.0" }
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
prettier: ^3.0.3
|
prettier: ^3.0.3
|
||||||
|
|
||||||
prettier-plugin-toml@2.0.5:
|
prettier-plugin-toml@2.0.4:
|
||||||
resolution:
|
resolution:
|
||||||
{
|
{
|
||||||
integrity: sha512-WjXXKQyY4TdXWHU1v73UJxK/oDLSppf+b9KrSVl2kC4ZOr9CIVPKTQ/JxttgbYMaH8r3ihw7WYhMpI1EFa1obg==,
|
integrity: sha512-uOTNPClqnE3T9XJ8hCqAJek70Jnk3/ZuAG/aXRTmrWbVe8lJyuZ60KV7OtgWqF+iGZOPVpkh+giHhX9GZYRHGA==,
|
||||||
}
|
}
|
||||||
engines: { node: ">=16.0.0" }
|
engines: { node: ">=16.0.0" }
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@ -132,10 +132,10 @@ packages:
|
|||||||
integrity: sha512-tlbJqcMHnPKI9zSrystikWKwHkBqu2a/Sgw01h3zFjvYrMxEDYHzzoMZnUrbIfpTFEsoRnnviOXNCzFiSc54Qw==,
|
integrity: sha512-tlbJqcMHnPKI9zSrystikWKwHkBqu2a/Sgw01h3zFjvYrMxEDYHzzoMZnUrbIfpTFEsoRnnviOXNCzFiSc54Qw==,
|
||||||
}
|
}
|
||||||
|
|
||||||
sh-syntax@0.5.8:
|
sh-syntax@0.5.7:
|
||||||
resolution:
|
resolution:
|
||||||
{
|
{
|
||||||
integrity: sha512-JfVoxf4FxQI5qpsPbkHhZo+n6N9YMJobyl4oGEUBb/31oQYlgTjkXQD8PBiafS2UbWoxrTO0Z5PJUBXEPAG1Zw==,
|
integrity: sha512-74m9dt91konrF5+m0kASugzi37VxKsnTJQ6yvdDZu3IijG5/vIZpImP6FadsJLWNt2X2YD0VaTwW5W7Ox7mFVg==,
|
||||||
}
|
}
|
||||||
engines: { node: ">=16.0.0" }
|
engines: { node: ">=16.0.0" }
|
||||||
|
|
||||||
@ -146,15 +146,15 @@ packages:
|
|||||||
}
|
}
|
||||||
|
|
||||||
snapshots:
|
snapshots:
|
||||||
"@aminda/global-prettier-config@2025.21.0":
|
"@aminda/global-prettier-config@2025.16.0":
|
||||||
dependencies:
|
dependencies:
|
||||||
"@prettier/plugin-ruby": 4.0.4(prettier@3.5.3)
|
"@prettier/plugin-ruby": 4.0.4(prettier@3.5.3)
|
||||||
"@prettier/plugin-xml": 3.4.1(prettier@3.5.3)
|
"@prettier/plugin-xml": 3.4.1(prettier@3.5.3)
|
||||||
corepack: 0.32.0
|
corepack: 0.32.0
|
||||||
prettier: 3.5.3
|
prettier: 3.5.3
|
||||||
prettier-plugin-nginx: 1.0.3
|
prettier-plugin-nginx: 1.0.3
|
||||||
prettier-plugin-sh: 0.17.4(prettier@3.5.3)
|
prettier-plugin-sh: 0.17.2(prettier@3.5.3)
|
||||||
prettier-plugin-toml: 2.0.5(prettier@3.5.3)
|
prettier-plugin-toml: 2.0.4(prettier@3.5.3)
|
||||||
|
|
||||||
"@prettier/plugin-ruby@4.0.4(prettier@3.5.3)":
|
"@prettier/plugin-ruby@4.0.4(prettier@3.5.3)":
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -185,13 +185,13 @@ snapshots:
|
|||||||
|
|
||||||
prettier-plugin-nginx@1.0.3: {}
|
prettier-plugin-nginx@1.0.3: {}
|
||||||
|
|
||||||
prettier-plugin-sh@0.17.4(prettier@3.5.3):
|
prettier-plugin-sh@0.17.2(prettier@3.5.3):
|
||||||
dependencies:
|
dependencies:
|
||||||
"@reteps/dockerfmt": 0.3.6
|
"@reteps/dockerfmt": 0.3.6
|
||||||
prettier: 3.5.3
|
prettier: 3.5.3
|
||||||
sh-syntax: 0.5.8
|
sh-syntax: 0.5.7
|
||||||
|
|
||||||
prettier-plugin-toml@2.0.5(prettier@3.5.3):
|
prettier-plugin-toml@2.0.4(prettier@3.5.3):
|
||||||
dependencies:
|
dependencies:
|
||||||
"@taplo/lib": 0.5.0
|
"@taplo/lib": 0.5.0
|
||||||
prettier: 3.5.3
|
prettier: 3.5.3
|
||||||
@ -200,7 +200,7 @@ snapshots:
|
|||||||
|
|
||||||
regexp-to-ast@0.5.0: {}
|
regexp-to-ast@0.5.0: {}
|
||||||
|
|
||||||
sh-syntax@0.5.8:
|
sh-syntax@0.5.7:
|
||||||
dependencies:
|
dependencies:
|
||||||
tslib: 2.8.1
|
tslib: 2.8.1
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 9abf81526f4b9242c15f1b647022e56034781c3e
|
Subproject commit 564890434d2f5771b6f00de7af4b135d97c7964b
|
@ -1 +1 @@
|
|||||||
Subproject commit 241eec92586deb924b2c1b726d0ede57a4aa744a
|
Subproject commit 8f978bfdd0191a6375971f365a95df8afd7eef86
|
Loading…
x
Reference in New Issue
Block a user