This commit is contained in:
Daniel Napora 2022-12-22 02:33:00 +01:00
parent 9ce4ec0442
commit f194a8dd21
5 changed files with 30 additions and 20 deletions

View File

@ -146,6 +146,7 @@ case "$LANG" in
RES_CONKY="Conky" RES_CONKY="Conky"
RES_MENU="Menu i Paneli" RES_MENU="Menu i Paneli"
RES_ALL="Wszystko <i>(OB, menu, conky)</i>" RES_ALL="Wszystko <i>(OB, menu, conky)</i>"
COLORIZE="Pokoloruj..."
;; ;;
*) *)
REGENERATE="(Re)Generate from wallpaper colors..." REGENERATE="(Re)Generate from wallpaper colors..."
@ -232,11 +233,12 @@ case "$LANG" in
HELP="Main Window and Help" HELP="Main Window and Help"
RESET_COLORS="Reset Colors" RESET_COLORS="Reset Colors"
RESET_CHOOSE="Reset..." RESET_CHOOSE="Reset..."
RESET_SEP="Resey Colors of ..." RESET_SEP="Reset Colors of ..."
RES_OB_WD="OpenBox Window Decorations" RES_OB_WD="OpenBox Window Decorations"
RES_CONKY="Conkies" RES_CONKY="Conkies"
RES_MENU="Menus / Panels" RES_MENU="Menus / Panels"
RES_ALL="All <i>(OB, menus, conky)</i>" RES_ALL="All <i>(OB, menus, conky)</i>"
COLORIZE="Colorize..."
;; ;;
esac esac
@ -279,7 +281,7 @@ else
out+=(" $HELP,yhtml /usr/share/mabox-colorizer/help/en.html 'Mabox Colorizer'") out+=(" $HELP,yhtml /usr/share/mabox-colorizer/help/en.html 'Mabox Colorizer'")
fi fi
out+=("^sep()") out+=("^sep()")
out+=(" Randomizer,^pipe(randomizer c)") out+=(" $COLORIZE,^pipe(randomizer c)")
out+=("^sep($MODULES)") out+=("^sep($MODULES)")
out+=("$OBTHEME,^pipe(colorizer-ob)") out+=("$OBTHEME,^pipe(colorizer-ob)")
out+=("Conky,^pipe(colorizer-conky)") out+=("Conky,^pipe(colorizer-conky)")
@ -571,9 +573,9 @@ out3+=("$NO,mb-setvar wall2themes_pyradio=none $CNF_FILE;colorizer -s")
out3+=("^sep()") out3+=("^sep()")
out3+=("$LIGHTBG,mb-setvar wall2themes_pyradio=light $CNF_FILE;colorizer -s") out3+=("$LIGHTBG,mb-setvar wall2themes_pyradio=light $CNF_FILE;colorizer -s")
out3+=("$DARKBG,mb-setvar wall2themes_pyradio=dark $CNF_FILE;colorizer -s") out3+=("$DARKBG,mb-setvar wall2themes_pyradio=dark $CNF_FILE;colorizer -s")
out2+=("^sep()") #out2+=("^sep()")
out2+=("$WALLPAPERS,^checkout(wallpapersettings)") #out2+=("$WALLPAPERS,^checkout(wallpapersettings)")
out3+=("^tag(wallpapersettings)") out3+=("^tag(wallpapersettings)")
out3+=("^sep($SYSWALLPAPER ($syswallp))") out3+=("^sep($SYSWALLPAPER ($syswallp))")
out3+=("^sep(<i>/usr/share/backgrounds</i>)") out3+=("^sep(<i>/usr/share/backgrounds</i>)")

View File

