fix(games): size windows to content with edge border; add Games to app-context menu
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user