From 8f6bacc7e1c3ae75527ad85909fe534db7d94494 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Wed, 19 Feb 2025 13:11:08 +0900 Subject: [PATCH] ZENITY: enlarged text --- functions/other_functions.sh | 8 +++++++- net.retrodeck.retrodeck.metainfo.xml | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/functions/other_functions.sh b/functions/other_functions.sh index 3e51e111..76c06202 100644 --- a/functions/other_functions.sh +++ b/functions/other_functions.sh @@ -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 } diff --git a/net.retrodeck.retrodeck.metainfo.xml b/net.retrodeck.retrodeck.metainfo.xml index ad4a1fab..447d31a3 100644 --- a/net.retrodeck.retrodeck.metainfo.xml +++ b/net.retrodeck.retrodeck.metainfo.xml @@ -70,6 +70,7 @@
  • INITIAL SETUP: prompts to add RetroDECK to Steam
  • CONFIGURATOR: reset components menu simplified and allowed multiple choices and `Factory Reset`
  • CONFIGURATOR: refacotred open component menu
  • +
  • CONFIGURATOR: scaled UI to 1.5x
  • New CLI argument `--set` to set presets, call retrodeck with `--set help` for more information
  • 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
  • New CLI argument `--reset` that replaces the previous ones