ZENITY: enlarged text

This commit is contained in:
XargonWan 2025-02-19 13:11:08 +09:00
parent f5c4a31a46
commit 8f6bacc7e1
2 changed files with 8 additions and 1 deletions

View file

@ -300,9 +300,15 @@ dir_prep() {
rd_zenity() {
# This function replaces the standard 'zenity' command and filters out annoying GTK errors on Steam Deck
export GUI="zenity"
zenity 2> >(grep -v 'Gtk' >&2) "$@"
env GDK_SCALE=1.5 \
GDK_DPI_SCALE=1.5 \
zenity 2> >(grep -v 'Gtk' >&2) "$@"
local status=${PIPESTATUS[0]} # Capture the exit code of 'zenity'
unset GUI
return $status
}

View file

@ -70,6 +70,7 @@
<li>INITIAL SETUP: prompts to add RetroDECK to Steam</li>
<li>CONFIGURATOR: reset components menu simplified and allowed multiple choices and `Factory Reset`</li>
<li>CONFIGURATOR: refacotred open component menu</li>
<li>CONFIGURATOR: scaled UI to 1.5x</li>
<li>New CLI argument `--set` to set presets, call retrodeck with `--set help` for more information</li>
<li>New CLI argument `--open` to open a component or emulator. Call retrodeck with `--open --list` for a list of available components or emulator to open</li>
<li>New CLI argument `--reset` that replaces the previous ones</li>