From e4fff4dc08e01a543a53bb8b1ef747b0c13ca481 Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Mon, 17 Feb 2020 19:18:20 +0100 Subject: [PATCH] upd --- bin/mb-jgtools | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/bin/mb-jgtools b/bin/mb-jgtools index 0324151..3bbeddd 100755 --- a/bin/mb-jgtools +++ b/bin/mb-jgtools @@ -5,10 +5,10 @@ #JGTHEME=${jgmenu_theme:-default} case $jgmenu_theme in default) - export color_norm_fg="#FFFFFF" + export color_norm_fg="#FFFFFF " ;; obtheme) - export color_title_fg="#FFFFFF" + export color_title_fg="#FFFFFF " ob_file=$HOME/.config/openbox/rc.xml [[ -f $ob_file ]] && wm_theme=$(awk '// {while (getline n) {if (match(n, //)){l=n; exit}}} END {split(l, a, "[<>]"); print a[3]}' "$ob_file") while read -r a b c @@ -17,7 +17,7 @@ case $jgmenu_theme in done < $HOME/.config/mabox/jgobthemes/$wm_theme.colorrc ;; *) - export color_norm_fg="#FFFFFF" + export color_norm_fg="#FFFFFF " ;; esac echo "BG$color_menu_bg" @@ -102,12 +102,12 @@ color_title_bg = ${color_title_bg:-#262626 100} color_scroll_ind = ${COLOR_SCROLL_IND:-#504e65 100} -sep_markup = weight="bold" foreground="${color_title_fg% *:-#FFFFFF}" +sep_markup = weight="bold" foreground="${color_title_fg% *}" font = ${font:-Noto Sans Medium 9} icon_size = ${ICON_SIZE:-0} EOF -unset $font +unset font } #MENU GŁÓWNE @@ -375,18 +375,21 @@ cat < ${MENU_ITEMS}  Teraz,scrot $IMG -e $VIEW  Za 5 sekund,scrot -d 5 $IMG -e $VIEW  Za 10 sekund,scrot -d 10 $IMG -e $VIEW +^sep()  wróć,^back() ^tag(window) ^sep(Aktywne Okno )  Teraz,scrot -d 1 -u -b $IMG -e $VIEW  Za 5 sekund,scrot -d 5 -u -b $IMG -e $VIEW  Za 10 sekund,scrot -d 10 -u -b $IMG -e $VIEW +^sep()  wróć,^back() ^tag(borderless) ^sep(Aktywne Okno - bez dekoracji)  Teraz,scrot -d 1 -u $IMG -e $VIEW  Za 5 sekund,scrot -d 5 -u $IMG -e $VIEW  Za 10 sekund,scrot -d 10 -u $IMG -e $VIEW +^sep()  wróć,^back() EOF jgmenu --config-file=${CONFIG_FILE} --csv-file=${MENU_ITEMS} 2>/dev/null