mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-08-04 21:27:21 +02:00
Compare commits
No commits in common. "bdb636e4b964389bfe709151fa92a8551534dc5e" and "f4559148f063d980d52a6c8196ab130d2444ab1d" have entirely different histories.
bdb636e4b9
...
f4559148f0
@ -23,13 +23,6 @@ flatpak override --filesystem=~/.curlrc:ro $@
|
|||||||
flatpak override --filesystem=~/.editorconfig:ro $@
|
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
|
|
||||||
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 $@
|
|
||||||
|
|
||||||
# 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 $@
|
||||||
@ -80,49 +73,26 @@ flatpak override net.pcsx2.PCSX2 --filesystem=~/PS2:create $@
|
|||||||
|
|
||||||
# A directory I can share between native and flatpak Steam so both have the
|
# A directory I can share between native and flatpak Steam so both have the
|
||||||
# same games without having to navigate weird paths.
|
# same games without having to navigate weird paths.
|
||||||
# Heroic and its flatpak also create this
|
|
||||||
flatpak override com.valvesoftware.Steam --filesystem=~/Games/Heroic:create $@
|
|
||||||
flatpak override com.valvesoftware.Steam --filesystem=~/SteamLibrary:create $@
|
flatpak override com.valvesoftware.Steam --filesystem=~/SteamLibrary:create $@
|
||||||
flatpak override net.lutris.Lutris --filesystem=~/SteamLibrary:create $@
|
flatpak override net.lutris.Lutris --filesystem=~/SteamLibrary:create $@
|
||||||
flatpak override com.heroicgameslauncher.hgl --filesystem=~/SteamLibrary:create $@
|
flatpak override com.heroicgameslauncher.hgl --filesystem=~/SteamLibrary:create $@
|
||||||
|
|
||||||
# My Steam Deck laziness. My systemd units check for /var/ and Steam checks
|
|
||||||
# free space based on top level directory so it has to be a subdirectory
|
|
||||||
# and while the mount point may be /var/sdcard I don't want to give it
|
|
||||||
# access to root directory in case it denied that for security
|
|
||||||
if [ -d /var/sdcard/Steam ]; then
|
|
||||||
mkdir -vp /var/sdcard/Steam/Library
|
|
||||||
flatpak override com.valvesoftware.Steam --filesystem=/var/sdcard/Steam:rw $@
|
|
||||||
flatpak override net.lutris.Lutris --filesystem=/var/sdcard/Steam:rw $@
|
|
||||||
flatpak override com.heroicgameslauncher.hgl --filesystem=/var/sdcard/Steam:rw $@
|
|
||||||
mkdir -vp /var/sdcard/Heroic/Library
|
|
||||||
flatpak override com.valvesoftware.Steam --filesystem=/var/sdcard/Heroic:rw $@
|
|
||||||
flatpak override net.lutris.Lutris --filesystem=/var/sdcard/Heroic:rw $@
|
|
||||||
flatpak override com.heroicgameslauncher.hgl --filesystem=/var/sdcard/Heroic:rw $@
|
|
||||||
fi
|
|
||||||
|
|
||||||
# https://github.com/ValveSoftware/steam-for-linux/issues/4924
|
# https://github.com/ValveSoftware/steam-for-linux/issues/4924
|
||||||
# ref: the experiment near top
|
# ref: the experiment near top
|
||||||
flatpak override com.valvesoftware.Steam --nosocket=fallback-x11 --socket=x11 $@
|
flatpak override com.valvesoftware.Steam --nosocket=fallback-x11 --socket=x11 $@
|
||||||
flatpak override com.heroicgameslauncher.hgl --nosocket=fallback-x11 --socket=x11 $@
|
flatpak override com.heroicgameslauncher.hgl --nosocket=fallback-x11 --socket=x11 $@
|
||||||
|
|
||||||
# Steam flatpak workarounds a lot by non-UTF-8 C
|
|
||||||
flatpak override com.valvesoftware.Steam --env=LC_ALL=C.utf8
|
|
||||||
|
|
||||||
# Enable mangohud for all Steam games
|
# Enable mangohud for all Steam games
|
||||||
#flatpak override com.valvesoftware.Steam --env=MANGOHUD=1 $@
|
flatpak override com.valvesoftware.Steam --env=MANGOHUD=1 $@
|
||||||
|
|
||||||
# Permit Steam to access NetworkManager to also fix Big Picture Mode network
|
# Permit Steam to access NetworkManager to also fix Big Picture Mode network
|
||||||
flatpak override com.valvesoftware.Steam --system-talk-name=org.freedesktop.NetworkManager $@
|
flatpak override com.valvesoftware.Steam --system-talk-name=org.freedesktop.NetworkManager $@
|
||||||
# Also power management and console(?) to poweroff from BPM
|
|
||||||
flatpak override com.valvesoftware.Steam --system-talk-name=org.freedesktop.UPower $@
|
|
||||||
flatpak override com.valvesoftware.Steam --system-talk-name=org.freedesktop.ConsoleKit $@
|
|
||||||
|
|
||||||
# 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 $@
|
||||||
|
|
||||||
# https://github.com/flathub/com.microsoft.Edge?tab=readme-ov-file#game-controllers-not-working
|
# https://github.com/flathub/com.microsoft.Edge?tab=readme-ov-file#game-controllers-not-working
|
||||||
#flatpak override --filesystem=/run/udev:ro com.microsoft.Edge $@
|
flatpak override --filesystem=/run/udev:ro com.microsoft.Edge $@
|
||||||
|
|
||||||
# Mosh starts by opening an SSH connection and thus it needs to at least read my SSH config. Seeing new keys probably needs rw to known_hosts and as I use sockets, they may need rw. Then there is my config.d being in a private git repo...
|
# Mosh starts by opening an SSH connection and thus it needs to at least read my SSH config. Seeing new keys probably needs rw to known_hosts and as I use sockets, they may need rw. Then there is my config.d being in a private git repo...
|
||||||
flatpak override org.mosh.mosh --filesystem=~/.ssh/config:ro $@
|
flatpak override org.mosh.mosh --filesystem=~/.ssh/config:ro $@
|
||||||
|
Loading…
x
Reference in New Issue
Block a user