glyphicons
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
# jgcursor pipemenu to configure cursor theme and size
|
||||
# To hook it into some menu use:
|
||||
# Cursor,^pipe(jgcursor)
|
||||
|
||||
. /usr/share/mb-jgtools/glyphicons.inc
|
||||
GTK3RC="$HOME/.config/gtk-3.0/settings.ini"
|
||||
|
||||
case $LANG in
|
||||
@@ -28,13 +30,13 @@ while read -r line; do
|
||||
|
||||
lin=${line::-8}
|
||||
li=${lin##*/}
|
||||
[[ "${CURTHEME}" = "${li}" ]] && o+=("<big>綠</big> <b>${li}</b>") || o+=("<big>祿</big> ${li},mb-cursor theme ${li}")
|
||||
[[ "${CURTHEME}" = "${li}" ]] && o+=("<big>${ron}</big> <b>${li}</b>") || o+=("<big>${roff}</big> ${li},mb-cursor theme ${li}")
|
||||
|
||||
done < <(find /usr/share/icons ~/.local/share/icons ~/.icons -type d -name "cursors")
|
||||
|
||||
o+=("^sep($_SIZE)")
|
||||
for c in 16 24 32 48 64;do
|
||||
[[ "${CURSIZE}" == "${c}" ]] && o+=("<big>綠</big> <b>${c}</b>") || o+=("<big>祿</big> ${c},mb-cursor size ${c}")
|
||||
[[ "${CURSIZE}" == "${c}" ]] && o+=("<big>${ron}</big> <b>${c}</b>") || o+=("<big>${roff}</big> ${c},mb-cursor size ${c}")
|
||||
done
|
||||
|
||||
printf "%s\n" "${o[@]}"
|
||||
|
||||
Reference in New Issue
Block a user