@ -6,7 +6,7 @@
<style> <style>
body{ body{
background-color:#222222; background-color:#222222;
color: #909090 color: #999999;
} }
div.fixed { div.fixed {
position: fixed; position: fixed;
@ -86,7 +86,7 @@ kbd {
</ul></p> </ul></p>
<!--<strong><span class="w3-tag w3-round w3-tiny w3-green link" onclick="openTab(event, 'Wall2theme')">Automatically generate themes</span></strong> for all above <strong>from Wallpaper colors</strong>//--> <!--<strong><span class="w3-tag w3-round w3-tiny w3-green link" onclick="openTab(event, 'Wall2theme')">Automatically generate themes</span></strong> for all above <strong>from Wallpaper colors</strong>//-->
<br/> <br/>
<p class="w3-center"><span class="w3-tag w3-round w3-red">New!</span>  Randomizer - set color themes quickly and securely</p> <p class="w3-center"><strong>Randomizer</strong> - set color themes quickly and securely <span class="w3-tag w3-round w3-red">New!</span></p>
<div class="w3-row w3-margin-top"> <div class="w3-row w3-margin-top">
<div class="w3-half w3-container"> <div class="w3-half w3-container">
<div class="w3-card w3-round w3-padding w3-deep-purple"><span class="w3-right w3-xxlarge"></span><p><em>Quickly <strong>randomize</strong> <br />colorschemes for...</em></p> <div class="w3-card w3-round w3-padding w3-deep-purple"><span class="w3-right w3-xxlarge"></span><p><em>Quickly <strong>randomize</strong> <br />colorschemes for...</em></p>
@ -125,7 +125,7 @@ kbd {
<div class="w3-bar"> <div class="w3-bar">
<a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://colorizer-ob -s"> OBtheme menu</a> <a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://colorizer-ob -s"> OBtheme menu</a>
<a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://obtctl resetMBcolors"> Reset</a> <a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://obtctl resetMBcolors"> Reset</a>
<a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://randomizer ob">Randomize</a> <a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://randomizer ob">Colorize </a>
</div> </div>
</div> </div>
<h2>Openbox theme</h2> <h2>Openbox theme</h2>
@ -326,7 +326,7 @@ kbd {
<div class="w3-bar"> <div class="w3-bar">
<a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://colorizer-menus -s"> Menu module</a> <a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://colorizer-menus -s"> Menu module</a>
<a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://jgctl resetMBcolors show"> Reset</a> <a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://jgctl resetMBcolors show"> Reset</a>
<a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://randomizer menu show">Randomize</a> <a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://randomizer menu show">Colorize </a>
</div> </div>
</div> </div>
<h2>Menu / Sidepanels</h2> <h2>Menu / Sidepanels</h2>
@ -339,7 +339,7 @@ kbd {
<div class="w3-bar"> <div class="w3-bar">
<a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://colorizer-conky -s"> Conky menu</a> <a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://colorizer-conky -s"> Conky menu</a>
<a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://conkyctl resetcolorsall"> Reset</a> <a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://conkyctl resetcolorsall"> Reset</a>
<a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://randomizer conky">Randomize</a> <a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://randomizer conky">Colorize </a>
</div> </div>
</div> </div>
<h2>Conky</h2> <h2>Conky</h2>
@ -387,10 +387,14 @@ You can add <strong>your own commands</strong> to each Conky, which will be show
</div> </div>
<h2>Terminal theme</h2> <h2>Terminal theme</h2>
<p>Mabox comes with many terminal themes available (~400)</p> <p>Mabox comes with many terminal themes available (~400)</p>
<p>The interactive selector will help you find a suitable theme</p> <p>The interactive selector will help you find a suitable theme <br />( <kbd>Enter</kbd>/<kbd>Esc</kbd> - use selected theme, <kbd>Ctrl</kbd>+<kbd>c</kbd> - cancel)</p>
<p>You can run terminal theme selector any time from cli by <strong>th</strong> alias</p> <p>You can run terminal theme selector any time from cli by <strong>th</strong> alias</p>
<img src="img/theme.sh.png"> <br /><br />
<h5>Different colors for root and SSH sessions</h5>
<img src="img/theme.sh.webp" />
<p>To change theme for <strong>ssh</strong> and <strong>root sessions</strong> edit <tt>~/.bashrc</tt></p>
</section> </section>
<section id="Tint2" class="w3-container tab" style="display:none;min-height:100vh;"> <section id="Tint2" class="w3-container tab" style="display:none;min-height:100vh;">
<h2>Tint2 panel</h2> <h2>Tint2 panel</h2>
<p>Colorizer module for Tint2 panel is not available yet - but planned</p> <p>Colorizer module for Tint2 panel is not available yet - but planned</p>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

View File

@ -6,7 +6,7 @@
<style> <style>
body{ body{
background-color:#222222; background-color:#222222;
color: #909090 color: #999999;
} }
div.fixed { div.fixed {
position: fixed; position: fixed;
@ -130,7 +130,7 @@ kbd {
<div class="w3-bar"> <div class="w3-bar">
<a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://colorizer-ob -s"> Openbox menu</a> <a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://colorizer-ob -s"> Openbox menu</a>
<a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://obtctl resetMBcolors"> Resetuj</a> <a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://obtctl resetMBcolors"> Resetuj</a>
<a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://randomizer ob">Losuj motyw</a> <a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://randomizer ob">Pokoloruj</a>
</div> </div>
</div> </div>
<h2>Motyw Openbox</h2> <h2>Motyw Openbox</h2>
@ -329,7 +329,7 @@ kbd {
<div class="w3-bar"> <div class="w3-bar">
<a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://colorizer-menus -s"> Moduł Menu</a> <a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://colorizer-menus -s"> Moduł Menu</a>
<a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://jgctl resetMBcolors show"> Resetuj</a> <a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://jgctl resetMBcolors show"> Resetuj</a>
<a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://randomizer menu show">Losuj motyw</a> <a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://randomizer menu show">Pokoloruj</a>
</div> </div>
</div> </div>
<h2>Menu / Panele boczne</h2> <h2>Menu / Panele boczne</h2>
@ -341,7 +341,7 @@ kbd {
<div class="w3-bar"> <div class="w3-bar">
<a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://colorizer-conky -s"> Conky menu</a> <a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://colorizer-conky -s"> Conky menu</a>
<a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://conkyctl resetcolorsall"> Resetuj</a> <a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://conkyctl resetcolorsall"> Resetuj</a>
<a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://randomizer conky">Losuj motyw</a> <a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://randomizer conky">Pokoloruj</a>
</div> </div>
</div> </div>
<h2>Conky</h2> <h2>Conky</h2>
@ -374,10 +374,14 @@ Do każdego Conky możesz dodać <strong>własne polecenia</strong>, które zost
<a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="termo://theme.sh -i2">Wybierz Motyw Terminala</a> <a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="termo://theme.sh -i2">Wybierz Motyw Terminala</a>
</div> </div>
<h2>Motyw Terminala</h2> <h2>Motyw Terminala</h2>
<p>Mabox comes with many terminal themes available (~400)</p> <p>Mabox dostarcz wiele motywów kolorystycznych dla terminali (~400)</p>
<p>The interactive selector will help you find a suitable theme</p> <p>Interaktywny selektor pomoże Ci znaleźć odpowiedni motyw <br />( <kbd>Enter</kbd>/<kbd>Esc</kbd> - użyj wybranego motywu, <kbd>Ctrl</kbd>+< kbd>c</kbd> - anuluj)</p>
<p>You can run terminal theme selector any time from cli by <strong>th</strong> alias</p> <p>Możesz uruchomić selektor motywu terminala w dowolnym momencie z linii komend za pomocą aliasu <strong>th</strong></p>
<img src="img/theme.sh.png"> <br /><br />
<h5>Różne kolory dla sesji root i SSH</h5>
<img src="img/theme.sh.webp" />
<p>Aby zmienić motyw dla sesji <strong>ssh</strong> i <strong>root</strong>, edytuj <tt>~/.bashrc</tt></p>
</section> </section>
<section id="Tint2" class="w3-container tab" style="display:none;min-height:100vh;"> <section id="Tint2" class="w3-container tab" style="display:none;min-height:100vh;">
<h2>Panel Tint2</h2> <h2>Panel Tint2</h2>