fix(games): size windows to content with edge border; add Games to app-context menu

This commit is contained in:
Luxferre
2026-10-23 16:54:13 +03:00
parent bf4652ca5b
commit 2a12f8bdb4
7 changed files with 19 additions and 17 deletions
+10 -8
View File
@@ -236,15 +236,17 @@ $icon_cfg Suspend Blockers^0^sxmo_terminal.sh sxmo_debug_suspend.sh
$icon_inf Log^0^sxmo_terminal.sh tail -n 100 -f ${XDG_STATE_HOME:-$HOME}/sxmo.log
$icon_inf Version^0^sxmo_terminal.sh sxmo_version.sh --block"
;;
*)
RES="$(sxmo_hook_contextmenu.sh "$WMCLASS" "$WMNAME")"
if [ -n "$RES" ]; then
nl='
*)
RES="$(sxmo_hook_contextmenu.sh "$WMCLASS" "$WMNAME")"
if [ -n "$RES" ]; then
nl='
'
WINNAME="${RES%%"$nl"*}"
CHOICES="${RES#*"$nl"}"
fi
;;
WINNAME="${RES%%"$nl"*}"
CHOICES="${RES#*"$nl"}"
fi
CHOICES="$CHOICES
$icon_gam Games^0^sxmo_appmenu.sh games"
;;
esac
if [ "$WINNAME" = "Sys" ]; then