This commit is contained in:
Daniel Napora 2020-02-17 19:18:20 +01:00
parent a7ac01194b
commit e4fff4dc08

View File

@ -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 '/<theme>/ {while (getline n) {if (match(n, /<name>/)){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 <<EOF > ${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