upd
This commit is contained in:
parent
5b915104b3
commit
6fc8eaa1c2
@ -13,7 +13,7 @@ out+=("WALLPAPER,^pipe(jgwallpaperchanger)")
|
||||
out+=("MBX Colors,mbxcolors")
|
||||
out+=("^sep()")
|
||||
out+=("PREFERENCES")
|
||||
out+=("ABOUT and Help,yhtml ${HOME}/.config/colorizer/help/colorizer.html 'Colorizer - OBtheme'")
|
||||
out+=("ABOUT and Help,yhtml /usr/share/mabox-colorizer/help/en.html 'Mabox Colorizer'")
|
||||
|
||||
### RUN
|
||||
if [[ "$1" == "-s" ]]; then
|
||||
@ -43,13 +43,13 @@ if [[ "$1" == "-s" ]]; then
|
||||
|
||||
#TEMP POSITION:
|
||||
MENU_VALIGN="top"
|
||||
MENU_MARGIN_Y="100"
|
||||
MENU_MARGIN_Y="60"
|
||||
|
||||
|
||||
mkconfigfile
|
||||
#THUMB="$(DISPLAY=:0 scrot -t 220x100 -o $HOME/.config/mabox/colorizer.png -e 'echo $m')"
|
||||
cat <<EOF > ${MENU_ITEMS}
|
||||
@icon,,$((jgtools_padding + 4)),$((jgtools_padding + 4)),270,120,4,left,top,,,$HOME/.config/mabox/colorizer.png
|
||||
@icon,,$((jgtools_padding + 4)),$((jgtools_padding + 4)),270,120,4,left,top,,,/usr/share/mabox-colorizer/img/colorizer.png
|
||||
$(printf '%s\n' "${out[@]}")
|
||||
$(printf '%s\n' "${out2[@]}")
|
||||
EOF
|
||||
|
@ -173,12 +173,12 @@ if [[ "$1" == "-s" ]]; then
|
||||
|
||||
#TEMP POSITION:
|
||||
MENU_VALIGN="top"
|
||||
MENU_MARGIN_Y="100"
|
||||
MENU_MARGIN_Y="60"
|
||||
mkconfigfile
|
||||
|
||||
cat <<EOF > ${MENU_ITEMS}
|
||||
@icon,,$((jgtools_padding + 4)),$((jgtools_padding + 4)),270,150,4,left,top,,,${THUMB}
|
||||
#@icon,,$((jgtools_padding + 4)),$((jgtools_padding + 4)),270,150,4,left,top,,,$HOME/.config/mabox/colorizer-conky.png
|
||||
#@icon,,$((jgtools_padding + 4)),$((jgtools_padding + 4)),270,150,4,left,top,,,/usr/share/mabox-colorizer/img/colorizer-conky.png
|
||||
@rect,,$((jgtools_padding + 244)),$((jgtools_padding + 6)),29,60,0,left,top,#FFFFFF 30,${WINCLR} 60,
|
||||
@rect,,$((jgtools_padding + 5)),$((jgtools_padding + 82)),29,40,0,left,top,#FFFFFF 30,${WINCLR} 60,
|
||||
$(printf '%s\n' "${out[@]}")
|
||||
|
@ -184,7 +184,7 @@ JGWIDTH=$((jgtools_padding + 278 + jgtools_padding))
|
||||
|
||||
#TEMP POSITION:
|
||||
MENU_VALIGN="top"
|
||||
MENU_MARGIN_Y="100"
|
||||
MENU_MARGIN_Y="60"
|
||||
|
||||
mkconfigfile
|
||||
|
||||
|
@ -235,13 +235,13 @@ JGWIDTH=$((jgtools_padding + 278 + jgtools_padding))
|
||||
|
||||
#TEMP POSITION:
|
||||
MENU_VALIGN="top"
|
||||
MENU_MARGIN_Y="100"
|
||||
MENU_MARGIN_Y="60"
|
||||
|
||||
mkconfigfile
|
||||
|
||||
cat <<EOF > ${MENU_ITEMS}
|
||||
@icon,,$((jgtools_padding + 4)),$((jgtools_padding + 4)),270,150,4,left,top,,,${THUMB}
|
||||
@icon,,$((jgtools_padding + 4)),$((jgtools_padding + 4)),270,150,4,left,top,,,$HOME/.config/mabox/colorizer-ob.png
|
||||
@icon,,$((jgtools_padding + 4)),$((jgtools_padding + 4)),270,150,4,left,top,,,/usr/share/mabox-colorizer/img/colorizer-ob.png
|
||||
|
||||
$(printf '%s\n' "${out[@]}")
|
||||
$(printf '%s\n' "${out2[@]}")
|
||||
|
Loading…
Reference in New Issue
Block a user