Merge pull request #21 from sydarn/miscsway

Misc sway fixes
This commit is contained in:
sydarn 2024-03-29 18:57:00 +01:00 committed by GitHub
commit 2141b0a2fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -12,7 +12,7 @@ Type=simple
ExecStart=/usr/bin/start_es.sh
# This is hack, ES doesn't immediately detect the builtin gamepad
# unless an input device is connected while ES is running
ExecStartPost=/usr/bin/timeout --preserve-status 1 /usr/bin/gptokeyb
ExecStartPost=/usr/bin/timeout --preserve-status 5 /usr/bin/gptokeyb
WorkingDirectory=/storage
Restart=always
RestartSec=2

View file

@ -7,3 +7,5 @@ export SWAYSOCK="${XDG_RUNTIME_DIR}/sway-ipc.0.sock"
# this lets ppsspp to work with wayland and not segfault
export SDL_VIDEODRIVER=wayland
export SDL_AUDIODRIVER=pulseaudio
export XKB_CONFIG_ROOT=/usr/share/X11/xkb