upd
parent
a7ac01194b
commit
e4fff4dc08
|
@ -5,10 +5,10 @@
|
||||||
#JGTHEME=${jgmenu_theme:-default}
|
#JGTHEME=${jgmenu_theme:-default}
|
||||||
case $jgmenu_theme in
|
case $jgmenu_theme in
|
||||||
default)
|
default)
|
||||||
export color_norm_fg="#FFFFFF"
|
export color_norm_fg="#FFFFFF "
|
||||||
;;
|
;;
|
||||||
obtheme)
|
obtheme)
|
||||||
export color_title_fg="#FFFFFF"
|
export color_title_fg="#FFFFFF "
|
||||||
ob_file=$HOME/.config/openbox/rc.xml
|
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")
|
[[ -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
|
while read -r a b c
|
||||||
|
@ -17,7 +17,7 @@ case $jgmenu_theme in
|
||||||
done < $HOME/.config/mabox/jgobthemes/$wm_theme.colorrc
|
done < $HOME/.config/mabox/jgobthemes/$wm_theme.colorrc
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
export color_norm_fg="#FFFFFF"
|
export color_norm_fg="#FFFFFF "
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
echo "BG$color_menu_bg"
|
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}
|
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}
|
font = ${font:-Noto Sans Medium 9}
|
||||||
icon_size = ${ICON_SIZE:-0}
|
icon_size = ${ICON_SIZE:-0}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
unset $font
|
unset font
|
||||||
}
|
}
|
||||||
|
|
||||||
#MENU GŁÓWNE
|
#MENU GŁÓWNE
|
||||||
|
@ -375,18 +375,21 @@ cat <<EOF > ${MENU_ITEMS}
|
||||||
Teraz,scrot $IMG -e $VIEW
|
Teraz,scrot $IMG -e $VIEW
|
||||||
Za 5 sekund,scrot -d 5 $IMG -e $VIEW
|
Za 5 sekund,scrot -d 5 $IMG -e $VIEW
|
||||||
Za 10 sekund,scrot -d 10 $IMG -e $VIEW
|
Za 10 sekund,scrot -d 10 $IMG -e $VIEW
|
||||||
|
^sep()
|
||||||
wróć,^back()
|
wróć,^back()
|
||||||
^tag(window)
|
^tag(window)
|
||||||
^sep(Aktywne Okno )
|
^sep(Aktywne Okno )
|
||||||
Teraz,scrot -d 1 -u -b $IMG -e $VIEW
|
Teraz,scrot -d 1 -u -b $IMG -e $VIEW
|
||||||
Za 5 sekund,scrot -d 5 -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
|
Za 10 sekund,scrot -d 10 -u -b $IMG -e $VIEW
|
||||||
|
^sep()
|
||||||
wróć,^back()
|
wróć,^back()
|
||||||
^tag(borderless)
|
^tag(borderless)
|
||||||
^sep(Aktywne Okno - bez dekoracji)
|
^sep(Aktywne Okno - bez dekoracji)
|
||||||
Teraz,scrot -d 1 -u $IMG -e $VIEW
|
Teraz,scrot -d 1 -u $IMG -e $VIEW
|
||||||
Za 5 sekund,scrot -d 5 -u $IMG -e $VIEW
|
Za 5 sekund,scrot -d 5 -u $IMG -e $VIEW
|
||||||
Za 10 sekund,scrot -d 10 -u $IMG -e $VIEW
|
Za 10 sekund,scrot -d 10 -u $IMG -e $VIEW
|
||||||
|
^sep()
|
||||||
wróć,^back()
|
wróć,^back()
|
||||||
EOF
|
EOF
|
||||||
jgmenu --config-file=${CONFIG_FILE} --csv-file=${MENU_ITEMS} 2>/dev/null
|
jgmenu --config-file=${CONFIG_FILE} --csv-file=${MENU_ITEMS} 2>/dev/null
|
||||||
|
|
Loading…
Reference in New Issue