master
Daniel Napora 2020-03-01 02:10:22 +01:00
parent 254f626f23
commit 5b1b86fbad
1 changed files with 9 additions and 9 deletions

View File

@ -145,7 +145,7 @@ trap "rm -f ${CONFIG_FILE} ${MENU_ITEMS}" EXIT
MENU_HALIGN="right" MENU_HALIGN="right"
ITEM_HALIGN="left" ITEM_HALIGN="left"
ARROW_STRING=" ⮜ " ARROW_STRING=" ⮜ "
ICON_SIZE="18" [ $jgmenu_use_icons == true ] && ICON_SIZE=18
TABS="100" TABS="100"
MENU_HEIGHT_MIN=$(xdpyinfo | awk '/^ +dimensions/ {print $2}' | cut -d 'x' -f2) MENU_HEIGHT_MIN=$(xdpyinfo | awk '/^ +dimensions/ {print $2}' | cut -d 'x' -f2)
@ -272,8 +272,8 @@ $SCREENSHOT,mb-jgtools screenshot,emblem-photos
^tag(system) ^tag(system)
^sep($SYS_AND_HARDWARE) ^sep($SYS_AND_HARDWARE)
$LOCALE_SETTINGS,manjaro-settings-manager -m msm_locale, $LOCALE_SETTINGS,manjaro-settings-manager -m msm_locale,chronometer
$LANGUAGE_PACKAGES,manjaro-settings-manager -m msm_language_packages, $LANGUAGE_PACKAGES,manjaro-settings-manager -m msm_language_packages,globe
$KERNEL,manjaro-settings-manager -m msm_kernel,distributor-logo-linux $KERNEL,manjaro-settings-manager -m msm_kernel,distributor-logo-linux
$USER_ACCOUNTS,manjaro-settings-manager -m msm_users,system-config-users $USER_ACCOUNTS,manjaro-settings-manager -m msm_users,system-config-users
$TIME_DATE,manjaro-settings-manager -m msm_timedate,system-config-date $TIME_DATE,manjaro-settings-manager -m msm_timedate,system-config-date
@ -406,10 +406,10 @@ case $LANG in
;; ;;
esac esac
JGWIDTH="340" JGWIDTH="348"
MENU_HALIGN="center" MENU_HALIGN="center"
MENU_VALIGN="center" MENU_VALIGN="center"
MENU_PADDING_TOP=213 MENU_PADDING_TOP=221
TABS="250" TABS="250"
ITEM_HEIGHT="30" ITEM_HEIGHT="30"
ICON_SIZE="24" ICON_SIZE="24"
@ -421,7 +421,7 @@ mkconfigfile
wmctrl -k on wmctrl -k on
THUMB="$(DISPLAY=:0 scrot -t 340x213 -o /tmp/mblogout.png -e 'echo $m')" THUMB="$(DISPLAY=:0 scrot -t 340x213 -o /tmp/mblogout.png -e 'echo $m')"
cat <<EOF > ${MENU_ITEMS} cat <<EOF > ${MENU_ITEMS}
@icon,,0,0,340,100,4,left,top,,,$THUMB @icon,,4,4,340,100,4,left,top,,,$THUMB
@icon,,10,20,48,48,4,left,top,,,/usr/share/icons/hicolor/48x48/apps/mbcc.png @icon,,10,20,48,48,4,left,top,,,/usr/share/icons/hicolor/48x48/apps/mbcc.png
@text,,180,170,220,20,4,left,top,#EEEEEE,#111111,$OSNAME $OSVERSION <sup> $OSCODE</sup> @text,,180,170,220,20,4,left,top,#EEEEEE,#111111,$OSNAME $OSVERSION <sup> $OSCODE</sup>
@text,,180,190,200,20,4,left,top,#DDDDDD,#DDDDDD,<small>$USER@$HOSTNAME</small> @text,,180,190,200,20,4,left,top,#DDDDDD,#DDDDDD,<small>$USER@$HOSTNAME</small>
@ -467,8 +467,8 @@ case $LANG in
CANCEL="Cancel" CANCEL="Cancel"
;; ;;
esac esac
JGWIDTH="340" JGWIDTH="348"
MENU_PADDING_TOP=213 MENU_PADDING_TOP=221
MENU_HALIGN="center" MENU_HALIGN="center"
MENU_VALIGN="center" MENU_VALIGN="center"
TABS="280" TABS="280"
@ -486,7 +486,7 @@ THUMB="$(DISPLAY=:0 scrot -t 340x213 -o /tmp/jgscrot.png -e 'echo $m')"
mkconfigfile mkconfigfile
cat <<EOF > ${MENU_ITEMS} cat <<EOF > ${MENU_ITEMS}
@icon,,0,0,340,100,4,left,top,,,$THUMB @icon,,4,4,340,100,4,left,top,,,$THUMB
^sep($SCRNSHOTS) ^sep($SCRNSHOTS)
 $FULLSCR,^root(full)  $FULLSCR,^root(full)
 $ACTIVE_WIN,^root(window)  $ACTIVE_WIN,^root(window)