help and updates
This commit is contained in:
parent
5e1e8dbd31
commit
a6e97335e1
@ -70,14 +70,14 @@ if pgrep -af "conky.*mbcolor" >/dev/null; then
|
||||
out2+=("^sep()")
|
||||
out2+=("<small><span bgcolor='$WINCLR'> </span></small> Background color,^pipe(mbclr '$WINCLR' conkyctl win_bgcolor_all WIN_BGCOLOR '$me')")
|
||||
out+=("^sep()")
|
||||
out+=("FONTS [ $FONT $FONTSIZE ],^checkout(font)")
|
||||
out+=("FONTS [ <b>$FONT $FONTSIZE</b> ],^checkout(font)")
|
||||
out2+=("^tag(font)")
|
||||
out2+=("^sep(BASE_FONT)")
|
||||
out2+=("Set custom basefont...,mb-setfont conky_all;$me")
|
||||
out2+=("^sep()")
|
||||
out2+=("<tt>++</tt> Increase,conkyctl basefont_inc_all;$me")
|
||||
out2+=("<tt>--</tt> Decrease,conkyctl basefont_dec_all;$me")
|
||||
out+=("Outline/Shadow [ $SHADOWS ],^checkout(outline)")
|
||||
out+=("Outline/Shadow [ <b>$SHADOWS</b> ],^checkout(outline)")
|
||||
out2+=("^tag(outline)")
|
||||
out2+=("^sep(Outline/Shadow)")
|
||||
out2+=("No,conkyctl shades_all no;$me")
|
||||
@ -87,7 +87,7 @@ if pgrep -af "conky.*mbcolor" >/dev/null; then
|
||||
|
||||
|
||||
out+=("^sep()")
|
||||
out+=("BORDERS [ $BORD $STIP ],^checkout(border)")
|
||||
out+=("BORDERS [ <b>$BORD $STIP</b> ],^checkout(border)")
|
||||
out2+=("^tag(border)")
|
||||
out2+=("^sep(DRAW BORDERS?)")
|
||||
out2+=("Yes,conkyctl draw_borders_all true;$me")
|
||||
|
@ -47,15 +47,15 @@ out+=("<tt><small>$(printf '%3s' "$MBGA")</small> <span bgcolor='$MBG' bgalpha='
|
||||
out+=("<tt><small>$(printf '%3s' "$MBGTA")</small> <span bgcolor='$MBGT' bgalpha='${MBGTA/#[0]/1}%'> </span><span bgcolor='$MBGT'> </span></tt> COLOR_MENU_BG_TO,^pipe(mbclr '$MBGT' jgctl color_menu_bg_to COLOR_MENU_BG_TO '$me')")
|
||||
out+=("<tt><small>$(printf '%3s' "$MBORDERA")</small> <span bgcolor='$MBORDER' bgalpha='${MBORDERA/#[0]/1}%'> </span><span bgcolor='$MBORDER'> </span></tt> COLOR_MENU_BORDER,^pipe(mbclr '$MBORDER' jgctl color_menu_border COLOR_MENU_BORDER '$me')")
|
||||
out+=("^sep()")
|
||||
out+=("GRADIENT_POS [ $GRADIENT ],^checkout(gradientpos)")
|
||||
out+=("GRADIENT_POS [ <b>$GRADIENT</b> ],^checkout(gradientpos)")
|
||||
|
||||
out+=("^sep(item)")
|
||||
out+=("<tt><small>$(printf '%3s' "$NFGA")</small> <span weight='bold' fgcolor='$NFG' fgalpha='${NFGA/#[0]/1}%'> AbCd </span></tt> COLOR_NORM_FG,^pipe(mbclr '$NFG' jgctl color_norm_fg COLOR_NORM_FG '$me')")
|
||||
out+=("<tt><small>$(printf '%3s' "$SBGA")</small> <span bgcolor='$SBG' bgalpha='${SBGA/#[0]/1}%'> </span><span bgcolor='$SBG'> </span></tt> COLOR_SEL_BG,^pipe(mbclr '$SBG' jgctl color_sel_bg COLOR_SEL_BG '$me')")
|
||||
out+=("<tt><small>$(printf '%3s' "$SFGA")</small> <span weight='bold' bgcolor='$SBG' bgalpha='${SBGA/#[0]/1}%' fgcolor='$SFG' fgalpha='${SFGA/#[0]/1}%'> AbCd </span></tt> COLOR_SEL_FG,^pipe(mbclr '$SFG' jgctl color_sel_fg COLOR_SEL_FG '$me')")
|
||||
out+=("<tt><small>$(printf '%3s' "$SBORDERA")</small> <span bgcolor='$SBORDER' bgalpha='${SBORDERA/#[0]/1}%'> </span><span bgcolor='$SBORDER'> </span></tt> COLOR_SEL_BORDER,^pipe(mbclr '$SBORDER' jgctl color_sel_border COLOR_SEL_BORDER '$me')")
|
||||
out+=("ITEM_BORDER [ $IBORDER ],^checkout(itemborder)")
|
||||
out+=("ITEM_RADIUS [ $IRADIUS ],^checkout(itemradius)")
|
||||
out+=("ITEM_BORDER [ <b>$IBORDER</b> ],^checkout(itemborder)")
|
||||
out+=("ITEM_RADIUS [ <b>$IRADIUS</b> ],^checkout(itemradius)")
|
||||
out+=("^sep()")
|
||||
[[ ! -z "$NORMBG" ]] && out+=("<tt><small>$(printf '%3s' "$NORMBGA")</small> <span bgcolor='${NORMBG}' bgalpha='${NORMBGA/#[0]/1}%'> </span><span bgcolor='${NORMBG}'> </span></tt> COLOR_NORM_BG,^pipe(mbclr '$NORMBG' jgctl color_norm_bg COLOR_NORM_BG '$me')")
|
||||
|
||||
@ -64,7 +64,7 @@ out+=("<tt><small>$(printf '%3s' "$TBGA")</small> <span bgcolor='$TBG' bgalpha='
|
||||
out+=("<tt><small>$(printf '%3s' "$TFGA")</small> <span weight='bold' bgcolor='$TBG' bgalpha='${TBGA/#[0]/1}%' fgcolor='$TFG' fgalpha='${TFGA}%'> AbCd </span></tt> COLOR_TITLE_FG,^pipe(mbclr '$TFG' jgctl color_title_fg COLOR_TITLE_FG '$me')")
|
||||
out+=("<tt><small>$(printf '%3s' "$TBORDERA")</small> <span bgcolor='$TBORDER' bgalpha='${TBORDERA/#[0]/1}%'> </span><span bgcolor='$TBORDER'> </span></tt> COLOR_TITLE_BORDER,^pipe(mbclr '$TBORDER' jgctl color_title_border COLOR_TITLE_BORDER '$me')")
|
||||
out+=("^sep()")
|
||||
out+=("SEP_HALIGN [ $SEPHALIGN ],^checkout(sephalign)")
|
||||
out+=("SEP_HALIGN [ <b>$SEPHALIGN</b> ],^checkout(sephalign)")
|
||||
out+=("^sep()")
|
||||
out+=("<tt><small>$(printf '%3s' "$SEPFGA")</small> <span fgcolor='$SEPFG' fgalpha='${SEPFGA/#[0]/1}%'>------</span></tt> COLOR_SEP_FG,^pipe(mbclr '$SEPFG' jgctl color_sep_fg COLOR_SEP_FG '$me')")
|
||||
|
||||
|
@ -72,16 +72,18 @@ out+=("<tt><span bgcolor='$ABG'> </span></tt> ACTIVE_BG,^pipe(mbclr '$ABG'
|
||||
out+=("<tt><span bgcolor='$NBG'> </span></tt> INACTIVE_BG,^pipe(mbclr '$NBG' obtctl clrnormalbg INACTIVE_BG '$me')")
|
||||
out+=("<tt><span bgcolor='$ABG' fgcolor='$AFG'> <b>AbCd</b> </span></tt> TITLEBAR TEXT,^checkout(titletext)")
|
||||
|
||||
out+=("GRADIENT [ ${REST##* } ],^checkout(gradient)")
|
||||
out+=("PADDING [ $PHEIGHT $PWIDTH ],^checkout(padding)")
|
||||
out+=("PADDING [ <b>$PHEIGHT $PWIDTH</b> ],^checkout(padding)")
|
||||
out+=("Raised or flat? [ <b>$WINRAISED</b> ],^checkout(raised)")
|
||||
out+=("^sep(Gradient)")
|
||||
out+=("Gradient type [ <b>${REST##* }</b> ],^checkout(gradient)")
|
||||
[[ ! -z "$ABGTO" ]] && out+=("<tt><span bgcolor='$ABG'> </span><span bgcolor='$ABGTO'> </span></tt> ACTIVE_BG_TO,^pipe(mbclr '$ABGTO' obtctl clractivebgto ACTIVE_BG_TO '$me')")
|
||||
[[ ! -z "$ABGTO" ]] && out+=("<tt><span bgcolor='$NBG'> </span><span bgcolor='$NBGTO'> </span></tt> INACTIVE_BG_TO,^pipe(mbclr '$NBGTO' obtctl clrnormalbgto INACTIVE_BG_TO '$me')")
|
||||
out+=("^sep(BORDER)")
|
||||
out+=("<tt><span bgcolor='$ALINE'> </span></tt> ACTIVE_BORDER,^pipe(mbclr '$ALINE' obtctl activeborderColor ACTIVE_BORDER_COLOR '$me')")
|
||||
out+=("<tt><span bgcolor='$NLINE'> </span></tt> INACTIVE_BORDER,^pipe(mbclr '$NLINE' obtctl inactiveborderColor INACTIVE_BORDER_COLOR '$me')")
|
||||
out+=("BORDER [ $BORD ],^checkout(border)")
|
||||
out+=("HANDLEWIDTH [ $HANDLE ],^checkout(handlewidth)")
|
||||
out+=("^sep(EFFECTS)")
|
||||
out+=("RAISED? [ $WINRAISED ],^checkout(raised)")
|
||||
out+=("ACTIVEHANDLE? [ $AHANDLE ],^checkout(handle)")
|
||||
out+=("BORDER [ <b>$BORD</b> ],^checkout(border)")
|
||||
out+=("HANDLEWIDTH [ <b>$HANDLE</b> ],^checkout(handlewidth)")
|
||||
out+=("ACTIVEHANDLE? [ <b>$AHANDLE</b> ],^checkout(handle)")
|
||||
|
||||
if [ -f "${THEMERC}.bak" ]; then
|
||||
out+=("^sep()")
|
||||
@ -151,7 +153,7 @@ out2+=("4,obtctl borderWidth 4;$me")
|
||||
out2+=("5,obtctl borderWidth 5;$me")
|
||||
#RAISED
|
||||
out2+=("^tag(raised)")
|
||||
out2+=("^sep(raised)")
|
||||
out2+=("^sep(Raised or flat?)")
|
||||
out2+=("0 (flat),obtctl raised 0;$me")
|
||||
out2+=("1 (raised),obtctl raised 1;$me")
|
||||
#GRADIENT
|
||||
@ -166,9 +168,7 @@ out2+=("SplitVertical,obtctl gradient splitvertical;$me")
|
||||
out2+=("Diagonal,obtctl gradient diagonal;$me")
|
||||
out2+=("CrossDiagonal,obtctl gradient crossdiagonal;$me")
|
||||
out2+=("Pyramid,obtctl gradient pyramid;$me")
|
||||
out2+=("^sep(COLORS)")
|
||||
[[ ! -z "$ABGTO" ]] && out2+=("<tt><span bgcolor='$ABGTO'> </span></tt> ACTIVE_BG_TO,^pipe(mbclr '$ABGTO' obtctl clractivebgto ACTIVE_BG_TO '$me')")
|
||||
[[ ! -z "$ABGTO" ]] && out2+=("<tt><span bgcolor='$NBGTO'> </span></tt> INACTIVE_BG_TO,^pipe(mbclr '$NBGTO' obtctl clrnormalbgto INACTIVE_BG_TO '$me')")
|
||||
|
||||
#HANDLE
|
||||
out2+=("^tag(handle)")
|
||||
out2+=("^sep(ACTIVEHANDLE)")
|
||||
|
21
bin/conkyctl
21
bin/conkyctl
@ -182,6 +182,9 @@ kill () {
|
||||
}
|
||||
|
||||
single () {
|
||||
filename=${1##*/}
|
||||
name=${filename%%_mb*}
|
||||
title=${name//_/ }
|
||||
me="colorizer-conky -s"
|
||||
read POS <<< "$(grep alignment ${1} | cut -d'=' -f2 | cut -d"'" -f2)"
|
||||
read GAPX <<< "$(grep gap_x ${1} | cut -d'=' -f2 | cut -d"," -f1)"
|
||||
@ -215,7 +218,7 @@ single () {
|
||||
[[ "$WINTRANS" == false ]] && BG="bgcolor='$WINCLR'" || BG=""
|
||||
|
||||
out+=("^sep(POSITION)")
|
||||
out+=("Alignment [ $POS ],^checkout(pos)")
|
||||
out+=("Alignment [ <b>$POS</b> ],^checkout(pos)")
|
||||
out2+=("^tag(pos)")
|
||||
out2+=("^sep(POSITION)")
|
||||
out2+=("TopLeft,conkyctl pos top_left ${1};$me")
|
||||
@ -227,13 +230,13 @@ single () {
|
||||
out2+=("BottomLeft,conkyctl pos bottom_left ${1};$me")
|
||||
out2+=("Bottom,conkyctl pos bottom_middle ${1};$me")
|
||||
out2+=("BottomRight,conkyctl pos bottom_right ${1};$me")
|
||||
out+=("HORIZONTAL GAP [ $GAPX ],^checkout(gapx)")
|
||||
out+=("HORIZONTAL GAP [ <b>$GAPX</b> ],^checkout(gapx)")
|
||||
out2+=("^tag(gapx)")
|
||||
out2+=("^sep(HORIZONTAL_GAP)")
|
||||
for i in 0 10 20 30 40 60 80 100 120 140 160 180 200 220 240 260 280 300 320 340 360; do
|
||||
out2+=("${i},conkyctl gap_x ${i} ${1};$me")
|
||||
done
|
||||
out+=("VERTICAL GAP [ $GAPY ],^checkout(gapy)")
|
||||
out+=("VERTICAL GAP [ <b>$GAPY</b> ],^checkout(gapy)")
|
||||
out2+=("^tag(gapy)")
|
||||
out2+=("^sep(VERTICAL_GAP)")
|
||||
for i in 0 10 20 30 40 60 80 100 120 140 160 180 200 220 240 260 280 300 320 340 360; do
|
||||
@ -243,7 +246,7 @@ single () {
|
||||
if [[ "$1" =~ "logo_mbcolor" ]]; then
|
||||
read LSIZE <<< "$(grep minimum_height ${1} | cut -d'=' -f2 | cut -d"," -f1)"
|
||||
out+=("^sep(Size)")
|
||||
out+=("Logo size [ $LSIZE ],^checkout(logosize)")
|
||||
out+=("Logo size [ <b>$LSIZE</b> ],^checkout(logosize)")
|
||||
out2+=("^tag(logosize)")
|
||||
out2+=("^sep(Logo size)")
|
||||
out2+=("Small 64px,conkyctl logosize 64;$me")
|
||||
@ -273,7 +276,7 @@ single () {
|
||||
|
||||
if [[ "$1" != *"logo_mbcolor"* ]]; then
|
||||
if [[ "$1" != *"quoter_mbcolor"* ]]; then
|
||||
out+=("FONT [ $FONT $FONTSIZE ],^checkout(fontsingle)")
|
||||
out+=("FONT [ <b>$FONT $FONTSIZE</b> ],^checkout(fontsingle)")
|
||||
out2+=("^tag(fontsingle)")
|
||||
out2+=("^sep(BASE_FONT)")
|
||||
|
||||
@ -282,7 +285,7 @@ single () {
|
||||
out2+=("<tt>++</tt> Increase,conkyctl basefont_inc ${1};$me")
|
||||
out2+=("<tt>--</tt> Decrease,conkyctl basefont_dec ${1};$me")
|
||||
fi
|
||||
out+=("Outline/Shadow [ $SHADOWS ],^checkout(outline2)")
|
||||
out+=("Outline/Shadow [ <b>$SHADOWS</b> ],^checkout(outline2)")
|
||||
out2+=("^tag(outline2)")
|
||||
out2+=("^sep(Outline/Shadow)")
|
||||
out2+=("No,conkyctl shades no ${1};$me")
|
||||
@ -291,7 +294,7 @@ single () {
|
||||
out2+=("Draw outline,conkyctl shades outline ${1};$me")
|
||||
out+=("^sep()")
|
||||
fi
|
||||
out+=("BORDERS [ $BORD $STIP ],^checkout(bordersingle)")
|
||||
out+=("BORDERS [ <b>$BORD $STIP</b> ],^checkout(bordersingle)")
|
||||
out2+=("^tag(bordersingle)")
|
||||
out2+=("^sep(DRAW BORDERS?)")
|
||||
out2+=("Yes,conkyctl draw_borders true ${1};$me")
|
||||
@ -304,9 +307,9 @@ single () {
|
||||
out2+=("4,conkyctl stippled_borders 4 ${1};$me")
|
||||
|
||||
out+=("^sep()")
|
||||
out+=(" Edit ${1##*/},xdg-open ${1}")
|
||||
out+=(" Edit ${title^},xdg-open ${1}")
|
||||
out+=("^sep()")
|
||||
out+=(" Kill ${1##*/},conkyctl kill ${1##*/};${me}")
|
||||
out+=(" Kill ${title^},conkyctl kill ${1##*/};${me}")
|
||||
|
||||
printf '%s\n' "${out[@]}"
|
||||
printf '%s\n' "${out2[@]}"
|
||||
|
@ -9,10 +9,11 @@
|
||||
<p></p>
|
||||
<button class="w3-bar-item w3-button w3-tiny tablink" onclick="openTab(event, 'Colorizer')">Colorizer</button>
|
||||
<button class="w3-bar-item w3-button w3-tiny tablink" onclick="openTab(event, 'Openbox')">Openbox Theme</button>
|
||||
<button class="w3-bar-item w3-button w3-tiny tablink" onclick="openTab(event, 'Jgmenu')">Menu / Sidepanels</button>
|
||||
<button class="w3-bar-item w3-button w3-tiny tablink" onclick="openTab(event, 'Conky')">Conky</button>
|
||||
<button class="w3-bar-item w3-button w3-tiny tablink" onclick="openTab(event, 'Jgmenu')">Menu / Sidepanels</button>
|
||||
<button class="w3-bar-item w3-button w3-tiny tablink" onclick="openTab(event, 'Terminal')">Terminal theme</button>
|
||||
<button class="w3-bar-item w3-button w3-tiny tablink" onclick="openTab(event, 'Tint2')">Tint2 Panel</button>
|
||||
<button class="w3-bar-item w3-button w3-tiny tablink" onclick="openTab(event, 'Icons')">Icons</button>
|
||||
<button class="w3-bar-item w3-button w3-tiny tablink" onclick="openTab(event, 'Save')">Save and Restore</button>
|
||||
|
||||
</div>
|
||||
|
||||
@ -31,18 +32,81 @@
|
||||
<section id="Openbox" class="w3-container tab" style="display:none;min-height:100vh;">
|
||||
<a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://colorizer-ob -s">Launch OBtheme module</a>
|
||||
<h2>Openbox theme</h2>
|
||||
<p>The Openbox module allows you to easily customize the appearance of window decorations.</p>
|
||||
|
||||
</section>
|
||||
<p>You can change the colors and size of:
|
||||
<ul><li>title bar</li><li>border / line</li></ul>
|
||||
|
||||
<section id="Jgmenu" class="w3-container tab" style="display:none;min-height:100vh">
|
||||
<a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://colorizer-menus -s">Launch Menus module</a>
|
||||
<h2>Menu / Sidepanels</h2>
|
||||
</p>
|
||||
<h3>Gradients</h3>
|
||||
Openbox title bar can use various types of gradients...
|
||||
<table class="w3-table-all w3-centered w3-grey w3-tiny">
|
||||
<tr>
|
||||
<th>Gradient type</th>
|
||||
<th>Image (click to see in action)</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Solid color (no gradient)</td>
|
||||
<td><a href="run://obtctl gradient solid">[Image here]</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Vertical</td>
|
||||
<td><a href="run://obtctl gradient vertical">[Image here]</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Horizontal</td>
|
||||
<td><a href="run://obtctl gradient horizontal">[Image here]</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>MirrorHorizontal</td>
|
||||
<td><a href="run://obtctl gradient mirrorhorizontal">[Image here]</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>SplitVertical</td>
|
||||
<td><a href="run://obtctl gradient splitvertical">[Image here]</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Diagonal</td>
|
||||
<td><a href="run://obtctl gradient diagonal">[Image here]</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>CrossDiagonal</td>
|
||||
<td><a href="run://obtctl gradient crossdiagonal">[Image here]</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Pyramid</td>
|
||||
<td><a href="run://obtctl gradient pyramid">[Image here]</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<h3>Raised or flat?</h3>
|
||||
<table class="w3-table-all w3-centered w3-grey w3-tiny">
|
||||
<tr>
|
||||
<td>Raised</td>
|
||||
<td><a href="run://obtctl raised 1">[Image here]</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Flat</td>
|
||||
<td><a href="run://obtctl raised 0">[Image here]</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<section id="Conky" class="w3-container tab" style="display:none;min-height:100vh;">
|
||||
<a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://colorizer-conky -s">Launch Conky module</a>
|
||||
<h2>Conky</h2>
|
||||
<p>Conky module ...</p>
|
||||
</section>
|
||||
<section id="Jgmenu" class="w3-container tab" style="display:none;min-height:100vh">
|
||||
<a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://colorizer-menus -s">Launch Menus module</a>
|
||||
<h2>Menu / Sidepanels</h2>
|
||||
<p>Menu / Sidepanels module ...</p>
|
||||
</section>
|
||||
<section id="Terminal" class="w3-container tab" style="display:none;min-height:100vh">
|
||||
<a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://terminator -x theme.sh -i2;bash">Launch Terminal theme seclector</a>
|
||||
<h2>Terminal theme</h2>
|
||||
[ IMAGE ]
|
||||
<p>Mabox comes with many terminal themes available (~300)</p>
|
||||
</section>
|
||||
<section id="Tint2" class="w3-container tab" style="display:none;min-height:100vh;">
|
||||
<h2>Panel Tint2</h2>
|
||||
@ -50,9 +114,9 @@
|
||||
<p>Use quite powerfull Tint2 config menu for now.</p>
|
||||
<p><a class="w3-button w3-inline w3-round w3-tiny w3-lime" href="run://jgtint2-pipe -s">tint2 config menu</a></p>
|
||||
</section>
|
||||
<section id="Icons" class="w3-container tab" style="display:none;min-height:100vh;">
|
||||
<h2>Icons</h2>
|
||||
<p>Not available yet - planned</p>
|
||||
<section id="Save" class="w3-container tab" style="display:none;min-height:100vh;"><a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://mb-obthemes">Launch Theme Manager</a>
|
||||
<h2>Save and Restore</h2>
|
||||
<p>If you are satisfied with your configuration, you can save it as a meta-theme so that you can restore it later.</p>
|
||||
<p></p>
|
||||
</section>
|
||||
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 833 B |
Loading…
Reference in New Issue
Block a user