Compare commits

..

No commits in common. "master" and "0.9.71" have entirely different histories.

24 changed files with 843 additions and 2080 deletions

View File

@ -7,8 +7,6 @@
CNF_DIR="$HOME/.config/colorizer/conky"
CNF_FILE="$CNF_DIR/conky.cfg"
source <(grep = $CNF_FILE)
PKGS=$(checkupdates | wc -l)
mb-setvar updates=${PKGS}
case "$LANG" in
pl*)
@ -51,7 +49,7 @@ esac
if [ -f /tmp/"$CONKYPID" ]; then
PKGS=$(checkupdates | wc -l)
PKGS=$(pamac checkupdates --no-aur -q| wc -l)
if [ "$PKGS" != "0" ]; then
if [[ "$update_notifications" == "true" ]];then
notify-send.sh -u critical -i mbcc "$AVAIL_UPDATES" "$PKGS_TO_UPDATE $PKGS" -o "$YAY_UPD:terminator -T '$YAY_UPD' -e yay" \

View File

@ -1,7 +1,7 @@
#!/bin/bash
#
# colorizer - set of tools for Mabox (auto)theming
# Copyright (C) 2022-2024 Daniel Napora <napcok@gmail.com>
# Copyright (C) 2022-2023 Daniel Napora <napcok@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -16,8 +16,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. $HOME/.config/mabox/mabox.conf
CNF_DIR="$HOME/.config/colorizer"
mkdir -p "$CNF_DIR"
CNF_FILE="$CNF_DIR/colorizer.conf"
@ -49,7 +47,6 @@ case "$LANG" in
CURRENTCONF="Obecna konfiguracja"
MODULES="Moduły"
FONTS="Konfiguruj <b>Czcionki</b>"
_PICOM="Ustawienia <b>Kompozytora (Picom)</b>"
OBTHEME="Motyw <b>Openbox</b>"
MENUPANELS="<b>Menu</b> i Panele boczne"
COLORIZER_CONKY="<b>Conky</b> Manager i Colorizer"
@ -104,8 +101,6 @@ case "$LANG" in
RES_MENU="Menu i Paneli"
RES_ALL="Wszystko <i>(OB, menu, conky)</i>"
COLORIZE="Szybko Pokoloruj lub Resetuj..."
_LEFTSIDEPANEL="Lewy panel boczny"
_WALL_DESK_MENU="Tapety oraz <b>stylizacja</b> pulpitu"
;;
*)
REGENERATE="(Re)Generate from wallpaper colors..."
@ -115,7 +110,6 @@ case "$LANG" in
CURRENTCONF="Current configuration"
MODULES="Modules"
FONTS="Configure <b>Fonts</b>"
_PICOM="<b>Compositor</b> settings <b>(Picom)</b>"
OBTHEME="<b>Openbox</b> Theme"
MENUPANELS="<b>Menus/SidePanels</b>"
COLORIZER_CONKY="<b>Conky</b> Manager &amp; Colorizer"
@ -170,8 +164,6 @@ case "$LANG" in
RES_MENU="Menus / Panels"
RES_ALL="All <i>(OB, menus, conky)</i>"
COLORIZE="Quickly Colorize or Reset..."
_LEFTSIDEPANEL="Left Sidepanel"
_WALL_DESK_MENU="Wallpaper &amp; Desktop <b>styling</b> menu"
;;
esac
@ -189,7 +181,7 @@ fi
WALLPALDIR="$HOME/.cache/colorizer/palettes"
mkdir -p "$WALLPALDIR"
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
NAME=${WALLPATH////_}
if [[ "${NAME}" =~ ^_home_.* ]]; then
@ -219,11 +211,10 @@ out+=("^sep(Mabox Colorizer)")
out+=(" $COLORIZE,^pipe(randomizer c)")
out+=("^sep($MODULES)")
out+=("<big></big> $FONTS,colorizer-fonts -s")
out+=("$_PICOM,jgpicom-pipe -s")
out+=("^sep()")
out+=("$OBTHEME,colorizer-ob -s")
#out+=("TINT2,colorizer-tint2 -s")
#out+=("TINT2,^pipe(colorizer-tint2)")
out+=("$MENUPANELS,colorizer-menus -s")
out+=("$COLORIZER_CONKY,colorizer-conky -s")
out+=("^sep()")
@ -248,8 +239,6 @@ out+=("$CAVA,colorizer-cava -s")
##out+=(" $EDIT_PALETTE,xdg-open $WALLPALDIR/$WALLPAPER.clr")
out+=("^sep($WALLPAPER)")
out+=("^sep($RANDWALL)")
syswallp=$(shopt -s nullglob ; set -- /usr/share/backgrounds/*.{jpg,JPG,jpeg,JPEG,png,PNG} ; echo $#)
out+=(" $SYSWALLPAPER (<small>${syswallp}</small>),nitrogen --random /usr/share/backgrounds --set-scaled --save;colorizer -s")
@ -258,7 +247,7 @@ out+=(" $SYSWALLPAPER (<small>${syswallp}</small>),nitrogen --random /usr/sh
out+=(" $USERWALLPAPER (<small>${userwallp}</small>),nitrogen --random ${user_wallpapers_dir} --set-scaled --save;colorizer -s")
fi
out+=("^sep()")
out+=(" $_WALL_DESK_MENU,jgwallpaperchanger -s")
out+=("$WALLPAPERS,^checkout(wallpapersettings)")
if [[ "$gradient_obtheme" == "yes" || "$gradient_menu" == "yes" ]];then
[[ "$gradient_obtheme" == "yes" ]] && OBGRAD="OB" || OBGRAD=""
@ -275,9 +264,6 @@ out+=(" $HELP,yhtml /usr/share/mabox-colorizer/help/$LNG.html 'Mabox Coloriz
else
out+=(" $HELP,yhtml /usr/share/mabox-colorizer/help/en.html 'Mabox Colorizer'")
fi
out+=("^sep()")
out+=(" ${arrow_string_left} ${arrow_string_left} $_LEFTSIDEPANEL,mb-jgtools places")
### RESET ACTIONS (replaced by Randomizer)
#out+=("^sep($RESET_COLORS)")
@ -301,6 +287,28 @@ fi
out2+=("^tag(settings)")
#out2+=("$WALLPAPERS,^checkout(wallpapersettings)")
out3+=("^tag(wallpapersettings)")
out3+=("^sep($SYSWALLPAPER ($syswallp))")
out3+=("^sep(<i>/usr/share/backgrounds</i>)")
out3+=(" $OPENDIR,xdg-open /usr/share/backgrounds")
out3+=(" $OPENDIR_VIEWNIOR,viewnior /usr/share/backgrounds")
out3+=(" $SETRANDOM,nitrogen --random /usr/share/backgrounds --set-scaled --save;colorizer -s")
out3+=("^sep($USERWALLPAPER ($userwallp))")
if [[ -d "${user_wallpapers_dir}" ]]; then
# dir exist
out3+=("^sep(<i>${user_wallpapers_dir}</i>)")
out3+=(" $OPENDIR ,xdg-open ${user_wallpapers_dir}")
out3+=(" $OPENDIR_VIEWNIOR ,viewnior ${user_wallpapers_dir}")
out3+=(" $SETRANDOM,nitrogen --random ${user_wallpapers_dir} --set-scaled --save;colorizer -s")
out3+=("^sep()")
out3+=(" $CHANGE ($EDITCONF),xdg-open $CNF_FILE")
else
# dir not exist
out3+=("^sep(<i>${user_wallpapers_dir} - $USERDIR_NOT_EXIST</i>")
out3+=(" $CREATE_USERDIR,mkdir -p ${user_wallpapers_dir};colorizer -s")
out3+=(" $CHANGE ($EDITCONF),xdg-open $CNF_FILE")
fi
out2+=("^sep($GRADIENTS_ACT)")
[[ "$gradient_obtheme" == "yes" ]] && out2+=("<big></big> $GRAD_OB,mb-setvar gradient_obtheme=no $CNF_FILE;colorizer -s") || out2+=("<big></big> $GRAD_OB,mb-setvar gradient_obtheme=yes $CNF_FILE;colorizer -s")
#out2+=("$GRAD_OB [ <b>${gradient_obtheme}</b> ],^checkout(grad_ob)")

View File

@ -25,7 +25,7 @@ CFGFILE=~/.config/cava/config
# get wallpaper color palette
WALLPALDIR="$HOME/.cache/colorizer/palettes"
mkdir -p "$WALLPALDIR"
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
NAME=${WALLPATH////_}
if [[ "${NAME}" =~ ^_home_.* ]]; then
@ -181,7 +181,7 @@ if [[ "$1" == "-s" ]]; then
MENU_PADDING_TOP=$((jgtools_padding + 150))
#WALLPAPER
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
THUMBDIR="$HOME/.cache/colorizer/thumbs"
mkdir -p ${THUMBDIR}
NAME=${WALLPATH////_}

View File

@ -1,7 +1,7 @@
#!/bin/bash
#
# colorizer - set of tools for Mabox (auto)theming
# Copyright (C) 2022-2024 Daniel Napora <napcok@gmail.com>
# Copyright (C) 2022-2023 Daniel Napora <napcok@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -53,7 +53,7 @@ fi
### Wallpaper colors
WALLPALDIR="$HOME/.cache/colorizer/palettes"
mkdir -p "$WALLPALDIR"
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
NAME=${WALLPATH////_}
if [[ "${NAME}" =~ ^_home_.* ]]; then
n=${#HOME}
@ -85,8 +85,6 @@ case "$LANG" in
APPLY_SCHEME="Zastosuj"
DELETE="Usuń"
DELETE_SCHEME="Usuń schemat kolorów"
MONOCHROMATIC="Monochromatyczny"
CHOOSE_AND_PICK="Wybierz wariant i pobierz kolor..."
GENERATEFROMWP="Generuj z kolorów tapety"
LIGHTBG="Jasne tło"
DARKBG="Ciemne tło"
@ -117,14 +115,13 @@ case "$LANG" in
RUNNING_CONKIES="Uruchomione Conky"
STOP_ALL="Zatrzymaj wszystkie"
MORECONKIES="Więcej Conky..."
CLICKTOSTART="<b>Uruchom</b> więcej Conky..."
CLICKTOSTART="Kliknij aby uruchomić"
STARTALL="Uruchom wszystkie"
RESET="Resetuj"
RESETALL="Resetuj wszystkie"
RESETCOLORS="Przywróć domyślne kolory"
AREYOUSURE="Czy aby napewno?"
_COLORIZER_ROOT="<b>Colorizer</b> - menu główne"
_LEFTSIDEPANEL="Lewy panel boczny"
;;
*)
COLORIZECONKY="Conky Manager"
@ -143,8 +140,6 @@ case "$LANG" in
APPLY_SCHEME="Apply colorscheme"
DELETE="Delete"
DELETE_SCHEME="Delete colorscheme"
MONOCHROMATIC="Monochromatic"
CHOOSE_AND_PICK="Choose variant and pick color..."
GENERATEFROMWP="Generate from wallpaper colors"
LIGHTBG="Light Background"
DARKBG="Dark Background"
@ -175,14 +170,13 @@ case "$LANG" in
RUNNING_CONKIES="Running Conkys"
STOP_ALL="Stop All"
MORECONKIES="More Conkies Available"
CLICKTOSTART="<b>Start</b> more Conkies..."
CLICKTOSTART="...click to start"
STARTALL="Start all"
RESET="Reset"
RESETALL="Reset all to defaults"
RESETCOLORS="Restore default colors"
AREYOUSURE="Are you sure?"
_COLORIZER_ROOT="<b>Colorizer</b> rootmenu"
_LEFTSIDEPANEL="Left Sidepanel"
;;
esac
@ -290,8 +284,6 @@ if pgrep -u $USER -af "conky.*mbcolor" >/dev/null; then
else # too many conkies not started -> show them in submenu
out+=("$CLICKTOSTART (${#notstarted[@]}),^checkout(nstarted)")
out2+=("^tag(nstarted)")
out2+=("^sep($CLICKTOSTART)")
for c in ${notstarted[@]};do
filename=${c##*/}
name=${filename%%_mb*}
@ -327,15 +319,6 @@ if pgrep -u $USER -af "conky.*mbcolor" >/dev/null; then
out+=("<big><span bgcolor='$WINCLR' bgalpha='${bga}%'> <span fgcolor='$CLR'></span> <span fgcolor='$CLR0'></span> <span fgcolor='$CLR1'></span> <span fgcolor='$CLR2'></span> </span></big> $REGENERATE,^checkout(regenconky)")
out2+=("^tag(regenconky)")
out2+=("^sep($REGENERATE)")
out2+=("^sep($MONOCHROMATIC)")
out2+=("^sep(<i>$CHOOSE_AND_PICK</i>)")
out2+=("<big></big> $DARKBG...,conkyctl mono pick dark")
out2+=("<big></big> $LIGHTBG...,conkyctl mono pick light")
out2+=("^sep($GENERATEFROMWP)")
out2+=("<big><span bgcolor='${w[-1]}' fgcolor='${w[0]}'> $LIGHTBG <span fgcolor='${w[4]}'></span> <span fgcolor='${w[5]}'></span> </span></big>,w2theme conky light;$me")
out2+=("<big><span bgcolor='${w[0]}' fgcolor='${w[-1]}'> $DARKBG <span fgcolor='${w[-4]}'></span> <span fgcolor='${w[-5]}'></span> </span></big>,w2theme conky dark;$me")
out2+=("^sep($SYSTEM_SCHEMES)")
n=1
while IFS="|" read -r winclr clr clr0 clr1 clr2 wintrans outline shades bord stip scheme_name
@ -365,7 +348,9 @@ if pgrep -u $USER -af "conky.*mbcolor" >/dev/null; then
done < <(tail -n +2 "$USERSCHEMES")
out2+=("^sep($GENERATEFROMWP)")
out2+=("<big><span bgcolor='${w[-1]}' fgcolor='${w[0]}'> $LIGHTBG <span fgcolor='${w[4]}'></span> <span fgcolor='${w[5]}'></span> </span></big>,w2theme conky light;$me")
out2+=("<big><span bgcolor='${w[0]}' fgcolor='${w[-1]}'> $DARKBG <span fgcolor='${w[-4]}'></span> <span fgcolor='${w[-5]}'></span> </span></big>,w2theme conky dark;$me")
out+=("^sep()")
@ -481,7 +466,6 @@ if [[ "$1" == "-s" ]]; then
out+=("^sep()")
out+=(" ${arrow_string_left} $_COLORIZER_ROOT,colorizer -s")
out+=(" ${arrow_string_left} ${arrow_string_left} $_LEFTSIDEPANEL,mb-jgtools places")
if [[ "$colorizer_size" == "full" ]];then
eval $(xdotool getdisplaygeometry --shell)
@ -503,7 +487,7 @@ if [[ "$1" == "-s" ]]; then
MENU_PADDING_TOP=$((jgtools_padding + 150))
#WALLPAPER
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
THUMBDIR="$HOME/.cache/colorizer/thumbs"
mkdir -p ${THUMBDIR}
NAME=${WALLPATH////_}

View File

@ -1,7 +1,7 @@
#!/bin/bash
#
# colorizer - set of tools for Mabox (auto)theming
# Copyright (C) 2022-2024 Daniel Napora <napcok@gmail.com>
# Copyright (C) 2022-2023 Daniel Napora <napcok@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -70,7 +70,6 @@ case "$LANG" in
_USE="Użyj czcionki"
_FOR="dla..."
_COLORIZER_ROOT="<b>Colorizer</b> - menu główne"
_LEFTSIDEPANEL="Lewy panel boczny"
;;
*)
_INCREASE_ALL="Increase all"
@ -108,7 +107,6 @@ case "$LANG" in
_USE="Use"
_FOR="font for ..."
_COLORIZER_ROOT="<b>Colorizer</b> rootmenu"
_LEFTSIDEPANEL="Left Sidepanel"
;;
esac
@ -158,7 +156,7 @@ out+=("<big>󰑓</big> $_RESET,^checkout(reset)")
out2+=("^sep($_RESET)")
out2+=("$_ALL,fontctl resetall;$me")
out2+=("^sep()")
out2+=("$_TITLEBAR_FONT ($_OPENBOX_WM),fontctl resetob;$me")
out2+=("$_TITLEBAR_FONT,fontctl resetob;$me")
out2+=("$_MENUS,fontctl resetmenus;$me")
out2+=("$_CONKY,fontctl resetconky;$me")
out2+=("$_GTK,fontctl resetgtk;$me")
@ -352,7 +350,6 @@ if [[ "$1" == "-s" ]]; then
out+=("^sep()")
out+=(" ${arrow_string_left} $_COLORIZER_ROOT,colorizer -s")
out+=(" ${arrow_string_left} ${arrow_string_left} $_LEFTSIDEPANEL,mb-jgtools places")
if [[ "$colorizer_size" == "full" ]];then
eval $(xdotool getdisplaygeometry --shell)
@ -375,7 +372,7 @@ if [[ "$1" == "-s" ]]; then
MENU_PADDING_TOP=$((jgtools_padding + 150))
#WALLPAPER
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
THUMBDIR="$HOME/.cache/colorizer/thumbs"
mkdir -p ${THUMBDIR}
NAME=${WALLPATH////_}

View File

@ -19,13 +19,13 @@
SYSSCHEMES="/usr/share/mabox-colorizer/colorschemes/menus.csv"
USERSCHEMES="$HOME/.config/colorizer/menus/userschemes2.csv"
USERSCHEMES="$HOME/.config/colorizer/menus/userschemes.csv"
### Wallpaper colors
WALLPALDIR="$HOME/.cache/colorizer/palettes"
mkdir -p "$WALLPALDIR"
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
NAME=${WALLPATH////_}
if [[ "${NAME}" =~ ^_home_.* ]]; then
n=${#HOME}
@ -89,8 +89,6 @@ case "$LANG" in
WIDE="szerokie"
NORMAL="normalne"
TIGHT="wąskie"
MONOCHROMATIC="Monochromatyczny"
CHOOSE_AND_PICK="Wybierz wariant i pobierz kolor..."
GENERATEFROMWP="<i>Generuj z kolorów tapety...</i>"
LIGHTBG="Jasne tło"
DARKBG="Ciemne tło"
@ -147,7 +145,6 @@ case "$LANG" in
FILE="plik"
SET_RANDOM="Ustaw losowy motyw menu"
_COLORIZER_ROOT="<b>Colorizer</b> - menu główne"
_LEFTSIDEPANEL="Lewy panel boczny"
;;
*)
MENU_THEME="Menu theme"
@ -174,8 +171,6 @@ case "$LANG" in
WIDE="wide"
NORMAL="normal"
TIGHT="tight"
MONOCHROMATIC="Monochromatic"
CHOOSE_AND_PICK="Choose variant and pick color..."
GENERATEFROMWP="<i>Generate from wallpaper colors...</i>"
LIGHTBG="Light Background"
DARKBG="Dark Background"
@ -232,7 +227,6 @@ case "$LANG" in
FILE="file"
SET_RANDOM="Set random menu theme"
_COLORIZER_ROOT="<b>Colorizer</b> rootmenu"
_LEFTSIDEPANEL="Left Sidepanel"
;;
esac
@ -251,7 +245,6 @@ getvalues () {
read TFG TFGA<<< "$(grep 'color_title_fg' ${THEMERC} | cut -d'=' -f2)"
read TBORDER TBORDERA<<< "$(grep 'color_title_border' ${THEMERC} | cut -d'=' -f2)"
read NORMBG NORMBGA<<< "$(grep color_norm_bg ${THEMERC} | cut -d'=' -f2)"
[[ "$NORMBG" == "" ]] && NORMBG="${MBG}" NORMBGA=0
read NFG NFGA<<< "$(grep color_norm_fg ${THEMERC} | cut -d'=' -f2)"
read SBG SBGA<<< "$(grep 'color_sel_bg' ${THEMERC} | cut -d'=' -f2)"
read SFG SFGA<<< "$(grep 'color_sel_fg' ${THEMERC} | cut -d'=' -f2)"
@ -262,12 +255,11 @@ getvalues () {
getvalues
# Current colors
currcolors="${MBG}|${MBGA}|${MBGT}|${MBGTA}|${MBORDER}|${MBORDERA}|${TBG}|${TBGA}|${TFG}|${TFGA}|${TBORDER}|${TBORDERA}|${NORMBG}|${NORMBGA}|${NFG}|${NFGA}|${SBG}|${SBGA}|${SFG}|${SFGA}|${SBORDER}|${SBORDERA}|${SEPFG}|${SEPFGA}|${jgtools_border}|${jgtools_radius}|${jgtools_padding}|${submenu_spacing}|${IBORDER}|${IRADIUS}|${arrow_string}|${arrow_string_left}|${SEPHALIGN}|${GRADIENT}|"
currcolors="${MBG}|${MBGT}|${MBORDER}|${TBG}|${TFG}|${TBORDER}|${NORMBG}|${NFG}|${SBG}|${SFG}|${SBORDER}|${SEPFG}|${GRADIENT}|"
#echo "${currcolors}" > ~/.config/mabox/.menu_colors
###notify-send.sh "Currcolors" "${currcolors}"
if [ ! -f "$USERSCHEMES" ]; then
mkdir -p "$HOME/.config/colorizer/menus/"
echo " MBG |opa| MBGT |opa|MBORDER|opa| TBG |opa| TFG |opa|TBORDER|opa|NORMBG |opa| NFG |opa| SBG |opa| SFG |opa|SBORDER|opa| SEPFG |opa|B|R|P|SS|IB|IR|A|AL|SEPHAL|GRADIENT|scheme_name" > "$USERSCHEMES"
echo " MBG | MBGT |MBORDER| TBG | TFG |TBORDER|NORMBG | NFG | SBG | SFG |SBORDER| SEPFG |GRADIENT|scheme_name" > "$USERSCHEMES"
fi
out+=("^sep($MENU_THEME: <i>${jgmenu_theme}</i>)")
@ -289,11 +281,11 @@ out+=("<big></big> $QUICK_TWEAKS,^checkout(tweaks)")
out3+=("^tag(mborder)")
out3+=("^sep($BORDER)")
for i in 0 1 2 3 4 5 6 8 10 12; do [[ "$jgtools_border" == $i ]] && out3+=("<big>綠</big> $(printf "<b><tt>%3s</tt></b>,%s" "$i" "jgctl border ${i}")") || out3+=("<big>祿</big> $(printf "<tt>%3s</tt>,%s" "$i" "jgctl border ${i}")");done
for i in 0 1 2 3 4 5 6 8 10 12; do [[ "$jgtools_border" == $i ]] && out3+=("<big>綠</big> $(printf "<b><tt>%3s</tt></b>,%s" "$i" "mb-setvar jgtools_border=${i};$me")") || out3+=("<big>祿</big> $(printf "<tt>%3s</tt>,%s" "$i" "mb-setvar jgtools_border=${i};$me")");done
out3+=("^tag(mpadding)")
out3+=("^sep($PADDING)")
for i in 0 2 4 6 8 10 12 14 16 18 20 22 24 28 32 40; do [[ "$jgtools_padding" == $i ]] && out3+=("<big>綠</big> $(printf "<b><tt>%3s</tt></b>,%s" "$i" "jgctl padding ${i}")") || out3+=("<big>祿</big> $(printf "<tt>%3s</tt>,%s" "$i" "jgctl padding ${i}")");done
for i in 0 2 4 6 8 10 12 14 16 18 20 22 24 28 32 40; do [[ "$jgtools_padding" == $i ]] && out3+=("<big>綠</big> $(printf "<b><tt>%3s</tt></b>,%s" "$i" "mb-setvar jgtools_padding=${i};$me")") || out3+=("<big>祿</big> $(printf "<tt>%3s</tt>,%s" "$i" "mb-setvar jgtools_padding=${i};$me")");done
out3+=("^tag(subspacing)")
out3+=("^sep($SUBSPACING)")
@ -342,17 +334,10 @@ out+=("<big></big> $QUICK_TWEAKS,^checkout(tweaks)")
out+=("<big><span bgcolor='${MBG}'> <span fgcolor='${TBG}'></span> <span fgcolor='${SFG}'></span> <span fgcolor='${SBG}'></span> </span></big> $SCHEMES,^checkout(schemes)")
out2+=("^tag(schemes)")
out2+=("^sep($SCHEMES)")
out2+=("^sep($MONOCHROMATIC)")
out2+=("^sep(<i>$CHOOSE_AND_PICK</i>)")
out2+=("<big></big> $LIGHTBG...,jgctl mono pick light")
out2+=("<big></big> $DARKBG...,jgctl mono pick dark")
out2+=("^sep($GENERATEFROMWP)")
out2+=("<big><span bgcolor='${w[-3]}'> <span bgcolor='${w[-5]}'> <span bgcolor='${w[-1]}' fgcolor='${w[1]}'> $LIGHTBG </span> </span> </span></big>,w2theme menu light;$me")
out2+=("<big><span bgcolor='${w[1]}'> <span bgcolor='${w[4]}'> <span bgcolor='${w[2]}' fgcolor='${w[-2]}'> $DARKBG </span> </span> </span></big>,w2theme menu dark;$me")
out2+=("^sep($SYSTEM_SCHEMES)")
n=1
while IFS="|" read -r mbg mbga mbgt mbgta mborder mbordera tbg tbga tfg tfga tborder tbordera normbg normbga nfg nfga sbg sbga sfg sfga sborder sbordera sepfg sepfga b r p ss ibor irad a al sephal grad scheme_name
while IFS="|" read -r mbg mbgt mborder tbg tfg tborder normbg nfg sbg sfg sborder sepfg grad scheme_name
do
((n=n+1))
case "$grad" in
@ -374,7 +359,7 @@ out+=("<big><span bgcolor='${MBG}'> <span fgcolor='${TBG}'></span> <span fgco
out2+=("<big></big> $OPEN_SCHEMEFILE,xdg-open $USERSCHEMES")
out2+=("^sep()")
n=1
while IFS="|" read -r mbg mbga mbgt mbgta mborder mbordera tbg tbga tfg tfga tborder tbordera normbg normbga nfg nfga sbg sbga sfg sfga sborder sbordera sepfg sepfga b r p ss ibor irad a al sephal grad scheme_name
while IFS="|" read -r mbg mbgt mborder tbg tfg tborder normbg nfg sbg sfg sborder sepfg grad scheme_name
do
((n=n+1))
case "$grad" in
@ -397,6 +382,11 @@ out+=("<big><span bgcolor='${MBG}'> <span fgcolor='${TBG}'></span> <span fgco
done < <(tail -n +2 "$USERSCHEMES")
out2+=("^sep($GENERATEFROMWP)")
out2+=("<big><span bgcolor='${w[-3]}'> <span bgcolor='${w[-5]}'> <span bgcolor='${w[-1]}' fgcolor='${w[1]}'> $LIGHTBG </span> </span> </span></big>,w2theme menu light;$me")
out2+=("<big><span bgcolor='${w[1]}'> <span bgcolor='${w[4]}'> <span bgcolor='${w[2]}' fgcolor='${w[-2]}'> $DARKBG </span> </span> </span></big>,w2theme menu dark;$me")
out+=("^sep($FONTS)")
out+=("<big>󰛖</big> $TITLE [ <b>$menu_sep_font_family $menu_sep_font_size</b> ],^checkout(mtitlefont)")
out+=("<big>󰛖</big> $ITEM [ <b>$menu_font_family $menu_font_size</b> ],^checkout(mitemfont)")
@ -577,7 +567,6 @@ if [[ "$1" == "-s" ]]; then
out+=("^sep()")
out+=(" ${arrow_string_left} $_COLORIZER_ROOT,colorizer -s")
out+=(" ${arrow_string_left} ${arrow_string_left} $_LEFTSIDEPANEL,mb-jgtools places")
if [[ "$colorizer_size" == "full" ]];then
eval $(xdotool getdisplaygeometry --shell)
@ -600,7 +589,7 @@ if [[ "$1" == "-s" ]]; then
JGWIDTH=$((jgtools_padding + 270 + jgtools_padding))
MENU_PADDING_TOP=$((jgtools_padding + 150))
#WALLPAPER
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
THUMBDIR="$HOME/.cache/colorizer/thumbs"
mkdir -p ${THUMBDIR}
NAME=${WALLPATH////_}

View File

@ -1,7 +1,7 @@
#!/bin/bash
#
# colorizer - set of tools for Mabox (auto)theming
# Copyright (C) 2022-2024 Daniel Napora <napcok@gmail.com>
# Copyright (C) 2022-2023 Daniel Napora <napcok@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -26,7 +26,7 @@ USERTHEMES="$HOME/.config/colorizer/openbox/userthemes.csv"
### Wallpaper colors
WALLPALDIR="$HOME/.cache/colorizer/palettes"
mkdir -p "$WALLPALDIR"
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
NAME=${WALLPATH////_}
if [[ "${NAME}" =~ ^_home_.* ]]; then
n=${#HOME}
@ -71,8 +71,6 @@ case "$LANG" in
DELETE="Usuń"
DELETE_THEME="Usuń motyw"
OBTHEME_LBL="Motyw OpenBox"
MONOCHROMATIC="Monochromatyczny"
CHOOSE_AND_PICK="Wybierz wariant i pobierz kolor..."
GENERATEFROMWP="Generuj z kolorów tapety..."
LIGHTBG=" Jasne tło"
DARKBG="Ciemne tło"
@ -140,7 +138,6 @@ case "$LANG" in
UNLOCK="odblokuj swoją kreatywność..."
SWITCH_TO_MBCOLORS="Przełącz na <b>MBColors</b>"
_COLORIZER_ROOT="<b>Colorizer</b> - menu główne"
_LEFTSIDEPANEL="Lewy panel boczny"
;;
*)
QUICK_TWEAKS="Global Settings/Quick Tweaks"
@ -157,8 +154,6 @@ case "$LANG" in
DELETE="Delete"
DELETE_THEME="Delete theme"
OBTHEME_LBL="OpenBox theme"
MONOCHROMATIC="Monochromatic"
CHOOSE_AND_PICK="Choose variant and pick color..."
GENERATEFROMWP="Generate from wallpaper colors..."
LIGHTBG="Light Background"
DARKBG="Dark Background"
@ -213,7 +208,7 @@ case "$LANG" in
BORDER="Window Border"
BORDER_PX="Border (px)"
ACTIVE_BORDER="Active Border"
INACTIVE_BORDER="Inactive Border"
INACTIVE_BORDER="Inactiva Border"
HANDLEWIDTH="Handle Width"
ACTIVEHANDLE="Active Handle"
YES="Yes"
@ -226,7 +221,6 @@ case "$LANG" in
UNLOCK="Unlock your creativity..."
SWITCH_TO_MBCOLORS="Switch to <b>MBColors</b>"
_COLORIZER_ROOT="<b>Colorizer</b> rootmenu"
_LEFTSIDEPANEL="Left Sidepanel"
;;
esac
@ -282,9 +276,7 @@ getvaluesrc() {
FNAME=$(xmlstarlet sel -N a="$nspace" -t -v '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:name' "$cfg")
NDSLIMC=$(xmlstarlet sel -N a="$nspace" -t -v '/a:openbox_config/a:theme/a:titleLayout' "$cfg")
WEIGHT=$(xmlstarlet sel -N a="$nspace" -t -v '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:weight' "$cfg")
WEIGHT_INACT=$(xmlstarlet sel -N a="$nspace" -t -v '/a:openbox_config/a:theme/a:font[@place="InactiveWindow"]/a:weight' "$cfg")
SLANT=$(xmlstarlet sel -N a="$nspace" -t -v '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:slant' "$cfg")
SLANT_INACT=$(xmlstarlet sel -N a="$nspace" -t -v '/a:openbox_config/a:theme/a:font[@place="InactiveWindow"]/a:slant' "$cfg")
}
@ -364,16 +356,6 @@ out+=("<big></big> $QUICK_TWEAKS,^checkout(tweaks)")
out+=("<big><span fgcolor='${ABGTO}'></span> <span fgcolor='${ABG}'></span> <span fgcolor='${ABGTO}'></span></big> $THEMES,^checkout(schemes)")
out2+=("^tag(schemes)")
out2+=("^sep($THEMES)")
out2+=("^sep($MONOCHROMATIC)")
out2+=("^sep(<i>$CHOOSE_AND_PICK</i>)")
out2+=("<big></big> $LIGHTBG...,obtctl mono pick light col")
out2+=("<big></big> $DARKBG...,obtctl mono pick dark col")
out2+=("^sep(<i>$GENERATEFROMWP</i>)")
out2+=("<big><span bgcolor='${w[-2]}' fgcolor='#222222'> <span bgcolor='${w[-4]}'> </span> $LIGHTBG <span bgcolor='${w[-4]}'> </span> </span></big>,w2theme ob light;$me")
out2+=("<big><span bgcolor='${w[2]}' fgcolor='#E5E5E5'> <span bgcolor='${w[4]}'> </span> $DARKBG <span bgcolor='${w[4]}'> </span> </span></big>,w2theme ob dark;$me")
out2+=("^sep()")
out2+=("<big></big> $RANDOMIZE,obtctl randomizer;$me")
out2+=("^sep($SYSTEM_THEMES)")
n=1
while IFS="|" read -r abg abgto afg aline nbg nbgto nfg nline grad txtjust pheight pwidth handle bord bevel buttons fsize fname ndslimc weight slant scheme_name
@ -389,7 +371,7 @@ out+=("<big><span fgcolor='${ABGTO}'></span> <span fgcolor='${ABG}'></span
done < <(tail -n +2 "$SYSTHEMES")
out2+=("^sep($YOUR_THEMES)")
out2+=("<big></big> $SAVE_CURRTHEME,obtctl savetheme '${currvalues}';$me")
out2+=("<big></big> $OPEN_THEMEFILE,xdg-open $USERTHEMES")
out2+=("<big></big> $OPEN_THEMEFILE,xdg-open $USERSCHEMES")
out2+=("^sep()")
n=1
while IFS="|" read -r abg abgto afg aline nbg nbgto nfg nline grad txtjust pheight pwidth handle bord bevel buttons fsize fname ndslimc weight slant scheme_name
@ -406,7 +388,11 @@ out+=("<big><span fgcolor='${ABGTO}'></span> <span fgcolor='${ABG}'></span
out3+=("<big>󰗨</big> $DELETE_THEME: <i>${scheme_name}</i>,obtctl delscheme ${n};$me")
done < <(tail -n +2 "$USERTHEMES")
out2+=("^sep(<i>$GENERATEFROMWP</i>)")
out2+=("<big><span bgcolor='${w[-2]}' fgcolor='#222222'> <span bgcolor='${w[-4]}'> </span> $LIGHTBG <span bgcolor='${w[-4]}'> </span> </span></big>,w2theme ob light;$me")
out2+=("<big><span bgcolor='${w[2]}' fgcolor='#E5E5E5'> <span bgcolor='${w[4]}'> </span> $DARKBG <span bgcolor='${w[4]}'> </span> </span></big>,w2theme ob dark;$me")
out2+=("^sep()")
out2+=("<big></big> $RANDOMIZE,obtctl randomizer;$me")
out+=("^sep($TITLEBAR)")
out+=("<big>󰛖</big> $TITLEBAR_FONT [ <b> ${FNAME} ${FSIZE} </b> ],^checkout(titletext)")
@ -420,9 +406,6 @@ out+=("^sep($INACTIVE_WINDOW)")
out+=("<tt><span bgcolor='$NBG'> </span></tt> $INACTIVE_BG,^pipe(mbclr '$NBG' obtctl clrnormalbg '${INACTIVE_BG}' '$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+=("<tt><span bgcolor='$NBG' fgcolor='$NFG'> <b>title</b> </span></tt> $TEXT_COLOR,^pipe(mbclr '$NFG' obtctl inactivetextcolor '${TEXT} ${INACTIVE_FG}' '$me')")
out+=("^sep()")
[[ "$WEIGHT_INACT" =~ .*"old" ]] && out+=("<big></big> <b>$BOLD</b>,obtctl fontweight_inactive Normal;$me") || out+=("<big></big> <b>$BOLD</b>,obtctl fontweight_inactive Bold;$me")
[[ "$SLANT_INACT" =~ .*"talic" ]] && out+=("<big></big> <i>$ITALIC</i>,obtctl fontslant_inactive Normal;$me") || out+=("<big></big> <i>$ITALIC</i>,obtctl fontslant_inactive Italic;$me")
out+=("^sep(Gradient)")
out+=("<big>󰹸</big> $GRADIENT_TYPE [ <b>${GRAD}</b> ],^checkout(gradient)")
@ -430,8 +413,8 @@ out+=("<tt><span bgcolor='#16a084'> </span><span bgcolor='#43a480'> </span><span
out+=("<big></big> $GRADIENT_REVERSE,obtctl activegradient '${ABGTO}' '${ABG}';$me")
out+=("^sep($BORDER)")
out+=("<tt><span bgcolor='$ALINE'> </span></tt> $ACTIVE_BORDER,^pipe(mbclr '$ALINE' obtctl activeborderColor '${ACTIVE_BORDER}' '$me')")
out+=("<tt><span bgcolor='$NLINE'> </span></tt> $INACTIVE_BORDER,^pipe(mbclr '$NLINE' obtctl inactiveborderColor '${INACTIVE_BORDER}' '$me')")
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+=("<big>󰝣</big> $BORDER [ <b>$BORD</b> ],^checkout(border)")
out+=("$HANDLEWIDTH [ <b>$HANDLE</b> ],^checkout(handlewidth)")
#out+=("$ACTIVEHANDLE? [ <b>$AHANDLE</b> ],^checkout(handle)")
@ -445,7 +428,7 @@ out+=("^sep($RESET)")
out+=("󰁯 $RESET_THEME,^checkout(resettheme)")
out2+=("^tag(resettheme)")
out2+=("^sep($AREYOUSURE)")
out2+=("$YES,obtctl resetMBcolors;$me")
out2+=("$YES,obtctl reset;$me")
fi
#out+=("Edit...,xdg-open ${THEMERC}")
@ -466,14 +449,8 @@ out2+=("Dots,obtctl buttons dots;$me")
out2+=("^sep()")
out2+=("Big 12px,obtctl buttons big-12;$me")
out2+=("Big 14px,obtctl buttons big-14;$me")
out2+=("^sep($TEXTALIGN)")
[[ "$TXTJUST" = left ]] && out2+=("<big>綠 </big> $LEFT,obtctl textjustify left;$me")||out2+=("<big>祿 </big> $LEFT,obtctl textjustify left;$me")
[[ "$TXTJUST" = center ]] && out2+=("<big>綠 </big> $CENTER,obtctl textjustify center;$me")||out2+=("<big>祿 </big> $CENTER,obtctl textjustify center;$me")
[[ "$TXTJUST" = right ]] && out2+=("<big>綠 </big> $RIGHT,obtctl textjustify right;$me")||out2+=("<big>祿 </big> $RIGHT,obtctl textjustify right;$me")
out2+=("^sep($BUTTONS_LAYOUT)")
[[ "$NDSLIMC" == NDSLIMC ]] && out2+=("<big>綠</big> <tt>full </tt> <b>NDSLIMC</b> (default),obtctl ndslimc NDSLIMC;$me") || out2+=("<big>祿</big> <tt>full </tt> <b>NDSLIMC</b> (default),obtctl ndslimc NDSLIMC;$me")
[[ "$NDSLIMC" == DSLIMC ]] && out2+=("<big>綠</big> <tt>full (no icon)</tt> <b>DSLIMC</b>,obtctl ndslimc DSLIMC;$me") || out2+=("<big>祿</big> <tt>full (no icon)</tt> <b>DSLIMC</b>,obtctl ndslimc DSLIMC;$me")
[[ "$NDSLIMC" == NLIMC ]] && out2+=("<big>綠</big> <tt>mini </tt> <b>NLIMC</b>,obtctl ndslimc NLIMC;$me") || out2+=("<big>祿</big> <tt>mini </tt> <b>NLIMC</b>,obtctl ndslimc NLIMC;$me")
[[ "$NDSLIMC" == LIMC ]] && out2+=("<big>綠</big> <tt>mini (no icon)</tt> <b>LIMC</b>,obtctl ndslimc LIMC;$me") || out2+=("<big>祿</big> <tt>mini (no icon)</tt> <b>LIMC</b>,obtctl ndslimc LIMC;$me")
[[ "$NDSLIMC" == CMIL ]] && out2+=("<big>綠</big> <tt>crazy </tt> <b>CMIL</b>,obtctl ndslimc CMIL;$me") || out2+=("<big>祿</big> <tt>crazy </tt> <b>CMIL</b>,obtctl ndslimc CMIL;$me")
@ -485,6 +462,10 @@ out2+=("^sep(M:<small> Maximize</small>)")
out2+=("^sep(C:<small> Close</small>)")
out2+=("^sep(S:<small> Shade (Roll up)</small>)")
out2+=("^sep(D:<small> Omnipresent (On all desktops)</small>)")
out2+=("^sep($TEXTALIGN)")
[[ "$TXTJUST" = left ]] && out2+=("<big>綠 </big> $LEFT,obtctl textjustify left;$me")||out2+=("<big>祿 </big> $LEFT,obtctl textjustify left;$me")
[[ "$TXTJUST" = center ]] && out2+=("<big>綠 </big> $CENTER,obtctl textjustify center;$me")||out2+=("<big>祿 </big> $CENTER,obtctl textjustify center;$me")
[[ "$TXTJUST" = right ]] && out2+=("<big>綠 </big> $RIGHT,obtctl textjustify right;$me")||out2+=("<big>祿 </big> $RIGHT,obtctl textjustify right;$me")
#TEXT
out2+=("^tag(titletext)")
@ -669,7 +650,6 @@ source $HOME/.config/colorizer/colorizer.conf
out+=("^sep()")
out+=(" ${arrow_string_left} $_COLORIZER_ROOT,colorizer -s")
out+=(" ${arrow_string_left} ${arrow_string_left} $_LEFTSIDEPANEL,mb-jgtools places")
if [[ "$colorizer_size" == "full" ]];then
@ -694,7 +674,7 @@ JGWIDTH=$((jgtools_padding + 270 + jgtools_padding))
MENU_PADDING_TOP=$((jgtools_padding + 150))
# WALLPAPER IMAGE
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
THUMBDIR="$HOME/.cache/colorizer/thumbs"
mkdir -p ${THUMBDIR}
NAME=${WALLPATH////_}

View File

@ -33,7 +33,7 @@ THEMERC=~/.config/pyradio/themes/mbcolors.pyradio-theme
# get wallpaper color palette
WALLPALDIR="$HOME/.cache/colorizer/palettes"
mkdir -p "$WALLPALDIR"
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
NAME=${WALLPATH////_}
if [[ "${NAME}" =~ ^_home_.* ]]; then
@ -210,7 +210,7 @@ if [[ "$1" == "-s" ]]; then
MENU_PADDING_TOP=$((jgtools_padding + 150))
#WALLPAPER
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
THUMBDIR="$HOME/.cache/colorizer/thumbs"
mkdir -p ${THUMBDIR}
NAME=${WALLPATH////_}

View File

@ -419,8 +419,6 @@ languages () {
NEWTHEME="Nowy motyw kolorów..."
SAVENEWTHEME="utwórz nowy motyw..."
SAVE_CURRSCHEME="Zapisz aktualną kolorystykę jako..."
MONOCHROMATIC="Monochromatyczny"
CHOOSE_AND_PICK="Wybierz wariant i pobierz kolor..."
LIGHTBG="Jasne tło"
DARKBG="Ciemne tło"
RESETCOLORS="Przywróć domyślne kolory"
@ -487,8 +485,6 @@ languages () {
NEWTHEME="New Color scheme..."
SAVENEWTHEME="from current colors..."
SAVE_CURRSCHEME="Save current colors as..."
MONOCHROMATIC="Monochromatic"
CHOOSE_AND_PICK="Choose variant and pick color..."
LIGHTBG="Light Background"
DARKBG="Dark Background"
RESETCOLORS="Restore default colors"
@ -555,8 +551,6 @@ languages () {
NEWTHEME="New Color scheme..."
SAVENEWTHEME="from current colors..."
SAVE_CURRSCHEME="Save current colors as..."
MONOCHROMATIC="Monochromatic"
CHOOSE_AND_PICK="Choose variant and pick color..."
LIGHTBG="Light Background"
DARKBG="Dark Background"
RESETCOLORS="Restore default colors"
@ -603,7 +597,7 @@ single () {
### Wallpaper colors
WALLPALDIR="$HOME/.cache/colorizer/palettes"
mkdir -p "$WALLPALDIR"
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
NAME=${WALLPATH////_}
if [[ "${NAME}" =~ ^_home_.* ]]; then
n=${#HOME}
@ -717,28 +711,28 @@ if [[ "$OLD_SYNTAX" = "true" ]];then
if [[ "$1" =~ "quoter" ]]; then
case "$LANG" in
pl*)
FONTSIZE="Czcionka i rozmiar"
FONTSIZE="Rozmiar czcionki"
QUOTE_FSIZE="Cytat"
AUTHOR_FSIZE="Autor"
EDIT_CONF="Edytuj plik konfiguracyjny"
RELOAD="Przeładuj"
;;
es*)
FONTSIZE="Font size &amp; family"
FONTSIZE="Font size"
QUOTE_FSIZE="Quote"
AUTHOR_FSIZE="Author"
EDIT_CONF="Edit conf file"
RELOAD="Reload"
;;
*)
FONTSIZE="Font size &amp; family"
FONTSIZE="Font size"
QUOTE_FSIZE="Quote"
AUTHOR_FSIZE="Author"
EDIT_CONF="Edit conf file"
RELOAD="Reload"
;;
esac
Q_CFG="$HOME/.config/quoter/quoter.conf"
Q_CFG="$HOME/.config/quoter/quoter.cfg"
source "$Q_CFG"
out+=("^sep($FONTSIZE)")
out+=("$QUOTE_FSIZE [ <b>$quote_fontsize</b> ],^checkout(qsize)")
@ -753,22 +747,6 @@ if [[ "$OLD_SYNTAX" = "true" ]];then
for i in 10 11 12 13 14 15 16 18 20; do
out2+=("${i},mb-setvar author_fontsize=$i $Q_CFG;conkyctl restartone ${1};$me")
done
#FONT FAMILY FOR QUOTER
out+=("$FONT_NAME [ <b>${font_name}</b> ],^checkout(qfontfamily)")
out2+=("^tag(qfontfamily)")
if [ -f "$HOME/.config/mabox/fonts.list" ];then
mapfile -t favfonts < <( grep -vE "^($|#)" ~/.config/mabox/fonts.list)
else
mapfile -t favfonts < <( grep -vE "^($|#)" /usr/share/mabox-colorizer/fonts.list)
cp /usr/share/mabox-colorizer/fonts.list ~/.config/mabox/
fi
#notify-send.sh "Ile" "${#favfonts[@]}"
if [ "${#favfonts[@]}" -gt 0 ];then
out2+=("^sep($FONTFAMILY_LBL)")
for fon in "${favfonts[@]}";do
[[ "$fon" == "$font_name" ]] && out2+=("<big>綠</big> <span font_family=\"${fon}\">${fon}</span>,$me") || out2+=("<big>祿</big> <span font_family=\"${fon}\">${fon}</span>,mb-setvar 'font_name=\"${fon}\"' $Q_CFG;conkyctl restartone ${1}")
done
fi
fi
out+=("^sep($COLORS)")
@ -776,13 +754,7 @@ if [[ "$OLD_SYNTAX" = "true" ]];then
#if [ "$WINTRANS" == false ];then
out+=("<span bgcolor='#282828'> <span fgcolor='#ebdbb2'></span> <span fgcolor='#98971a'></span> <span fgcolor='#d79921'></span> <span fgcolor='#cc241d'></span> </span> $COLORSCHEME,^checkout(regensingle)")
out2+=("^tag(regensingle)")
out2+=("^sep($MONOCHROMATIC)")
out2+=("^sep(<i>$CHOOSE_AND_PICK</i>)")
out2+=("<big></big> $DARKBG...,conkyctl monoone pick dark ${1}")
out2+=("<big></big> $LIGHTBG...,conkyctl monoone pick light ${1}")
out2+=("^sep($GENFROMWP)")
out2+=("<big><span bgcolor='${w[-1]}' fgcolor='${w[0]}'> $LIGHTBG <span fgcolor='${w[4]}'></span> <span fgcolor='${w[5]}'></span> </span></big>,w2theme conkyone light ${1}")
out2+=("<big><span bgcolor='${w[0]}' fgcolor='${w[-1]}'> $DARKBG <span fgcolor='${w[-4]}'></span> <span fgcolor='${w[-5]}'></span> </span></big>,w2theme conkyone dark ${1}")
out2+=("^sep($APPLY_THEME)")
out2+=("^sep($SYSTEM_SCHEMES)")
n=1
@ -808,7 +780,9 @@ if [[ "$OLD_SYNTAX" = "true" ]];then
done < <(tail -n +2 "$USERSCHEMES")
out2+=("^sep($GENFROMWP)")
out2+=("<big><span bgcolor='${w[-1]}' fgcolor='${w[0]}'> $LIGHTBG <span fgcolor='${w[4]}'></span> <span fgcolor='${w[5]}'></span> </span></big>,w2theme conkyone light ${1}")
out2+=("<big><span bgcolor='${w[0]}' fgcolor='${w[-1]}'> $DARKBG <span fgcolor='${w[-4]}'></span> <span fgcolor='${w[-5]}'></span> </span></big>,w2theme conkyone dark ${1}")
out+=("^sep()")
#fi
@ -833,10 +807,9 @@ if [[ "$OLD_SYNTAX" = "true" ]];then
fi
if [[ "$FONT" != "" ]];then
if [[ "$1" != *"logo_mbcolor"* ]]; then
if [[ "$1" != *"quoter_mbcolor"* ]]; then
out+=("<big>󰛖</big> $FONTS [ <b><span font_family=\"${FONT}\">$FONT</span> $FONTSIZE</b> ],^checkout(fontsingle)")
out2+=("^tag(fontsingle)")
out2+=("^sep($FONTS)")
@ -870,7 +843,7 @@ if [[ "$FONT" != "" ]];then
fi
[[ "$SHADOWS" == "shadow" ]] && out+=("<big>󰄲</big> $SHADOW,conkyctl shades no ${1};$me") || out+=("<big>󰄱</big> $SHADOW,conkyctl shades shadow ${1};$me")
[[ "$SHADOWS" == "outline" ]] && out+=("<big>󰄲</big> $OLINE,conkyctl shades no ${1};$me") || out+=("<big>󰄱</big> $OLINE,conkyctl shades outline ${1};$me")
#out+=("^sep()")
out+=("^sep()")
fi
[[ "$BORD" == false ]] && out+=("<big>󰄱</big> $BORDERS [ <b>$STIP</b> ],^checkout(bordersingle)") || out+=("<big>󰄲</big> $BORDERS [ <b>$STIP</b> ],^checkout(bordersingle)")
@ -885,7 +858,6 @@ if [[ "$FONT" != "" ]];then
out2+=("2,conkyctl stippled_borders 2 ${1};$me")
out2+=("3,conkyctl stippled_borders 3 ${1};$me")
out2+=("4,conkyctl stippled_borders 4 ${1};$me")
fi
fi #OLD SYNTAX CHECK
out+=("^sep()")
out+=(" $EDIT ${title^},xdg-open ${1}")
@ -1017,12 +989,10 @@ cmdmenu () {
title=${name//_/ }
#notify-send.sh "${X} ${Y}" "${WIDTH} ${HEIGHT}"
# if script exist run it and exit
if [ "$1" != "" ];then
if [ -x "${CONKYDIR}/menuscripts/${name}" ];then
bash -c "${CONKYDIR}/menuscripts/${name} ${1}"
if [ -f "${CONKYDIR}/menuscripts/${name}" ];then
bash "${CONKYDIR}/menuscripts/${name}"
exit 0
fi
fi
# if CSV for menu exist show it
if [ -f ${CONKYDIR}/menuscripts/${name}.csv ]; then
LINES=$(grep -Ev "^#|^$" ${CONKYDIR}/menuscripts/${name}.csv|wc -l)
@ -1038,9 +1008,7 @@ cmdmenu () {
label=${line%,*}
done <<< $(grep -v '^\s*$\|^#\|^\s*#' ${CONKYDIR}/menuscripts/${name}.csv)
#notify-send.sh "${label}" "${cmd[@]}"
sleep .1
${cmd[@]}
exit 0
else
# more than 1 lines - show menu
CUSTOMCOMMANDS=". ${CONKYDIR}/menuscripts/${name}.csv"
@ -1051,7 +1019,7 @@ cmdmenu () {
# otherwise build and show standalone menu with custom commands
sleep .1
sleep .2
read WINTRANS <<< "$(grep own_window_transparent ${CONKYCFG} | cut -d'=' -f2 | cut -d"," -f1)"
read FONTDEF <<< "$(grep "font .*=.*,$" ${CONKYCFG} | cut -d'=' -f2,3 |cut -d"'" -f2)"
FONT=${FONTDEF%:*}
@ -1068,7 +1036,7 @@ cmdmenu () {
CONFIG_FILE=$(mktemp)
MENU_ITEMS=$(mktemp)
trap "rm -f ${CONFIG_FILE} ${MENU_ITEMS}" EXIT
POSITION_MODE=pointer
POSITION_MODE=${1:-pointer}
#POSITION_MODE=fixed
HIDE_BACK_ITEMS=1
menu_gradient_pos=none
@ -1208,11 +1176,7 @@ do
done < <(awk 'NR == n' n=$2 "$SCHEMEFILE")
}
fix_transparent_conkies(){
transparent true ${CONKYDIR}/Polaroid_mbcolor.conkyrc
transparent true ${CONKYDIR}/logo_mbcolor.conkyrc
transparent true ${CONKYDIR}/logo_SVG_mbcolor.conkyrc
}
applyscheme_all () {
case "$1" in
@ -1234,8 +1198,6 @@ do
stippled_borders_all ${stip}
draw_borders_all ${bord}
done < <(awk 'NR == n' n=$2 "$SCHEMEFILE")
fix_transparent_conkies
}
@ -1280,91 +1242,6 @@ baseconky_info() {
esac
colorizer-conky -s
}
mono () {
lighten=(0.92 0.8 0.65 0.45 0.28)
darken=(0.9 0.74 0.54 0.38 0.18)
if [ "${1}" == pick ];then
color=$(gpick -pso 2>/dev/null)
else
color="${1}"
fi
if [ "${#color}" == 7 ];then
for i in "${lighten[@]}"
do
pal+=("$(pastel mix -f $i "#ffffff" "$color"|pastel format hex)")
done
pal+=("$color")
for i in "${darken[@]}"
do
pal+=("$(pastel mix -f $i "$color" "#000000"|pastel format hex)")
done
else
exit 0
fi
#colorize Conky
if [ "$2" == "dark" ];then
win_bgcolor_all "${pal[10]}"
default_color_all "${pal[0]}"
color0_all "${pal[3]}"
color1_all "${pal[4]}"
color2_all "${pal[5]}"
else # light
win_bgcolor_all "${pal[4]}"
default_color_all "${pal[9]}"
color0_all "${pal[7]}"
color1_all "${pal[8]}"
color2_all "${pal[1]}"
fi
fix_transparent_conkies
colorizer-conky -s 2>/dev/null
}
monoone () {
lighten=(0.92 0.8 0.65 0.45 0.28)
darken=(0.9 0.74 0.54 0.38 0.18)
if [ "${1}" == pick ];then
color=$(gpick -pso 2>/dev/null)
else
color="${1}"
fi
if [ "${#color}" == 7 ];then
for i in "${lighten[@]}"
do
pal+=("$(pastel mix -f $i "#ffffff" "$color"|pastel format hex)")
done
pal+=("$color")
for i in "${darken[@]}"
do
pal+=("$(pastel mix -f $i "$color" "#000000"|pastel format hex)")
done
else
exit 0
fi
# colorize one Conky
if [ "$2" == "dark" ];then
win_bgcolor "${pal[10]}" "${3}"
default_color "${pal[0]}" "${3}"
color0 "${pal[3]}" "${3}"
color1 "${pal[4]}" "${3}"
color2 "${pal[5]}" "${3}"
else # light
win_bgcolor "${pal[4]}" "${3}"
default_color "${pal[9]}" "${3}"
color0 "${pal[7]}" "${3}"
color1 "${pal[8]}" "${3}"
color2 "${pal[1]}" "${3}"
fi
}
case "$1" in
transparent_all) transparent_all "$2";;
transparent) transparent "$2" "$3";;
@ -1406,7 +1283,7 @@ case "$1" in
toggleone) toggleone "$2";;
restartone) restartone "$2";;
contextmenu) contextmenu;;
cmdmenu) cmdmenu "$2";;
cmdmenu) cmdmenu;;
cmdmenu_edit) cmdmenu_edit "$2";;
makemoveableall) makemoveableall;;
saveposall) saveposall;;
@ -1419,8 +1296,5 @@ case "$1" in
netdevice) netdevice ;;
convert_from_old) convert_from_old "$2";;
baseconky_info) baseconky_info;;
mono) mono "$2" "$3";;
monoone) monoone "$2" "$3" "$4";;
fix_transparent_conkies)fix_transparent_conkies;;
*) : ;;
esac

View File

@ -43,8 +43,8 @@ resetob () {
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:name' -v "Ubuntu" "$cfg"
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="InactiveWindow"]/a:name' -v "Ubuntu" "$cfg"
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:size' -v 10 "$cfg"
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="InactiveWindow"]/a:size' -v 10 "$cfg"
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:size' -v 9 "$cfg"
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="InactiveWindow"]/a:size' -v 9 "$cfg"
#add Weight and slant
@ -71,13 +71,11 @@ inc_all() {
gtk_fontsize inc
inc_conky
inc_menus
ob_fontsize inc
}
dec_all() {
gtk_fontsize dec
dec_conky
dec_menus
ob_fontsize dec
}
inc_conky () {
read FONTDEF <<< "$(grep "font .*=.*,$" ${BASECONKY} | cut -d'=' -f2,3 |cut -d"'" -f2)"

View File

@ -1,72 +0,0 @@
#!/bin/bash
# gtkctl - GTK widget (theme), Icons settings for Mabox
GTK2RC="$HOME"/.gtkrc-2.0
GTK3RC="$HOME"/.config/gtk-3.0/settings.ini
get_theme(){
GTK_THEME=( $(grep "gtk-theme-name" ${GTK2RC} | cut -d'"' -f2) )
echo ${GTK_THEME}
}
get_icons(){
GTK_ICON=( $(grep "gtk-icon-theme-name" ${GTK2RC} | cut -d'"' -f2) )
echo ${GTK_ICON}
}
theme(){
# set GTK theme
:
}
icons(){
# set icon theme
sd "^gtk-icon-theme-name=.*" "gtk-icon-theme-name=\"${1}\"" ${GTK2RC}
sd "^gtk-icon-theme-name=.*" "gtk-icon-theme-name=${1}" ${GTK3RC}
reload-gtk
}
papcolor(){
ICON_DIR="$HOME/.local/share/icons"
case "$1" in
adwaita|black|blue|bluegrey|breeze|brown|carmine|cyan|darkcyan|deeporange|green|grey|indigo|magenta|nordic|orange|palebrown|paleorange|pink|red|teal|violet|white|yaru|yellow)
;;
*)
exit 1
esac
[[ "$2" == "-d" ]] && VARIANT="Dark-" || VARIANT=""
if [ -f "${ICON_DIR}/Papirus-Mabox-${VARIANT}${1}/index.theme" ];then
TITLE="Icons theme changed!"
TEXT="Papirus folders color: <b>${VARIANT}${1^}</b>"
icons Papirus-Mabox-${VARIANT}${1}
notify-send.sh -u normal -i "${ICON_DIR}/Papirus-Mabox-${VARIANT}${1}/64x64/places/folder-linux.svg" "$TITLE" "$TEXT"
else
TITLE="Please wait..."
TEXT="Preparing ${VARIANT}${1} folder color icons"
TITLE2="Success!"
TEXT2="${VARIANT}${1^} icons color variant generated successfully"
notify-send.sh -u critical -i /usr/share/icons/Papirus/64x64/places/folder-${VARIANT}${1}.svg -R /tmp/papicon "$TITLE" "$TEXT"
papirus-folder-color.sh -c ${1} ${2}
notify-send.sh -u normal -i "${ICON_DIR}/Papirus-Mabox-${VARIANT}${1}/64x64/places/folder-linux.svg" -R /tmp/papicon "$TITLE2" "$TEXT2"
icons Papirus-Mabox-${VARIANT}${1}
fi
}
case "$1" in
get_theme)get_theme;;
get_icons)get_icons "$2";;
theme)theme "$2";;
icons)icons "$2";;
papcolor)papcolor "$2" "$3";;
*):;;
esac

167
bin/jgctl
View File

@ -68,7 +68,6 @@ color_menu_border () {
}
menu_gradient_pos () {
sd "menu_gradient_pos.*$" "menu_gradient_pos = $1" ${THEMERC}
#mb-setvar menu_gradient_pos=${1}
}
gradient () {
read MBG MBGA<<< "$(grep 'color_menu_bg ' ${THEMERC} | cut -d'=' -f2)"
@ -267,53 +266,25 @@ tweak () {
sizing)
case "$2" in
tight)
mb-setvar jgtools_padding=4
mb-setvar jgtools_padding=0
mb-setvar jgtools_border=0
mb-setvar submenu_spacing=2
mb-setvar arrow_string=
mb-setvar submenu_spacing=1
;;
normal)
mb-setvar jgtools_padding=8
mb-setvar jgtools_border=3
mb-setvar submenu_spacing=3
mb-setvar arrow_string=
mb-setvar jgtools_border=0
mb-setvar submenu_spacing=2
;;
wide)
mb-setvar jgtools_padding=20
mb-setvar jgtools_border=6
mb-setvar submenu_spacing=6
mb-setvar arrow_string=
mb-setvar jgtools_border=4
mb-setvar submenu_spacing=4
;;
esac
;;
*):;;
esac
[[ "$3" == "menu" ]] && colorizer-menus -s 2>/dev/null
}
t_search_field () {
[[ $search_field == "false" ]] && mb-setvar search_field=true || mb-setvar search_field=false
mb-jgtools main ipc
}
t_apps_in_submenu () {
[[ $apps_in_submenu == "true" ]] && mb-setvar apps_in_submenu=false || mb-setvar apps_in_submenu=true
mb-jgtools main ipc
}
t_icons () {
[[ $jgmenu_use_icons == "true" ]] && mb-setvar jgmenu_use_icons=false || mb-setvar jgmenu_use_icons=true
mb-jgtools main ipc
}
border () {
[[ "$jgtools_padding" -lt "${1}" ]] && mb-setvar jgtools_padding=${1}
mb-setvar jgtools_border=${1}
colorizer-menus -s
}
padding () {
[[ "$jgtools_border" -gt "${1}" ]] && mb-setvar jgtools_border=${1}
mb-setvar jgtools_padding=${1}
colorizer-menus -s
}
opacity () {
# jgctl opacity element value
read FUNC B COLOR OPACITY REST<<< "$(grep ${1} ${THEMERC})"
@ -336,18 +307,18 @@ savescheme () {
# ask for scheme name
schemename=$(yad --center --width=300 --borders=20 --window-icon=mbcc --title "$SAVE_AS" --text="$DESC" --entry --entry-label="$LABEL" --entry-text="$NAME") || exit 1
echo "${1}${schemename}" >> "$HOME/.config/colorizer/menus/userschemes2.csv"
echo "${1}${schemename}" >> "$HOME/.config/colorizer/menus/userschemes.csv"
}
applyscheme () {
theme MBcolors
line=$(awk 'NR == n' n=$1 "$HOME/.config/colorizer/menus/userschemes2.csv")
line=$(awk 'NR == n' n=$1 "$HOME/.config/colorizer/menus/userschemes.csv")
#notify-send.sh "$1" "${line}"
case "$1" in
sys) SCHEMEFILE="/usr/share/mabox-colorizer/colorschemes/menus.csv";;
usr) SCHEMEFILE="$HOME/.config/colorizer/menus/userschemes2.csv";;
usr) SCHEMEFILE="$HOME/.config/colorizer/menus/userschemes.csv";;
esac
while IFS="|" read -r mbg mbga mbgt mbgta mborder mbordera tbg tbga tfg tfga tborder tbordera normbg normbga nfg nfga sbg sbga sfg sfga sborder sbordera sepfg sepfga b r p ss ibor irad a al sephal grad scheme_name
while IFS="|" read -r mbg mbgt mborder tbg tfg tborder normbg nfg sbg sfg sborder sepfg grad scheme_name
do
mb-setvar jgmenu_theme=MBcolors
color_menu_bg "${mbg}"
@ -364,115 +335,19 @@ color_sel_border "${sborder}"
color_sep_fg "${sepfg}"
menu_gradient_pos "${grad}"
#opacity
color_menu_bg "${mbga}"
color_menu_bg_to "${mbgta}"
color_menu_border "${mbordera}"
color_title_bg "${tbga}"
color_title_fg "${tfga}"
color_title_border "${tbordera}"
color_norm_bg "${normbga}"
color_norm_fg "${nfga}"
color_sel_bg "${sbga}"
color_sel_fg "${sfga}"
color_sel_border "${sbordera}"
color_sep_fg "${sepfga}"
item_border "${ibor}"
item_radius "${irad}"
sep_halign "${sephal}"
mb-setvar arrow_string=${a}
mb-setvar arrow_string_left=${al}
# missing: ( from mabox.conf )
mb-setvar jgtools_border=${b}
mb-setvar jgtools_padding=${p}
mb-setvar jgtools_radius=${r}
mb-setvar submenu_spacing=${ss}
item_border 0
color_title_bg 100
color_menu_bg 100
color_menu_bg_to 100
color_norm_bg 0
#notify-send.sh "${scheme_name}" "${mbg}"
done < <(awk 'NR == n' n=$2 "$SCHEMEFILE")
}
delscheme() {
sed -i ${1}d "$HOME/.config/colorizer/menus/userschemes2.csv"
sed -i ${1}d "$HOME/.config/colorizer/menus/userschemes.csv"
}
mono () {
lighten=(0.92 0.8 0.65 0.45 0.28)
darken=(0.9 0.74 0.54 0.38 0.18)
if [ "${1}" == pick ];then
color=$(gpick -pso 2>/dev/null)
else
color="${1}"
fi
if [ "${#color}" == 7 ];then
for i in "${lighten[@]}"
do
pal+=("$(pastel mix -f $i "#ffffff" "$color"|pastel format hex)")
done
pal+=("$color")
for i in "${darken[@]}"
do
pal+=("$(pastel mix -f $i "$color" "#000000"|pastel format hex)")
done
else
exit 0
fi
# colorize menu
if [ "$2" == "dark" ];then
#notify-send.sh "$1" "gen_menu"
color_menu_bg "${pal[8]}"
color_menu_bg_to "${pal[7]}"
color_menu_border "${pal[10]}"
color_title_bg "${pal[9]}"
color_title_border "${pal[9]}"
color_title_fg "${pal[2]}"
color_norm_bg "${pal[8]}"
color_norm_fg "${pal[3]}"
color_sel_bg "${pal[6]}"
color_sel_fg "${pal[1]}"
color_sep_fg "${pal[6]}"
else #light
color_menu_bg "${pal[2]}"
color_menu_bg_to "${pal[3]}"
color_menu_border "${pal[1]}"
color_title_bg "${pal[3]}"
color_title_border "${pal[4]}"
color_title_fg "${pal[10]}"
color_norm_bg "${pal[2]}"
color_norm_fg "${pal[8]}"
color_sel_bg "${pal[4]}"
color_sel_fg "${pal[10]}"
color_sep_fg "${pal[3]}"
fi
# opacity
color_norm_bg 0
case "$3" in
col)colorizer-menus -s 2>/dev/null;;
stylemenu) jgwallpaperchanger -s jgmenus;;
*):;;
esac
}
randomscheme(){
mb-setvar jgmenu_theme=MBcolors
themefile=$(find /usr/share/mb-jgtools/jgobthemes/ -type f -name *.colorrc |shuf -n 1)
#notify-send.sh "Theme:" "${themefile}"
cat ${themefile} > ~/.config/mabox/jgobthemes/MBcolors.colorrc
}
applyoldscheme(){
#notify-send.sh "th" "${1}"
mb-setvar jgmenu_theme=MBcolors
cat ${1} > ~/.config/mabox/jgobthemes/MBcolors.colorrc
}
case "$1" in
theme) theme "$2";;
reset) reset ;;
@ -495,18 +370,10 @@ case "$1" in
color_sel_fg) color_sel_fg "$2";;
color_sel_border) color_sel_border "$2";;
accent) accent "$2" "$3";;
tweak) tweak "$2" "$3" "$4";;
tweak) tweak "$2" "$3";;
opacity) opacity "$2" "$3";;
t_search_field)t_search_field;;
t_apps_in_submenu) t_apps_in_submenu;;
t_icons)t_icons;;
border)border "$2";;
padding)padding "$2";;
mono) mono "$2" "$3" "$4";;
savescheme) savescheme "$2";;
applyscheme) applyscheme "$2" "$3";;
delscheme) delscheme "$2";;
randomscheme) randomscheme;;
applyoldscheme) applyoldscheme "$2";;
*) : ;;
esac

View File

@ -61,7 +61,7 @@ main () {
#read WALLPAPER<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
WALLPALDIR="$HOME/.cache/colorizer/palettes"
mkdir -p "$WALLPALDIR"
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
NAME=${WALLPATH////_}
if [[ "${NAME}" =~ ^_home_.* ]]; then
@ -84,12 +84,6 @@ grays=("#000000" "#0d0d0d" "#1b1b1b" "#282828" "#363636" "#434343" "#515151" "#5
accents=("#e93d57" "#c7162b" "#e9633a" "#e95620" "#f4a300" "#e8cc2d" "#3cd425" "#0e8420" "#00d3b7" "#18b0b0" "#3dade9" "#686b6f" "#3584e4" "#916ee4" "#b875dc" "#77216e" "#c748ba" "#e93a9a")
out+=("^sep($4)")
#TU
out+=("<big></big> $PICK_FROM_SCREEN,mbclr pixelcolor $2 $3 ${5} ${6}")
out+=("<big></big> $SELECT_OR_PICK,mbclr pick $2 $3 ${5} ${6}")
if [[ "$2" == "jgctl" ]]; then
. $HOME/.config/mabox/mabox.conf
case "$jgmenu_theme" in
@ -150,6 +144,9 @@ out+=("<big>󰑧</big> $ROTATE_HSL_HUE,^checkout(rotate_hsl)")
#out+=("$SHADES_OF_CURRENT <tt><span bgcolor='$1'> </span></tt> (<small>$1</small>),^checkout(curshades)")
out+=("^sep($CHANGE_COLOR)")
#Current
out+=("<big></big> $PICK_FROM_SCREEN,mbclr pixelcolor $2 $3 ${5} ${6}")
out+=("<big></big> $SELECT_OR_PICK,mbclr pick $2 $3 ${5} ${6}")
out+=("^sep()")
out+=("<big><span bgcolor='#e93d57'> </span> <span bgcolor='#f4a300'> </span> <span bgcolor='#3cd425'> </span> <span bgcolor='#3584e4'> </span> <span bgcolor='#e93a9a'> </span></big> $ACCENT_COLORS,^checkout(accents)")
out2+=("^tag(accents)")
out2+=("^sep($ACCENT_COLORS)")

View File

@ -57,7 +57,6 @@ resetMBcolors() {
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="InactiveWindow"]/a:size' -v "9" "$cfg"
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="InactiveWindow"]/a:weight' -v "Bold" "$cfg"
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="InactiveWindow"]/a:slant' -v "Normal" "$cfg"
rm ${THEMERC}.bak
}
borderWidth () {
@ -81,13 +80,9 @@ borderWidth () {
}
activeborderColor () {
sd "\.active.border.color:.*$" ".active.border.color: $1" ${THEMERC}
read BORD <<< "$(grep border.width ${THEMERC} | cut -d':' -f2)"
[[ "$BORD" == 0 ]] && borderWidth 1
}
inactiveborderColor () {
sd "\.inactive.border.color:.*$" ".inactive.border.color: $1" ${THEMERC}
read BORD <<< "$(grep border.width ${THEMERC} | cut -d':' -f2)"
[[ "$BORD" == 0 ]] && borderWidth 1
}
paddingHeight () {
case "$1" in
@ -105,7 +100,7 @@ paddingHeight () {
sd "^padding.width:.*$" "padding.width: ${PHEIGHT}" ${THEMERC}
fi
;;
0|1|2|3|4|5|6|8|10|12|16|20)
0|1|2|3|4|6|8|10|12|16|20)
sd "^padding.height:.*$" "padding.height: $1" ${THEMERC}
sd "^padding.width:.*$" "padding.width: $1" ${THEMERC}
;;
@ -205,18 +200,6 @@ activegradient () {
#sd "\.active.handle.bg.color:.*$" ".active.handle.bg.color: ${1}" ${THEMERC}
sd "^window.active.title.bg.color:.*$" "window.active.title.bg.color: ${1}" ${THEMERC}
sd "^window.active.title.bg.colorTo:.*$" "window.active.title.bg.colorTo: ${2}" ${THEMERC}
## split.To - only used if gradient = splitvertical
splitTo=$(pastel lighten 0.275 "${1}"|pastel format hex)
## 1 color (top one)
sd "window.active.title.bg.color.splitTo:.*$" "window.active.title.bg.color.splitTo: ${splitTo}" ${THEMERC}
splitTo2=$(pastel lighten 0.12 "${2}"|pastel format hex)
#splitTo2=$(pastel lighten 0.09 "${1}"|pastel format hex)
## 4 color (bottom one)
sd "window.active.title.bg.colorTo.splitTo:.*$" "window.active.title.bg.colorTo.splitTo: ${splitTo2}" ${THEMERC}
# Border color = active.title.bg.color (gradient start color)
sd "\.active.border.color:.*$" ".active.border.color: $1" ${THEMERC}
@ -273,17 +256,6 @@ activegradient () {
gradient () {
sd "^window.active.title.bg.color:.*$" "window.active.title.bg.color: ${1}" ${THEMERC}
sd "^window.active.title.bg.colorTo:.*$" "window.active.title.bg.colorTo: ${2}" ${THEMERC}
## split.To - only used if gradient = splitvertical
splitTo=$(pastel lighten 0.275 "${1}"|pastel format hex)
## 1 color (top one)
sd "window.active.title.bg.color.splitTo:.*$" "window.active.title.bg.color.splitTo: ${splitTo}" ${THEMERC}
splitTo2=$(pastel lighten 0.12 "${2}"|pastel format hex)
#splitTo2=$(pastel lighten 0.09 "${1}"|pastel format hex)
## 4 color (bottom one)
sd "window.active.title.bg.colorTo.splitTo:.*$" "window.active.title.bg.colorTo.splitTo: ${splitTo2}" ${THEMERC}
# Border color = active.title.bg.color (gradient start color)
sd "\.active.border.color:.*$" ".active.border.color: $1" ${THEMERC}
@ -374,7 +346,7 @@ clractivebg_only () {
activebuttonscolors "${TITLE_FG}"
}
clractivebg () {
colorTo=$(pastel darken 0.14 "${1}"|pastel format hex)
colorTo=$(pastel darken 0.1 "${1}"|pastel format hex)
#activehandle?
read ABG <<< "$(grep .active.title.bg.color: ${THEMERC} | cut -d':' -f2)"
read AHBG <<< "$(grep .active.handle.bg.color: ${THEMERC} | cut -d':' -f2)"
@ -388,17 +360,6 @@ clractivebg () {
sd "\.active.border.color:.*$" ".active.border.color: ${1}" ${THEMERC}
sd "^window.active.title.bg.colorTo:.*$" "window.active.title.bg.colorTo: ${colorTo}" ${THEMERC}
## split.To - only used if gradient = splitvertical
splitTo=$(pastel lighten 0.275 "${1}"|pastel format hex)
## 1 color (top one)
sd "window.active.title.bg.color.splitTo:.*$" "window.active.title.bg.color.splitTo: ${splitTo}" ${THEMERC}
splitTo2=$(pastel lighten 0.12 "${colorTo}"|pastel format hex)
#splitTo2=$(pastel lighten 0.09 "${1}"|pastel format hex)
## 4 color (bottom one)
sd "window.active.title.bg.colorTo.splitTo:.*$" "window.active.title.bg.colorTo.splitTo: ${splitTo2}" ${THEMERC}
#menu (Openbox menu - not really used in Mabox)
sd "menu.title.bg.color:.*$" "menu.title.bg.color: ${1}" ${THEMERC}
sd "menu.title.bg.colorTo:.*$" "menu.title.bg.colorTo: ${colorTo}" ${THEMERC}
@ -436,30 +397,11 @@ clrnormalbg () {
sd "\.inactive.grip.bg.colorTo:.*$" ".inactive.grip.bg.colorTo: ${colorTo}" ${THEMERC}
sd "^window.inactive.title.bg.color:.*$" "window.inactive.title.bg.color: ${1}" ${THEMERC}
sd "^window.inactive.title.bg.colorTo:.*$" "window.inactive.title.bg.colorTo: ${colorTo}" ${THEMERC}
## split.To - only used if gradient = splitvertical
splitTo=$(pastel lighten 0.275 "${1}"|pastel format hex)
## 1 color (top one)
sd "window.inactive.title.bg.color.splitTo:.*$" "window.inactive.title.bg.color.splitTo: ${splitTo}" ${THEMERC}
splitTo2=$(pastel lighten 0.12 "${colorTo}"|pastel format hex)
#splitTo2=$(pastel lighten 0.09 "${1}"|pastel format hex)
## 4 color (bottom one)
sd "window.inactive.title.bg.colorTo.splitTo:.*$" "window.inactive.title.bg.colorTo.splitTo: ${splitTo2}" ${THEMERC}
sd "\.inactive.border.color:.*$" ".inactive.border.color: ${1}" ${THEMERC}
}
clractivebgto () {
sd "^window.active.title.bg.colorTo:.*$" "window.active.title.bg.colorTo: ${1}" ${THEMERC}
splitTo2=$(pastel lighten 0.12 "${1}"|pastel format hex)
#splitTo2=$(pastel lighten 0.09 "${1}"|pastel format hex)
## 4 color (bottom one)
sd "window.active.title.bg.colorTo.splitTo:.*$" "window.active.title.bg.colorTo.splitTo: ${splitTo2}" ${THEMERC}
#activehandle?
###read ABG <<< "$(grep .active.title.bg.color: ${THEMERC} | cut -d':' -f2)"
###read AHBG <<< "$(grep .active.handle.bg.color: ${THEMERC} | cut -d':' -f2)"
@ -471,11 +413,6 @@ clractivebgto () {
clrnormalbgto () {
sd "^window.inactive.title.bg.colorTo:.*$" "window.inactive.title.bg.colorTo: ${1}" ${THEMERC}
splitTo2=$(pastel lighten 0.12 "${1}"|pastel format hex)
#splitTo2=$(pastel lighten 0.09 "${1}"|pastel format hex)
## 4 color (bottom one)
sd "window.active.title.bg.colorTo.splitTo:.*$" "window.active.title.bg.colorTo.splitTo: ${splitTo2}" ${THEMERC}
sd "\.inactive.handle.bg.colorTo:.*$" ".inactive.handle.bg.colorTo: ${1}" ${THEMERC}
sd "\.inactive.grip.bg.colorTo:.*$" ".inactive.grip.bg.colorTo: ${1}" ${THEMERC}
}
@ -568,15 +505,11 @@ fontsize () {
fontweight () {
nspace="http://openbox.org/3.4/rc"
cfg="$HOME/.config/openbox/rc.xml"
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:weight' -v "${1}" "$cfg"
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="InactiveWindow"]/a:weight' -v "${1}" "$cfg"
}
fontweight_inactive () {
nspace="http://openbox.org/3.4/rc"
cfg="$HOME/.config/openbox/rc.xml"
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="InactiveWindow"]/a:weight' -v "${1}" "$cfg"
}
fontweighttoggle (){
nspace="http://openbox.org/3.4/rc"
cfg="$HOME/.config/openbox/rc.xml"
@ -590,15 +523,10 @@ fontweighttoggle (){
fontslant (){
nspace="http://openbox.org/3.4/rc"
cfg="$HOME/.config/openbox/rc.xml"
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:slant' -v "${1}" "$cfg"
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="InactiveWindow"]/a:slant' -v "${1}" "$cfg"
}
fontslant_inactive (){
nspace="http://openbox.org/3.4/rc"
cfg="$HOME/.config/openbox/rc.xml"
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="InactiveWindow"]/a:slant' -v "${1}" "$cfg"
}
fontslanttoggle (){
nspace="http://openbox.org/3.4/rc"
cfg="$HOME/.config/openbox/rc.xml"
@ -641,8 +569,8 @@ randomizer () {
#rand
### Random border
BORDERS=(0 0 1 2 4 6)
rand=$((RANDOM%5))
BORDERS=(0 0 1 2 4)
rand=$((RANDOM%4))
BORDER="${BORDERS[$rand]}"
borderWidth "${BORDER}"
@ -745,21 +673,21 @@ tweak() {
fontsize 14
paddingHeight 8
buttons big-14
borderWidth 6
borderWidth 4
handlewidth 6
;;
big)
fontsize 12
paddingHeight 6
buttons big-12
borderWidth 4
borderWidth 1
handlewidth 4
;;
normal)
fontsize 11
paddingHeight 4
buttons tiny
borderWidth 1
borderWidth 0
handlewidth 3
;;
small)
@ -839,58 +767,6 @@ applytheme() {
delscheme() {
sed -i ${1}d "$HOME/.config/colorizer/openbox/userthemes.csv"
}
mono() {
lighten=(0.92 0.8 0.65 0.45 0.28)
darken=(0.9 0.74 0.54 0.38 0.18)
if [ "${1}" == pick ];then
color=$(gpick -pso 2>/dev/null)
else
color="${1}"
fi
if [ "${#color}" == 7 ];then
for i in "${lighten[@]}"
do
pal+=("$(pastel mix -f $i "#ffffff" "$color"|pastel format hex)")
done
pal+=("$color")
for i in "${darken[@]}"
do
pal+=("$(pastel mix -f $i "$color" "#000000"|pastel format hex)")
done
else
exit 0
fi
#colorize OB
if [ "$2" == "dark" ];then
clractivebg "${pal[5]}"
#clractivebgto "${pal[6]}"
activeborderColor "${pal[2]}"
activetextcolor "${pal[1]}"
clrnormalbg "${pal[9]}"
clrnormalbgto "${pal[10]}"
inactiveborderColor "${pal[8]}"
inactivetextcolor "${pal[4]}"
else #light
clractivebg "${pal[4]}"
#clractivebgto "${pal[4]}"
activeborderColor "${pal[0]}"
activetextcolor "${pal[9]}"
clrnormalbg "${pal[9]}"
clrnormalbgto "${pal[10]}"
inactiveborderColor "${pal[7]}"
inactivetextcolor "${pal[5]}"
fi
openbox --reconfigure
case "$3" in
col)colorizer-ob -s 2>/dev/null;;
stylemenu)jgwallpaperchanger -s obox;;
*):;;
esac
}
case "$1" in
theme) theme "$2";;
@ -924,15 +800,12 @@ case "$1" in
activebuttonscolors) activebuttonscolors "$2";;
fontfamily) fontfamily "$2";;
fontweight) fontweight "$2";;
fontweight_inactive) fontweight_inactive "$2";;
fontslant) fontslant "$2";;
fontslant_inactive) fontslant_inactive "$2";;
fontsize) fontsize "$2";;
fontweighttoggle) fontweighttoggle;;
fontslanttoggle) fontslanttoggle;;
randomizer) randomizer;;
tweak) tweak "$2";;
mono) mono "$2" "$3" "$4";;
savetheme) savetheme "$2";;
applyscheme) applyscheme "$2" "$3";;
applytheme) applytheme "$2" "$3";;

View File

@ -1,275 +0,0 @@
#!/bin/bash
# papirus-folder-color.sh
# Generate icon theme inheriting Papirus or Papirus-Dark,
# but with different coloured folder icons.
#
# Copyright: 2019-2022 John Crawley <john@bunsenlabs.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# If not overruled by --name option, this will be included in generated theme name.
# Other vendors, please edit to taste:
vendor=Mabox
USAGE="
papirus-folder-color.sh [OPTIONS]
Generates a user custom icon theme with a different folder color from
the default Papirus blue.
Options:
-h, --help
Show this message.
-c, --color <color>
Choose icon color.
-s, --source_path <path>
Set path to directory holding Papirus theme to be used.
-t, --target_path <path>
Set path to directory where new theme will be generated.
-n, --name <name>
Set name of generated theme.
-l, --link
Symlink icons to source instead of copying.
-d, --dark
Declare theme to be dark and inherit Papirus-Dark.
color must be specified and can be one of:
black,blue,bluegrey,breeze,brown,cyan,deeporange,green,grey,indigo,magenta,nordic,orange,palebrown,paleorange,pink,red,teal,violet,white,yaru,yellow,custom
NB \"custom\" color corresponds to jet black, while \"black\" is actually dark grey.
\"jet-black\" may also be passed as an alias for \"custom\".
If --source_path is not passed, the Papirus theme is read from
/usr/share/icons/Papirus
If --target_path is not passed, the generated theme is written to
~/.local/share/icons/<new theme name>
If --name is not passed, the generated theme will be named
Papirus-${vendor}[-Dark]-<color>.
By default icons will be copied into the new theme, not symlinked.
This increases the size, but improves portability.
Pass --link to generate symlinks instead.
If source_path and target_path are under the same top-level directory
then symlinked icons will use relative paths, otherwise absolute paths.
"
## default variables
## these can (should, at least for color) be overridden by script options
source_path=/usr/share/icons # place to find source Papirus theme
target_path="$HOME/.local/share/icons" # place to put generated theme
#target_path="$PWD"
copy_files=true # If true, copy icons into new theme instead of symlinking.
new_theme=''
color=''
error_exit() {
echo "$0 error: $1" >&2
exit 1
}
while [[ -n $1 ]]
do
case "$1" in
--color|-c)
color=$2
shift 2
;;
--source_path|-s)
source_path=$2
shift 2
;;
--target_path|-t)
target_path=$2
shift 2
;;
--name|-n)
new_theme=$2
shift 2
;;
--link|-l)
copy_files=false
shift
;;
--dark|-d)
dark_theme=true
shift
;;
--help|-h)
echo "$USAGE"
exit
;;
*)
error_exit "$1: Unrecognized option."
;;
esac
done
########################################################################
case "$color" in
adwaita|black|blue|bluegrey|breeze|brown|carmine|cyan|darkcyan|deeporange|green|grey|indigo|magenta|nordic|orange|palebrown|paleorange|pink|red|teal|violet|white|yaru|yellow|custom)
;;
jet-black)
color=custom;;
*)
error_exit "${color}: Unrecognized colour."
esac
[[ -n $new_theme ]] || {
if [[ $dark_theme = true ]]
then
new_theme="Papirus-${vendor}-Dark-${color}"
else
new_theme="Papirus-${vendor}-${color}"
fi
}
source_dir="$source_path/Papirus"
target_dir="$target_path/$new_theme"
[[ $(basename "$source_dir") = Papirus ]] || error_exit "$source_dir: Not a Papirus theme directory"
[[ $(basename "$target_dir") = Papirus* ]] || error_exit "$target_dir: Not a Papirus theme directory" # try to avoid accidents
# Define function to make symlinks,
# relative if source & target have same top-level directory.
# If copy_files is true, copy instead of linking.
set_linking() {
if [[ $copy_files = true ]]
then
link_file() { cp "$1" "$2"; }
else
local tld_src=$( readlink -f "${source_dir}" )
tld_src=${tld_src#/}
tld_src=${tld_src%%/*}
local tld_tgt=$( readlink -f "${target_dir}" )
tld_tgt=${tld_tgt#/}
tld_tgt=${tld_tgt%%/*}
if [[ "$tld_src" = "$tld_tgt" ]]
then
link_file() { ln -sfr "$1" "$2"; }
else
link_file() { ln -sf "$1" "$2"; }
fi
fi
}
set_linking
[[ -e "$target_dir" ]] && {
echo "$target_dir will be removed and replaced, OK?"
read -r -p ' remove? (y/n) '
case ${REPLY^^} in
Y|YES)
rm -rf "$target_dir" || error_exit "Failed to remove $target_dir";;
*)
echo 'User cancelled. Exiting...'; exit;;
esac
}
mkdir -p "$target_dir" || error_exit "Failed to create $target_dir"
defcolor=blue # the Papirus default
shortdirlist=
longdirlist=
for subdir in "$source_dir"/*
do
[[ -d ${subdir}/places && ! -h $subdir ]] || continue # only use icons in "places" directories
files=()
while IFS= read -r -d '' file
do
files+=("$file")
done < <(find "${subdir}/places" -type l \( -ilname "*-$defcolor-*" -o -lname "*-$defcolor.*" \) ! -iname "*-$defcolor-*" ! -iname "*-$defcolor.*" -print0)
[[ ${#files[@]} -gt 0 ]] || continue
dirname=${subdir##*/}
mkdir -p "$target_dir/${dirname}/places" || error_exit "Failed to create $target_dir/${dirname}/places"
scaledname=${dirname}@2x
[[ $dirname != symbolic ]] && ln -s "${dirname}" "${target_dir}/${scaledname}" || error_exit "Failed to link ${target_dir}/${scaledname} to ${dirname}"
for i in "${files[@]}"
do
find "${subdir}/places" -type l -lname "${i##*/}" -exec cp --no-dereference '{}' "$target_dir/${dirname}/places" \;
target="$(readlink "$i")"
target="${target/-${defcolor}/-${color}}"
[[ -f "$subdir/places/$target" ]] || { echo "$subdir/places/$target: not found"; continue; }
link_file "$subdir/places/$target" "$target_dir/$dirname/places/${i##*/}" || error_exit "Failed to link_file() $target_dir/$dirname/places/${i##*/} to $subdir/places/$target"
done
case "${dirname}" in
symbolic)
shortdirlist+="${dirname}/places,"
longdirlist+="[${dirname}/places]
Context=Places
Size=16
MinSize=16
MaxSize=512
Type=Scalable
"
;;
*)
shortdirlist+="${dirname}/places,${scaledname}/places,"
longdirlist+="[${dirname}/places]
Context=Places
Size=${dirname%x*}
Type=Fixed
[${scaledname}/places]
Context=Places
Size=${dirname%x*}
Scale=2
Type=Fixed
"
;;
esac
done
if [[ $dark_theme = true ]]
then
inherit="Papirus-Dark,breeze-dark"
else
inherit="Papirus,breeze"
fi
cat <<EOF > "$target_dir/index.theme"
[Icon Theme]
Name=$new_theme
Comment=Recoloured Papirus icon theme for Mabox Linux
Inherits=${inherit},hicolor
Example=folder
FollowsColorScheme=true
DesktopDefault=48
DesktopSizes=16,22,24,32,48,64
ToolbarDefault=22
ToolbarSizes=16,22,24,32,48
MainToolbarDefault=22
MainToolbarSizes=16,22,24,32,48
SmallDefault=16
SmallSizes=16,22,24,32,48
PanelDefault=48
PanelSizes=16,22,24,32,48,64
DialogDefault=48
DialogSizes=16,22,24,32,48,64
# Directory list
Directories=${shortdirlist%,}
$longdirlist
EOF
gtk-update-icon-cache "$target_dir"

View File

@ -20,4 +20,4 @@ fi
readarray -t wpdirs < <(grep "^[^#]" "${CNF_FILE}")
sh -c "pcmanfm -n $(echo ${syswpdirs[@]} ${wpdirs[@]})"
pcmanfm -n $(echo ${syswpdirs[@]} ${wpdirs[@]})

View File

@ -1,52 +1,23 @@
#!/bin/bash
DIR="$HOME/.config/quoter"
mkdir -p "$DIR"
CNF_FILE="$DIR/quoter.conf"
notify(){
source <(grep = $CNF_FILE)
quotes=${quotes_file:-"/usr/share/mabox/quotes.txt"}
Q=$(shuf -n 1 "${quotes}")
QUOTE=${Q%|*}
AUTOR=${Q#*|}
notify-send.sh -t 15000 --icon=$HOME/.config/mabox/wpicon.png "${AUTOR}\n" "${QUOTE}" --action="Next:quote.sh -n"
}
conky() {
CNF_FILE="$DIR/quoter.cfg"
if [ ! -f $CNF_FILE ]; then
cat <<EOF > ${CNF_FILE}
quote_fontsize=12
author_fontsize=10
font_name="Ubuntu"
EOF
fi
source <(grep = $CNF_FILE)
qfsize=${quote_fontsize:-12}
afsize=${author_fontsize:-10}
fontname=${font_name:-"Source Code Pro"}
quotes=${quotes_file:-"/usr/share/mabox/quotes.txt"}
export Q=$(curl -s "http://api.forismatic.com/api/1.0/?method=getQuote&format=json&lang=en" | sed 's|\\||g' )
QUOTE=$(echo $Q | jq .quoteText)
AUTOR=$(echo $Q | jq .quoteAuthor | tr -d '"')
echo "${QUOTE}|${AUTOR}" >> "${DIR}"/forismatic.txt
Q=$(shuf -n 1 "${quotes}")
QUOTE=${Q%|*}
AUTOR=${Q#*|}
#QUOTE=$(crow -b $(echo $Q | jq .quoteText))
#AUTOR=$(echo $Q | jq .quoteAuthor | tr -d '"')
#echo "${QUOTE}|${AUTOR}" >> "${DIR}"/forismatic.txt
#QUOTE="Kto to jest Hiszpania? i dlaczego był Hitler?"
#AUTOR="Nieznany Zenon"
printf "\${font ${fontname}:size=$qfsize}\${color}"
printf "\${font Droid Sans:size=$qfsize}\${color}"
echo ${QUOTE} | fmt -80
printf "\${font ${fontname}:size=$afsize}\${alignr}\${color0}"
printf "\${font Droid Sans:size=$afsize}\${alignr}\${color0}"
echo "${AUTOR}"
}
case "$1" in
-n) notify;;
*) conky;;
esac

View File

@ -6,7 +6,7 @@ ob () {
obtctl randomizer
}
menu () {
jgctl randomscheme
mb-setvar jgmenu_theme=$(basename -s .colorrc $(ls ~/.config/mabox/jgobthemes/*.colorrc | shuf -n 1))
case "$1" in
show) colorizer-menus -s;;
*):;;

View File

@ -20,7 +20,7 @@
WALLPALDIR="$HOME/.cache/colorizer/palettes"
mkdir -p "$WALLPALDIR"
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | tail -1 | cut -d'=' -f2)
read WALLPATH<<< $(grep file "$HOME"/.config/nitrogen/bg-saved.cfg | cut -d'=' -f2)
NAME=${WALLPATH////_}
if [[ "${NAME}" =~ ^_home_.* ]]; then
@ -31,7 +31,7 @@ fi
if [ ! -f "$WALLPALDIR/$NAME.clr" ]; then
magick ${WALLPATH} -resize 25% -colors 16 -unique-colors txt:- |grep -v '^#'| awk '{print substr($3,1,7)}' |pastel sort-by brightness |pastel format hex > "$WALLPALDIR/$NAME.clr"
convert ${WALLPATH} -resize 25% -colors 16 -unique-colors txt:- |grep -v '^#'| awk '{print substr($3,1,7)}' |pastel sort-by brightness |pastel format hex > "$WALLPALDIR/$NAME.clr"
fi
mapfile -t w < "$WALLPALDIR/$NAME.clr"
@ -57,7 +57,6 @@ menu_theme () {
jgctl color_sel_fg "${w[-1]}"
jgctl color_sel_border "${w[3]}"
jgctl color_sep_fg "${w[3]}"
jgctl color_norm_bg "${w[2]}"
#sleep 1
;;
*) #light bg
@ -72,7 +71,6 @@ menu_theme () {
jgctl color_sel_fg "${w[0]}"
jgctl color_sel_border "${w[-4]}"
jgctl color_sep_fg "${w[-5]}"
jgctl color_norm_bg "${w[-1]}"
#sleep 1
;;
esac
@ -104,7 +102,6 @@ conky_colors() {
#bars/graphs color
#random
conkyctl color2_all "${accents[ $RANDOM % ${#accents[@]} ]}"
conkyctl fix_transparent_conkies
}
conky_colorsone () {
@ -123,7 +120,7 @@ conky_colorsone () {
conkyctl color1 "${w[5]}" "${2}"
;;
esac
#conkyctl color2_all "${accents[ $RANDOM % ${#accents[@]} ]}" "${2}"
conkyctl color2_all "${accents[ $RANDOM % ${#accents[@]} ]}" "${2}"
}
pyradio_theme() {
case "$1" in
@ -385,7 +382,7 @@ genthumb () {
mkdir -p ${THUMBDIR}
THUMB="${THUMBDIR}/${NAME}.png"
if [[ ! -f "$THUMB" ]]; then
magick ${1} -resize 270x150^ -gravity center -extent 270x150 ${THUMB}
convert ${1} -resize 270x150^ -gravity center -extent 270x150 ${THUMB}
fi
}
pin () {

View File

@ -1,10 +1,6 @@
MBG |op| MBGT |op|MBORDER|op| TBG |op| TFG |op|TBORDER|op|NORMBG |op| NFG |op| SBG |op| SFG |op|SBORDER|op| SEPFG |op|B|R|P|SS|IB|IR|A|AL|SEPHAL|GRADIENT|scheme_name
#383838|90|#222222|90|#eeeeee|90|#325a52|100|#d3d4bf|90|#579c8e|40|#383838|0|#dadada|90|#579c8e|90|#ffffff|100|#061307|60|#4f4f4f|30|0|2|8|4|0|3|||center|none|Istredd
#383838|90|#222222|90|#eeeeee|90|#325a52|100|#d3d4bf|90|#579c8e|40|#383838|100|#dadada|90|#e8cc2d|70|#0d0d0d|100|#061307|60|#4f4f4f|30|0|2|8|4|0|3|||center|right|Istredd v2
#1E1E1E|90|#262626|90|#333333|90|#383838|90|#BBBBBB|90|#222222|90|#1e1e1e|90|#9b9b9b|90|#000000|90|#FFCC66|90|#FFCC66|90|#363636|20|0|2|8|8|0|2|||center|right|Jaskier
#d3d4bf|90|#d2cda1|90|#cdc76d|90|#cdc76d|90|#0c1d23|90|#c6b76b|90|#d3d4bf|90|#0c1d23|90|#e8e8dd|100|#060b0a|90|#c6b76b|90|#a29d62|20|0|2|8|8|0|2|||center|top_right|Jaskier Light
#38373c|90|#424247|90|#2a2a2c|90|#2a2a2d|90|#d0d0ce|90|#151517|90|#38373c|90|#c8c8c4|90|#59595a|90|#f8f8f8|90|#373739|90|#2a2a2c|20|0|2|8|8|0|2|||center|bottom_left|GreyBird Dark
#ececea|90|#e0e0de|90|#d0d0ce|90|#d0d0ce|90|#1e1e20|90|#c0c0be|90|#e0e0de|90|#1e1e20|90|#b0b0af|90|#151517|90|#c0c0be|90|#b0b0af|20|0|2|8|8|0|2|||center|bottom_left|GreyBird Light
#2f343f|100|#2f343f|100|#4C566A|100|#3B4252|100|#ffffff|100|#2f343f|100|#2f343f|0|#a8adb5|100|#3B4252|100|#A3BE8C|100|#A3BE8C|20|#4C566A|20|12|8|24|8|0|2|||center|top_right|Nordic
#103C48|100|#184956|90|#eeeeee|90|#2D5B69|100|#CAD8D9|90|#103C48|100|#383838|0|#ADBCBC|90|#DBB32D|100|#103C48|100|#061307|60|#4f4f4f|30|0|2|8|4|0|3|||center|none|Selenized-Dark
#252525|100|#181818|90|#184956|90|#181818|100|#b2b2b2|90|#252525|100|#181818|0|#c0c0c0|90|#70B433|70|#ffffff|100|#70B433|90|#1d3036|30|0|2|8|4|1|3|||center|none|Selenized-Black
MBG | MBGT |MBORDER| TBG | TFG |TBORDER|NORMBG | NFG | SBG | SFG |SBORDER| SEPFG |GRADIENT|scheme_name
#383838|#222222|#eeeeee|#325a52|#d3d4bf|#579c8e|#2b303b|#dadada|#579c8e|#ffffff|#579c8e|#4f4f4f|none|Istredd
#1E1E1E|#262626|#333333|#383838|#BBBBBB|#222222|#1e1e1e|#9b9b9b|#000000|#FFCC66|#FFCC66|#363636|right|Jaskier
#d3d4bf|#d2cda1|#cdc76d|#cdc76d|#0c1d23|#c6b76b|#d3d4bf|#0c1d23|#a29d62|#060b0a|#c6b76b|#a29d62|top_right|Jaskier Light
#38373c|#424247|#2a2a2c|#2a2a2d|#d0d0ce|#151517|#2b303b|#c8c8c4|#59595a|#f8f8f8|#373739|#2a2a2c|bottom_left|GreyBird Dark
#ececea|#e0e0de|#d0d0ce|#d0d0ce|#1e1e20|#c0c0be|#2b303b|#1e1e20|#b0b0af|#151517|#c0c0be|#b0b0af|bottom_left|GreyBird Light

1 MBG op MBGT MBORDER op TBG TFG op TBORDER NORMBG op NFG SBG op SFG SBORDER op SEPFG GRADIENT op scheme_name op op op op SEPFG op B R P SS IB IR A AL SEPHAL
2 #383838 90 #222222 #eeeeee 90 #325a52 #d3d4bf 90 #579c8e #383838 #2b303b 100 #dadada #579c8e 90 #ffffff #061307 #579c8e 40 #4f4f4f none 0 Istredd 90 90 100 60 #4f4f4f 30 0 2 8 4 0 3 center
3 #383838 #1E1E1E 90 #222222 #262626 #eeeeee #333333 90 #325a52 #383838 #d3d4bf #BBBBBB 90 #579c8e #222222 #383838 #1e1e1e 100 #dadada #9b9b9b #e8cc2d #000000 90 #0d0d0d #FFCC66 #061307 #FFCC66 40 #363636 right 100 Istredd v2 Jaskier 90 70 100 60 #4f4f4f 30 0 2 8 4 0 3 center
4 #1E1E1E #d3d4bf 90 #262626 #d2cda1 #333333 #cdc76d 90 #383838 #cdc76d #BBBBBB #0c1d23 90 #222222 #c6b76b #1e1e1e #d3d4bf 90 #9b9b9b #0c1d23 #000000 #a29d62 90 #FFCC66 #060b0a #FFCC66 #c6b76b 90 #a29d62 right top_right 90 Jaskier Jaskier Light 90 90 90 90 #363636 20 0 2 8 8 0 2   center
5 #d3d4bf #38373c 90 #d2cda1 #424247 #cdc76d #2a2a2c 90 #cdc76d #2a2a2d #0c1d23 #d0d0ce 90 #c6b76b #151517 #d3d4bf #2b303b 90 #0c1d23 #c8c8c4 #e8e8dd #59595a 90 #060b0a #f8f8f8 #c6b76b #373739 90 #2a2a2c top_right bottom_left 90 Jaskier Light GreyBird Dark 90 100 90 90 #a29d62 20 0 2 8 8 0 2 center
6 #38373c #ececea 90 #424247 #e0e0de #2a2a2c #d0d0ce 90 #2a2a2d #d0d0ce #d0d0ce #1e1e20 90 #151517 #c0c0be #38373c #2b303b 90 #c8c8c4 #1e1e20 #59595a #b0b0af 90 #f8f8f8 #151517 #373739 #c0c0be 90 #b0b0af bottom_left 90 GreyBird Dark GreyBird Light 90 90 90 90 #2a2a2c 20 0 2 8 8 0 2 center
#ececea 90 #e0e0de #d0d0ce 90 #d0d0ce #1e1e20 90 #c0c0be #e0e0de 90 #1e1e20 #b0b0af 90 #151517 #c0c0be 90 bottom_left 90 GreyBird Light 90 90 90 90 #b0b0af 20 0 2 8 8 0 2 center
#2f343f 100 #2f343f #4C566A 100 #3B4252 #ffffff 100 #2f343f #2f343f 100 #a8adb5 #3B4252 100 #A3BE8C #A3BE8C 100 top_right 0 Nordic 100 100 100 20 #4C566A 20 12 8 24 8 0 2 center
#103C48 100 #184956 #eeeeee 90 #2D5B69 #CAD8D9 90 #103C48 #383838 100 #ADBCBC #DBB32D 90 #103C48 #061307 100 none 0 Selenized-Dark 90 100 100 60 #4f4f4f 30 0 2 8 4 0 3 center
#252525 100 #181818 #184956 90 #181818 #b2b2b2 90 #252525 #181818 100 #c0c0c0 #70B433 90 #ffffff #70B433 100 none 0 Selenized-Black 90 70 100 90 #1d3036 30 0 2 8 4 1 3 center

View File

@ -5,7 +5,3 @@
#D9D9D9|#B6B6B6|#0F0F0F|#BDBBB9|#D9D9D9|#B4B4B4|#656565|#BFBCBB|vertical|left|2|2|1|0|raised|bold|11|Ubuntu Bold|NLIMC|Bold|Normal|Light Grey
#CE5C00|#9b4600|#E5E5E5|#CE5C00|#D3D7CF|#B4B4B4|#656565|#BFBCBB|mirrorhorizontal|center|2|2|1|0|raised|dots|11|Noto Sans|NLIMC|Normal|Normal|Orange
#F7941E|#004E8F|#E5E5E5|#F7941E|#4a2c09|#00172b|#656565|#4a2c09|mirrorhorizontal|center|4|4|1|0|raised|big-14|13|Ubuntu|NLIMC|Normal|Normal|Sky and Sea
#bda9a9|#D3C6C6|#222222|#EBDCDD|#D2C6C5|#D2C6C5|#837B7C|#D2C6C5|mirrorhorizontal|center|4|4|0|6|sunken|bold|11|Ubuntu|LIMC|Bold|Normal|BL Boron Light
#765BAB|#5e478c|#FFFFFF|#242424|#373737|#1e1e1e|#9A9A9A|#373737|solid|center|2|2|4|1|flat|tiny|10|Cantarell|NDSLIMC|Normal|Normal|Lean
#0395E2|#02669c|#E5E5E5|#0395E2|#201d29|#09080b|#898989|#201d29|splitvertical|center|4|4|3|1|flat|bold|11|Ubuntu|NLIMC|Bold|Normal|Split Blue
#393c47|#75443b|#E5E5E5|#393c47|#201d29|#09080b|#898989|#201d29|mirrorhorizontal|center|2|2|4|4|flat|tiny|8|Ubuntu|NLIMC|Bold|Normal|MirrHor Brown

1 ABG ABGTO AFG ALINE NBG NBGTO NFG NLINE GRAD TXTJUST PHEIGHT PWIDTH HANDLE BORD BEVEL BUTTONS FSIZE FNAME NDSLIMC WEIGHT SLANT scheme_name
5 #D9D9D9 #B6B6B6 #0F0F0F #BDBBB9 #D9D9D9 #B4B4B4 #656565 #BFBCBB vertical left 2 2 1 0 raised bold 11 Ubuntu Bold NLIMC Bold Normal Light Grey
6 #CE5C00 #9b4600 #E5E5E5 #CE5C00 #D3D7CF #B4B4B4 #656565 #BFBCBB mirrorhorizontal center 2 2 1 0 raised dots 11 Noto Sans NLIMC Normal Normal Orange
7 #F7941E #004E8F #E5E5E5 #F7941E #4a2c09 #00172b #656565 #4a2c09 mirrorhorizontal center 4 4 1 0 raised big-14 13 Ubuntu NLIMC Normal Normal Sky and Sea
#bda9a9 #D3C6C6 #222222 #EBDCDD #D2C6C5 #D2C6C5 #837B7C #D2C6C5 mirrorhorizontal center 4 4 0 6 sunken bold 11 Ubuntu LIMC Bold Normal BL Boron Light
#765BAB #5e478c #FFFFFF #242424 #373737 #1e1e1e #9A9A9A #373737 solid center 2 2 4 1 flat tiny 10 Cantarell NDSLIMC Normal Normal Lean
#0395E2 #02669c #E5E5E5 #0395E2 #201d29 #09080b #898989 #201d29 splitvertical center 4 4 3 1 flat bold 11 Ubuntu NLIMC Bold Normal Split Blue
#393c47 #75443b #E5E5E5 #393c47 #201d29 #09080b #898989 #201d29 mirrorhorizontal center 2 2 4 4 flat tiny 8 Ubuntu NLIMC Bold Normal MirrHor Brown

View File

@ -14,7 +14,7 @@ color: #999999;
font-size: 1.6vw !important;
font-family: 'Symbols', sans-serif;
}
.dark{background-color:#191919;}
.dark{background-color:#292929;}
div.fixed {
position: fixed;
top: 4px;
@ -27,32 +27,23 @@ div.fixeddown {
left:0;
width:20%;
}
nav button.tablink {padding:3px 8px !important;width:94%;float:right;text-align:left;border-left:4px solid transparent;}
nav button.tablink:hover {background-color:#444444 !important;color:white !important;border-left:4px solid #222222;}
nav button.bg {background-color:#222222;color:white !important;border-left:4px solid #34BE5B !important;border-radius:4px 0 0 4px;}
hr {margin:0;border: 0;height: 1px;background-image: linear-gradient(to right, rgba(105, 105, 105, 0), rgba(105, 105, 105, 0.75), rgba(105, 105, 105, 0));}
div.fixed .bar-item {margin-right:4px; border-radius:4px;}
.third {padding: 0.01em 4px;}
.button {position:relative;}
.button .right {position:absolute; top:0; right:6px;}
main div.dark .button{min-width:8vw;border-radius:2px;}
section.tab {padding-top: 0;}
section#Colorizer {padding-top: 0.01em;}
#logoheader {padding:16px 0 12px 0;background-color:#111111;border-bottom:1px solid #444444;}
#logo {width:8vw;height:8vw;}
div.fixeddown p {margin:0;}
p#links a {text-decoration:none;margin:0 4px;font-size:2.4vw !important;}
#links {background-color:#111111;border-top:1px solid #444444;}
div.fixeddown p.black a {text-decoration:none;margin:0 4px;}
.logo {cursor:pointer;width:6vw;height:6vw;}
.link {cursor:pointer;}
.bar-block .btn {width: 100px;text-align:center;}
.bar-block .btn:hover {background-color:white;color:gray;}
.dropdown-content {min-width: 20px;}
a.tag {text-decoration:none; border:none;margin-bottom: 4px;border-radius:3px; padding:1px 6px;filter: brightness(0.8);}
a.tag:hover {text-decoration:none; border:none;margin-bottom: 4px;filter: brightness(1);}
.colors a.tag {border-radius:0;border:1px solid #333333;filter: brightness(1);}
.colors a.tag:hover {border:1px solid #EEEEEE;}
.attribs a.tag {margin-left:0;margin-right:1px;border:none;border-radius:0;filter: brightness(0.8);}
.attribs a.tag:hover {margin-left:0; margin-right:1px;border:none;border-radius:0;filter: brightness(1);}
a.tag {color: transparent; border:1px solid #666666; margin-bottom:4px;}
a.tag:hover {color: transparent; border:1px solid #EEEEEE;margin-bottom:4px;}
p a.tag {text-decoration:none; border:none;margin-bottom: 4px;border-radius:3px; padding:1px 6px;}
p a.tag:hover {text-decoration:none; border:none;margin-bottom: 4px;filter: brightness(0.8);}
kbd {
background-color: #eee;
border-radius: 3px;
@ -66,6 +57,7 @@ kbd {
padding: 2px 4px;
white-space: nowrap;
}
nav button.bar-item {padding:3px 12px !important;}
.small {font-size: 1.5vw !important;}
.tiny {font-size: 1.25vw !important;}
h2 {font-size: 3vw !important;}
@ -73,73 +65,28 @@ h3 {font-size: 2.4vw !important;}
h4 {font-size: 2.2vw !important;}
h5 {font-size: 2vw !important;border-bottom: 1px solid;padding-left: 1em;}
.large {width:3.2vw !important;height:2.4vw !important;font-size: 2.4vw !important;}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(8em, 1fr));
grid-gap: .5em;
}
.grid + .grid {
margin-top: .5em;
}
.grid div {
border: 0 solid currentcolor;
border-radius: 4px;
/**min-height: 15vh;**/
padding: 1em;
/**color: #0178d4;
background-color:#191919;**/
font-size: 1em;
text-align: center;
/**display: flex;
flex-direction: column;**/
justify-content: center;
}
.grid div.i{background-color:#191919;padding: 6px 2px 2px 2px;}
.grid div.i a{text-decoration:none;margin-top:4px;}
.grid div.i a.light-gray{border-radius: 4px 0 0 4px;}
.grid div.i a.dark-gray{border-radius: 0 4px 4px 0;}
.gi2 {grid-column: span 2;}
.gi3 {grid-column: span 3;}
.gi4 {grid-column: span 4;}
.gi5 {grid-column: span 5;}
.gi22 {
grid-column: span 2;
grid-row: span 2;
}
.gi2r{grid-row: span 2;}
.gi3r{grid-row: span 3;}
.gi4r{grid-row: span 4;}
p.black a {font-size:2.4vw !important;}
</style>
<body>
<div class="sidebar bar-block" style="background-color:#333333;width:20%">
<div class="center" id="logoheader">
<svg id="logo" viewBox="0 0 128 128">
<polygon points="4,4 58,4 58,58 4,58" style="fill:#674EA7;stroke:white;stroke-width:4;fill-rule:nonzero;"/>
<polygon points="68,4 124,4 124,58 68,58" style="fill:#34BE5B;stroke:white;stroke-width:4;fill-rule:nonzero;"/>
<polygon points="4,68 58,68 58,124 4,124" style="fill:#FF8C00;stroke:white;stroke-width:4;fill-rule:nonzero;"/>
<polygon points="68,68 124,68 124,124 68,124" style="fill:#5e81ac;stroke:white;stroke-width:4;fill-rule:nonzero;"/>
</svg><br />
<span class="small">Colorizer</span>
</div>
<nav style="padding-top:8px;">
<button class="button small tablink bg" onclick="openTab(event, 'Colorizer')">Start</button>
<button class="button small tablink" onclick="openTab(event, 'Openbox')">Openbox Theme</button>
<button class="button small tablink" onclick="openTab(event, 'Jgmenu')">Menu/Sidepanels</button>
<button class="button small tablink" onclick="openTab(event, 'Conky')">Conky</button>
<button class="button small tablink" onclick="openTab(event, 'fonts')">Fonts, Icons, GTK theme</i></button>
<button class="button small tablink" onclick="openTab(event, 'Tint2')">Tint2 Panel</button>
<button class="button small tablink" onclick="openTab(event, 'Wall2theme')">Wallpaper  themes</button>
<button class="button small tablink" onclick="openTab(event, 'pyradiocava')"><i>Cava, PyRadio</i></button>
<button class="button small tablink" onclick="openTab(event, 'Terminal')">Terminal theme</button>
<button class="button small tablink" onclick="openTab(event, 'Save')">Save and Restore</button>
<div class="sidebar bar-block dark-grey card" style="width:20%">
<div class="center" style="margin:8px;"><img src="./img/colorizer.png" class="logo" title="Colorizer" onclick="openTab(event, 'Colorizer')"></div>
<nav>
<button class="bar-item button small tablink" onclick="openTab(event, 'Colorizer')">Colorizer</button>
<button class="bar-item button small tablink" onclick="openTab(event, 'Openbox')">Openbox Theme</button>
<button class="bar-item button small tablink" onclick="openTab(event, 'Conky')">Conky</button>
<button class="bar-item button small tablink" onclick="openTab(event, 'Jgmenu')">Menu/Sidepanels</button>
<button class="bar-item button small tablink" onclick="openTab(event, 'Tint2')">Tint2 Panel</button>
<button class="bar-item button small tablink" onclick="openTab(event, 'Wall2theme')">Wallpaper  themes</button>
<button class="bar-item button small tablink" onclick="openTab(event, 'pyradiocava')"><i>Cava, PyRadio</i></button>
<button class="bar-item button small tablink" onclick="openTab(event, 'fonts')">Fonts</i></button>
<button class="bar-item button small tablink" onclick="openTab(event, 'Terminal')">Terminal theme</button>
<button class="bar-item button small tablink" onclick="openTab(event, 'Save')">Save and Restore</button>
</nav>
<div class="fixeddown">
<div class="center small" style="margin: 0 4px 4px 2px;">
<p><a class="tag small indigo" href="run://jgwallpaperchanger -s"> Wallpaper...</a> <a class="tag small indigo" href="run://mbwallpaper -o"></a></p>
<p><em>dynamic menus:</em></p>
<p><a class="tag small indigo" href="run://pcmanwp"> Wallpaper...</a> <a class="tag small indigo" href="run://mbwallpaper -o"></a></p>
<p><em>Advanced<br />(dynamic menus)</em></p>
<p>
<a class="tag small purple" href="run://colorizer -s"> Colorizer</a><br />
<a class="tag small amber" href="run://colorizer-ob -s"> Openbox</a>
@ -150,11 +97,11 @@ h5 {font-size: 2vw !important;border-bottom: 1px solid;padding-left: 1em;}
<a class="tag small lime" href="run://colorizer-pyradio -s"> PyRadio</a>
</p>
</div>
<p id="links" class="center black">
<a href="https://maboxlinux.org" class="tooltip"><span class="text tag small round" style="position:absolute;left:-10px;bottom:26px">Mabox Website</span></a>
<a href="https://forum.maboxlinux.org" class="tooltip"><span class="text tag small round" style="position:absolute;left:-10px;bottom:26px">Community Forum</span></a>
<a href="https://manual.maboxlinux.org/en" class="tooltip"><span class="text tag small round" style="position:absolute;left:-10px;bottom:26px">Manual</span></a>
<a href="https://ko-fi.com/maboxlinux" class="tooltip"><span style="color:red"></span><span class="text tag small round" style="position:absolute;left:-10px;bottom:26px">Donate</span></a>
<p class="center black">
<a href="https://maboxlinux.org" class="tooltip"><span class="text tag small round" style="position:absolute;left:-10px;bottom:22px">Mabox Website</span></a>
<a href="https://forum.maboxlinux.org" class="tooltip"><span class="text tag small round" style="position:absolute;left:-10px;bottom:22px">Community Forum</span></a>
<a href="https://manual.maboxlinux.org/en" class="tooltip"><span class="text tag small round" style="position:absolute;left:-10px;bottom:22px">Manual</span></a>
<a href="https://ko-fi.com/maboxlinux" class="tooltip"><span style="color:red"></span><span class="text tag small round" style="position:absolute;left:-10px;bottom:22px">Donate</span></a>
</p>
</div>
</div>
@ -210,46 +157,36 @@ h5 {font-size: 2vw !important;border-bottom: 1px solid;padding-left: 1em;}
</div>
</section>
<section id="Openbox" class="container tab" style="display:none;min-height:100vh;">
<main class="grid">
<div class="gi4 gi4r left-align"><h2>Openbox window decoration</h2>
<div class="row">
<div class="twothird">
<h2>Openbox theme</h2>
<p>The Openbox module allows you to easily customize the appearance of window decorations.</p>
<p>It works only with special theme - <strong>MBcolors</strong> <a class="tag round green tiny" href="run://obtctl theme MBcolors">switch to MBcolors</a></p>
<p><hr /></p>
<div class="pale-green leftbar border-green">
If you need a full set of options, precise color tuning and gradients - use the advanced dynamic menu<br />
<a class="button amber" href="run://colorizer-ob -s"> Openbox</a>
</div>
<p><hr /></p>
<strong>Size</strong> <em>presets</em><br />
<a class="tag small amber" href="run://obtctl tweak tiny">tiny</a>
<a class="tag small green" href="run://obtctl tweak small">small</a>
<a class="tag small pale-red" href="run://obtctl tweak normal">normal</a>
<a class="tag small green" href="run://obtctl tweak big">big</a>
<a class="tag small amber" href="run://obtctl tweak large">large</a>
<p>It works only with special theme - <strong>MBcolors</strong> <a class="tag round green tiny" href="run://obtctl theme MBcolors">switch to</a> <a class="tag round green tiny" href="run://obtctl resetMBcolors">Reset MBcolors</a></p>
<br />
<p>You can change most of basic settings directly from this help screen.</p>
</div>
<div class="third padding-16">
<div class="card padding-small dark-grey"><span class="right xlarge"></span>
<p><strong>Set window decoration</strong></p>
<div class="bar-block grey">
<a class="button bar-item tiny" href="run://randomizer ob"><span class="right large"></span>Random</a>
</div>
<div class="bar-block grey" style="margin-top:1px;">
<a class="button bar-item tiny" href="run://w2theme ob dark show"><span class="right large"></span>Dark <em>(from wallpaper)</em></a>
</div>
<div class="bar-block grey" style="margin-top:1px;">
<a class="button bar-item tiny" href="run://w2theme ob light show"><span class="right large"></span>Light <em>(from wallpaper)</em></a>
</div>
<div class="bar-block grey" style="margin-top:1px;">
<a class="button bar-item tiny hover-green" href="run://colorizer-ob -s"><span class="right large"></span> Customize...</a>
</div>
<div class="bar-block grey" style="margin-top:1px;">
<a class="button bar-item tiny hover-red" href="run://obtctl resetMBcolors"><span class="right large"></span>Reset</a>
</div>
</div>
</div>
</div>
</div>
<div class="gi2 dark"><span>Generate themes...</span></div>
<div class="gi2 dark"><strong>Monochrome</strong><br /><em>pick color from screen</em><br />
<a class="button padding-small dark-grey" href="run://obtctl mono pick dark"><span class="large"></span><br />Dark</a>
<a class="button padding-small grey" href="run://obtctl mono pick light"><span class="large"></span><br />Light</a>
<br />
</div>
<div class="gi2 dark"><strong>Wallpaper colors</strong><br /><em>choose variant</em><br />
<a class="button padding-small dark-grey" href="run://w2theme ob dark show"><span class="large"></span><br />Dark</a>
<a class="button padding-small grey" href="run://w2theme ob light show"><span class="large"></span><br />Light</a>
</div>
<div class="dark">
<a class="button padding-small amber" href="run://randomizer ob"><span class="large"></span><br />Random</a>
</div>
<div class="dark">
<a class="button padding-small teal hover-red" href="run://obtctl resetMBcolors"><span class="large"></span><br /> Reset </a>
</div>
</main>
<p><hr /></p>
<div class="show-inline-block">
<div class="bar border round dark-grey">
<div class="dropdown-hover">
@ -317,7 +254,7 @@ If you need a full set of options, precise color tuning and gradients - use the
</div>
</div>
<div class="panel panel display-container">Window title
<div class="display-topright medium colors"><span class="tiny">font color:</span>
<div class="display-topright medium"><span class="tiny">font color:</span>
<a class="tag " style="background-color:#FFFFFF" href="run://obtctl activetextcolor #FFFFFF">&nbsp;&nbsp;</a>
<a class="tag " style="background-color:#BBBBBB" href="run://obtctl activetextcolor #BBBBBB">&nbsp;&nbsp;</a>
<a class="tag " style="background-color:#60a917" href="run://obtctl activetextcolor #60a917">&nbsp;&nbsp;</a>
@ -383,7 +320,7 @@ If you need a full set of options, precise color tuning and gradients - use the
<div class="col m5 black round">
<p class="center">Title bar color</p>
<p class="center">for active window</p>
<div class="center padding colors">
<div class="center padding">
<a class="tag large" style="background-color:#DDDDDD" href="run://obtctl clractivebg #DDDDDD">&nbsp;&nbsp;</a>
<a class="tag large" style="background-color:#a4c400" href="run://obtctl clractivebg #a4c400">&nbsp;&nbsp;</a>
<a class="tag large" style="background-color:#60a917" href="run://obtctl clractivebg #60a917">&nbsp;&nbsp;</a>
@ -428,93 +365,50 @@ If you need a full set of options, precise color tuning and gradients - use the
</div>
</div>
<p></p>
<p>For much more options, fine-tunning and colors choices launch <a class="tag round green small hover-yellow" href="run://colorizer-ob -s"> OBtheme menu</a></p>
</section>
<section id="Jgmenu" class="container tab" style="display:none;min-height:100vh">
<main class="grid">
<div class="gi4 gi4r left-align"><h2>Menu / Side panels</h2>
<div class="row">
<div class="twothird">
<h2>Menu / Side panels</h2>
<p>Menu / Side panels and numerous Mabox tools were created based on jgmenu. You can easily adapt them to your needs - both <strong>appearance</strong> and <strong>functionality</strong></p>
<br />
<p><hr /></p>
<div class="pale-red leftbar border-red">
After each change, the menu will be shown.<br />
Use <kbd>Esc</kbd> or click outside the menu to close it!
<h4>Global Settings</h4>
<p>Border, inner margin, rounding, submenu spacing and fonts are global settings - independent of the color theme used. You can change it <a class="tag round green small hover-yellow" href="run://jgmenusettings-pipe -s"> here</a></p>
</div>
<div class="third padding-16">
<div class="card padding-small blue-gray"><span class="right xlarge"></span>
<p><strong>Set menu theme...</strong></p>
<div class="bar-block grey">
<a class="button bar-item tiny" href="run://randomizer menu show"><span class="right large"></span> Random</a>
</div>
<div class="bar-block grey" style="margin-top:1px;">
<a class="button bar-item tiny" href="run://w2theme menu dark show"><span class="right large"></span>Dark <em>(from wallpaper)</em></a>
</div>
<div class="bar-block grey" style="margin-top:1px;">
<a class="button bar-item tiny" href="run://w2theme menu light show"><span class="right large"></span>Light <em>(from wallpaper)</em></a>
</div>
<div class="bar-block grey" style="margin-top:1px;">
<a class="button bar-item tiny hover-green" href="run://colorizer-menus -s"><span class="right large"></span> Customize...</a>
</div>
<div class="bar-block grey" style="margin-top:1px;">
<a class="button bar-item tiny hover-red" href="run://jgctl resetMBcolors show"><span class="right large"></span>Reset</a>
</div>
</div>
<p><hr /></p>
<div class="pale-green leftbar border-green">
If you need a full set of options, precise color tuning and transparency - use the advanced dynamic menu<br />
<a class="button small amber" href="run://colorizer-menus -s"> Menu</a>
</div>
</div>
<div class="gi2 dark"><span>Generate themes...</span></div>
<div class="gi2 dark"><strong>Monochrome</strong><br /><em>pick color from screen</em><br />
<a class="button padding-small dark-grey" href="run://jgctl mono pick dark"><span class="large"></span><br />Dark</a>
<a class="button padding-small grey" href="run://jgctl mono pick light"><span class="large"></span><br />Light</a>
<br />
</div>
<div class="gi2 dark"><strong>Wallpaper colors</strong><br /><em>choose variant</em><br />
<a class="button padding-small dark-grey" href="run://w2theme menu dark show"><span class="large"></span><br />Dark</a>
<a class="button padding-small grey" href="run://w2theme menu light show"><span class="large"></span><br />Light</a>
</div>
<div class="dark">
<a class="button padding-small amber" href="run://randomizer menu show"><span class="large"></span><br />Random</a>
</div>
<div class="dark">
<a class="button padding-small teal hover-red" href="run://jgctl resetMBcolors show"><span class="large"></span><br /> Reset </a>
</div>
</main>
<p><hr /></p>
<main class="grid" style="grid-template-columns: auto auto auto;">
<div class="dark"><strong>Menu size</strong> <em>presets</em><br />
<a class="tag small amber" href="run://jgctl tweak sizing tight menu">tight</a>
<a class="tag small pale-red" href="run://jgctl tweak sizing normal menu">normal</a>
<a class="tag small green" href="run://jgctl tweak sizing wide menu">wide</a>
</div>
<div class="gi2 gi2r attribs dark">
<strong>Padding</strong>
<p>
<a class="tag dark-grey" href="run://jgctl padding 0">0</a><a class="tag dark-grey" href="run://jgctl padding 1">1</a><a class="tag dark-grey" href="run://jgctl padding 2">2</a><a class="tag dark-grey" href="run://jgctl padding 3">3</a><a class="tag dark-grey" href="run://jgctl padding 4">4</a><a class="tag dark-grey" href="run://jgctl padding 6">6</a><a class="tag dark-grey" href="run://jgctl padding 8">8</a><a class="tag dark-grey" href="run://jgctl padding 12">12</a><a class="tag dark-grey" href="run://jgctl padding 16">16</a><a class="tag dark-grey" href="run://jgctl padding 20">20</a>
</p>
<hr />
<strong>Menu Border</strong>
<p><a class="tag dark-grey" href="run://jgctl border 0">0</a><a class="tag dark-grey" href="run://jgctl border 1">1</a><a class="tag dark-grey" href="run://jgctl border 2">2</a><a class="tag dark-grey" href="run://jgctl border 3">3</a><a class="tag dark-grey" href="run://jgctl border 4">4</a><a class="tag dark-grey" href="run://jgctl border 6">6</a><a class="tag dark-grey" href="run://jgctl border 8">8</a><a class="tag dark-grey" href="run://jgctl border 12">12</a>
</p>
<hr />
<strong>Submenu spacing</strong>
<p><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=-20">-20</a><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=-16">-16</a><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=-10">-10</a><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=-6">-6</a><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=-2">-2</a><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=0">0</a><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=1">1</a><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=2">2</a><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=4">4</a><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=8">8</a><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=12">12</a><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=16">16</a><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=20">20</a></p>
<hr />
<strong>Item height</strong>
<p><a class="tag dark-grey" href="menu://mb-setvar item_height_factor=160">80%</a><a class="tag dark-grey" href="menu://mb-setvar item_height_factor=180">90%</a><a class="tag dark-grey" href="menu://mb-setvar item_height_factor=200">100%</a><a class="tag dark-grey" href="menu://mb-setvar item_height_factor=220">110%</a><a class="tag dark-grey" href="menu://mb-setvar item_height_factor=240">120%</a><a class="tag dark-grey" href="menu://mb-setvar item_height_factor=280">140%</a></p>
</div>
<div class="dark">
<a class="tag small purple" href="run://mb-jgtools main ipc"> Main menu</a> settings<br />
<p class="dark-gray"><kbd>Super</kbd> key, <i>left-click</i> on desktop or from Mabox icon in panel</p>
<p class="left-align">
<a class="tag small purple" href="run://jgctl t_search_field"></a> Search field<br />
<a class="tag small purple" href="run://jgctl t_apps_in_submenu"></a> Apps in rootmenu (or submenu)
<a class="tag small purple" href="run://jgctl t_icons"></a> Icons<br />
</p>
<hr />
<strong>Edit commands</strong>
<p>
<a class="tag small amber" href="config://.config/mabox/favorites.csv"> on top (Favorites)</a>
<a class="tag small amber" href="config://.config/mabox/mainmenu_below_apps.csv"> on bottom</a><br /></p>
</div>
</main>
</section>
<section id="Conky" class="container tab" style="display:none;min-height:100vh;">
<main class="grid">
<div class="gi4 gi4r left-align"><h2>Conky</h2>
<div class="row">
<div class="twothird">
<h2>Conky</h2>
<p>Mabox provides several Conky configurations. <i>click names below to toggle</i></p>
<p class="center">
System Info<br />
@ -536,30 +430,31 @@ If you need a full set of options, precise color tuning and transparency - use t
<a class="tag small teal" href="run://conkyctl toggleone quoter_">Quotes</a>
<a class="tag small teal" href="run://conkyctl toggleone logo_">Logo</a>
</p>
<p><hr /></p>
<div class="pale-green leftbar border-green">
For more options use dynamic menu <a class="button amber" href="run://colorizer-conky -s"> Conky Manager & Colorizer</a>
</div>
</div>
<div class="gi2 dark"><span>Generate themes...</span></div>
<div class="gi2 dark"><strong>Monochrome</strong><br /><em>pick color from screen</em><br />
<a class="button padding-small dark-grey" href="run://conkyctl mono pick dark"><span class="large"></span><br />Dark</a>
<a class="button padding-small grey" href="run://conkyctl mono pick light"><span class="large"></span><br />Light</a>
<br />
</div>
<div class="gi2 dark"><strong>Wallpaper colors</strong><br /><em>choose variant</em><br />
<a class="button padding-small dark-grey" href="run://w2theme conky dark show"><span class="large"></span><br />Dark</a>
<a class="button padding-small grey" href="run://w2theme conky light show"><span class="large"></span><br />Light</a>
</div>
<div class="dark">
<a class="button padding-small amber" href="run://randomizer conky"><span class="large"></span><br />Random</a>
</div>
<div class="dark">
<a class="button padding-small teal hover-red" href="run://conkyctl resetcolorsall"><span class="large"></span><br /> Reset </a>
</div>
</main>
<p><hr /></p>
</div>
<div class="third padding-16">
<div class="card padding-small brown"><span class="right xlarge"></span>
<p><strong>Set Conky colorscheme...</strong></p>
<div class="bar-block grey">
<a class="button bar-item tiny" href="run://randomizer conky"><span class="right large"></span>Random</a>
</div>
<div class="bar-block grey" style="margin-top:1px;">
<a class="button bar-item tiny" href="run://w2theme conky dark"><span class="right large"></span>Dark <em>(from wallpaper)</em></a>
</div>
<div class="bar-block grey" style="margin-top:1px;">
<a class="button bar-item tiny" href="run://w2theme conky light"><span class="right large"></span>Light<em>(from wallpaper)</em></a>
</div>
<div class="bar-block grey" style="margin-top:1px;">
<a class="button bar-item tiny hover-green" href="run://colorizer-conky -s"><span class="right large"></span>Customize...</a>
</div>
<div class="bar-block grey" style="margin-top:1px;">
<a class="button bar-item tiny hover-red" href="run://conkyctl resetcolorsall"><span class="right large"></span>Reset</a>
</div>
</div>
</div>
</div>
<p>Conky in Mabox has been equipped with additional powers not available in any other Linux distribution!</p>
<h5>Easy on screen arranging</h5>
<p>
@ -581,7 +476,7 @@ If you need a full set of options, precise color tuning and transparency - use t
<p>If only one command is defined, Conky will act like a launcher (icon) - firing up command immediately after left click.
If you add more commands, a menu will be shown.</p>
<p><a class="tag small teal" href="run://conkyctl toggleone sysinfo_mbcolor">Default</a> and <a class="tag small teal" href="run://conkyctl toggleone logo_">Logo</a> Conky already have predefined commands, left-click on them to see this feature in action.</p>
<p><a class="tag small teal" href="run://conkyctl toggleone sysinfo_mbcolor">Default</a> and <a class="tag small teal" href="run://conkyctl toggleone logo_">Logo</a> Conky already have predefined commands, so left-click on them to see this feature in action.</p>
<p>Syntax for adding commands is very simple, see blog post: <a href="https://blog.maboxlinux.org/how-to-add-custom-commands-to-menu-and-sidepanels/">How to add custom commands to Menu and SidePanels</a></p>
<h5>Tips</h5>
@ -678,120 +573,14 @@ If you add more commands, a menu will be shown.</p>
<a class="tag small amber" href="config://.config/mabox/wallp_dirs.conf"> Configure directories</a></p>
</section>
<section id="fonts" class="container tab" style="display:none;min-height:100vh">
<div class="fixed">
<div class="bar">
<a class="button bar-item small grey hover-amber right" href="run://colorizer-fonts -s"> Fonts - dynamic menu</a>
</div>
</div>
<h2>Fonts</h2>
<p>Use dynamic menu <a class="tag small amber" href="run://colorizer-fonts -s"> Fonts</a> to set fonts for GTK, Conky and Menu/Panels.</p>
<div class="grid">
<div class="g1 dark">
<a class="button amber" href="run://colorizer-fonts -s"><span class="large"></span><br />Configure Fonts</a>
</div>
<div class="g1 dark">
<a class="button amber" href="run://lxappearance"><span class="large"></span><br />GTK Theme and Icons</a>
</div>
</div>
<br /><hr /><br />
<div class="grid">
<div class="i">Adwaita<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-adwaita.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-adwaita-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor adwaita">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor adwaita -d">dark</a></div>
<div class="gi5"><h3>Papirus Folder Icons</h3><hr />Generate and apply colorized folder icons for Papirus. Light or Dark variant.</div>
<div class="i">Black<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-black.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-black-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor black">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor black -d">dark</a></div>
<div class="i">Blue<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-blue.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-blue-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor blue">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor blue -d">dark</a></div>
<div class="i">Bluegrey<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-bluegrey.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-bluegrey-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor bluegrey">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor bluegrey -d">dark</a></div>
<div class="i">Breeze<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-breeze.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-breeze-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor breeze">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor breeze -d">dark</a></div>
<div class="i">Brown<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-brown.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-brown-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor brown">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor brown -d">dark</a></div>
<div class="i">Carmine<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-carmine.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-carmine-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor carmine">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor carmine -d">dark</a></div>
<div class="i">Cyan<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-cyan.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-cyan-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor cyan">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor cyan -d">dark</a></div>
<div class="i">DarkCyan<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-darkcyan.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-darkcyan-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor darkcyan">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor darkcyan -d">dark</a></div>
<div class="i">DeepOrange<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-deeporange.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-deeporange-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor deeporange">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor deeporange -d">dark</a></div>
<div class="i">Green<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-green.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-green-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor green">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor green -d">dark</a></div>
<div class="i">Grey<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-grey.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-grey-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor grey">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor grey -d">dark</a></div>
<div class="i">Indigo<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-indigo.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-indigo-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor indigo">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor indigo -d">dark</a></div>
<div class="i">Magenta<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-magenta.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-magenta-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor magenta">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor magenta -d">dark</a></div>
<div class="i">Nordic<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-nordic.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-nordic-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor nordic">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor nordic -d">dark</a></div>
<div class="i">Orange<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-orange.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-orange-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor orange">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor orange -d">dark</a></div>
<div class="i">PaleBrown<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-palebrown.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-palebrown-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor palebrown">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor palebrown -d">dark</a></div>
<div class="i">PaleOrange<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-paleorange.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-paleorange-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor paleorange">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor paleorange -d">dark</a></div>
<div class="i">Pink<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-pink.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-pink-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor pink">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor pink -d">dark</a></div>
<div class="i">Red<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-red.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-red-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor red">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor red -d">dark</a></div>
<div class="i">Teal<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-teal.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-teal-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor teal">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor teal -d">dark</a></div>
<div class="i">Violet<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-violet.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-violet-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor violet">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor violet -d">dark</a></div>
<div class="i">White<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-white.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-white-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor white">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor white -d">dark</a></div>
<div class="i">Yaru<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-yaru.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-yaru-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor yaru">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor yaru -d">dark</a></div>
<div class="i">Yellow<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-yellow.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-yellow-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor yellow">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor yellow -d">dark</a></div>
</div>
</section>
<section id="pyradiocava" class="container tab" style="display:none;min-height:100vh;">
<div class="fixed">
@ -801,14 +590,13 @@ If you add more commands, a menu will be shown.</p>
</div>
<h3>Cava - Audio Visualizer</h3>
<p><strong>Cava</strong> is a bar spectrum audio visualizer for terminal.<br />
In Mabox you can easily run Cava in a transparent* terminal - which gives an interesting effect...</p>
In Mabox you can easily run Cava in a transparent terminal - which gives an interesting effect...</p>
<p><a class="tag small amber" href="run://mb-music cavastart">󰺢 Start</a>
<a class="tag small red" href="run://mb-music cavakill"> Kill</a>
<a class="tag small green" href="run://cavactl info"> Info</a> </p>
<p>*) compositor is required for transparency, toggle <a class="tag small purple" href="run://compton_toggle"> Picom</a></p>
<div class="row-padding stretch">
<div class="third center colors">
<div class="third center">
<p><strong>Color</strong></p>
<a class="tag large" style="background-color:#DDDDDD" href="run://cavactl foreground #DDDDDD">&nbsp;&nbsp;</a>
<a class="tag large" style="background-color:#a4c400" href="run://cavactl foreground #a4c400">&nbsp;&nbsp;</a>
@ -840,7 +628,7 @@ If you add more commands, a menu will be shown.</p>
<p>&nbsp;</p>
</div>//-->
<div class="third center dark colors">
<div class="third center dark">
<p><strong>Bar width (px)</strong></p>
<p>
<a class="tag dark-gray" href="run://cavactl bar_width 1">1</a>
@ -873,15 +661,15 @@ If you add more commands, a menu will be shown.</p>
<!--<div class="col m1 center">
<p>&nbsp;</p>
</div>//-->
<div class="col m4 center colors">
<div class="col m4 center">
<p><strong>Height (px)</strong></p>
width: 100%
<p><a class="tag dark-gray" href="run://mb-music cavastart 50 full">50</a> <a class="tag dark-gray" href="run://mb-music cavastart 100 full">100</a> <a class="tag dark-gray" href="run://mb-music cavastart 200 full">200</a></p>
<p><a class="tag dark-gray" href="run://mb-music cavastart 50 full">50</a> <a class="tag dark-gray" href="run://mb-music cavastart 100 full">100</a> <a class="tag dark-gray" href="run://mb-music cavastart 2000 full">200</a></p>
width: 50%
<p><a class="tag dark-gray" href="run://mb-music cavastart 50 half">50</a> <a class="tag dark-gray" href="run://mb-music cavastart 100 half">100</a> <a class="tag dark-gray" href="run://mb-music cavastart 200 half">200</a></p>
</div>
</div>
<p>Use dynamic menu <a class="tag small orange" href="run://colorizer-cava -s">󰺢 Cava</a> to fine-tune colors, use gradients.</p>
<p>Use Colorizer <a class="tag small orange" href="run://colorizer-cava -s">󰺢 Cava module </a> to fine-tune colors, use gradients.</p>
<div class="panel dark-grey rightbar border-black border" style="margin-top:-2px;">
<p><a class="tag teal" href="run://mb-music -s">󰕾 Music & Sound</a> dynamic menu can serve as basic, lightweight music player (mpv-based) you might like to try. <i>Also available from panel's volume icon - right click</i></p>
</div>
@ -970,10 +758,10 @@ function openTab(evt, tabName) {
}
tablinks = document.getElementsByClassName("tablink");
for (i = 0; i < x.length; i++) {
tablinks[i].className = tablinks[i].className.replace(" bg", "");
tablinks[i].className = tablinks[i].className.replace(" gray", "");
}
document.getElementById(tabName).style.display = "block";
evt.currentTarget.className += " bg";
evt.currentTarget.className += " gray";
}
function myFunction() {
var input, filter, table, tr, td, i;

View File

@ -14,7 +14,8 @@ color: #999999;
font-size: 1.6vw !important;
font-family: 'Symbols', sans-serif;
}
.dark{background-color:#191919;}
.dark{background-color:#292929;}
.sidebar {font-size:2.2vw;}
div.fixed {
position: fixed;
top: 4px;
@ -27,32 +28,23 @@ div.fixeddown {
left:0;
width:20%;
}
nav button.tablink {padding:3px 8px !important;width:94%;float:right;text-align:left;border-left:4px solid transparent;}
nav button.tablink:hover {background-color:#444444 !important;color:white !important;border-left:4px solid #222222;}
nav button.bg {background-color:#222222;color:white !important;border-left:4px solid #34BE5B !important;border-radius:4px 0 0 4px;}
hr {margin:0;border: 0;height: 1px;background-image: linear-gradient(to right, rgba(105, 105, 105, 0), rgba(105, 105, 105, 0.75), rgba(105, 105, 105, 0));}
div.fixed .bar-item {margin-right:4px; border-radius:4px;}
.third {padding: 0.01em 4px;}
.button {position:relative;}
.button .right {position:absolute; top:0; right:6px;}
main div.dark .button{min-width:8vw;border-radius:2px;}
section.tab {padding-top: 0;}
section#Colorizer {padding-top: 0.01em;}
#logoheader {padding:16px 0 12px 0;background-color:#111111;border-bottom:1px solid #444444;}
#logo {width:8vw;height:8vw;}
div.fixeddown p {margin:0;}
p#links a {text-decoration:none;margin:0 4px;font-size:2.4vw !important;}
#links {background-color:#111111;border-top:1px solid #444444;}
div.fixeddown p.black a {text-decoration:none;margin:0 4px;}
.logo {cursor:pointer;width:6vw;height:6vw;}
.link {cursor:pointer;}
.bar-block .btn {width: 100px;text-align:center;}
.bar-block .btn:hover {background-color:white;color:gray;}
.dropdown-content {min-width: 20px;}
a.tag {text-decoration:none; border:none;margin-bottom: 4px;border-radius:3px; padding:1px 6px;filter: brightness(0.8);}
a.tag:hover {text-decoration:none; border:none;margin-bottom: 4px;filter: brightness(1);}
.colors a.tag {border-radius:0;border:1px solid #333333;filter: brightness(1);}
.colors a.tag:hover {border:1px solid #EEEEEE;}
.attribs a.tag {margin-left:0;margin-right:1px;border:none;border-radius:0;filter: brightness(0.8);}
.attribs a.tag:hover {margin-left:0; margin-right:1px;border:none;border-radius:0;filter: brightness(1);}
a.tag {color: transparent; border:1px solid #666666; margin-bottom:4px;}
a.tag:hover {color: transparent; border:1px solid #EEEEEE;margin-bottom:4px;}
p a.tag {text-decoration:none; border:none;margin-bottom: 4px;border-radius:3px;padding: 1px 6px;}
p a.tag:hover {text-decoration:none; border:none;margin-bottom: 4px;filter: brightness(0.8);}
kbd {
background-color: #eee;
border-radius: 3px;
@ -66,6 +58,7 @@ kbd {
padding: 2px 4px;
white-space: nowrap;
}
nav button.bar-item {padding:3px 12px !important;font-size:1.5vw !important;}
.small {font-size: 1.5vw !important;}
.tiny {font-size: 1.25vw !important;}
h2 {font-size: 3vw !important;}
@ -73,73 +66,33 @@ h3 {font-size: 2.4vw !important;}
h4 {font-size: 2.2vw !important;}
h5 {font-size: 2vw !important;border-bottom:1px solid;padding-left:1em;}
.large {width:3.2vw !important;height:2.4vw !important;font-size: 2.4vw !important;}
p.black a {font-size:2.4vw !important;}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(8em, 1fr));
grid-gap: .5em;
}
.grid + .grid {
margin-top: .5em;
}
.grid div {
border: 0 solid currentcolor;
border-radius: 4px;
/**min-height: 15vh;**/
padding: 1em;
/**color: #0178d4;
background-color:#191919;**/
font-size: 1em;
text-align: center;
/**display: flex;
flex-direction: column;**/
justify-content: center;
}
.grid div.i{background-color:#191919;padding: 6px 2px 2px 2px;}
.grid div.i a{text-decoration:none;margin-top:4px;}
.grid div.i a.light-gray{border-radius: 4px 0 0 4px;}
.grid div.i a.dark-gray{border-radius: 0 4px 4px 0;}
.gi2 {grid-column: span 2;}
.gi3 {grid-column: span 3;}
.gi4 {grid-column: span 4;}
.gi5 {grid-column: span 5;}
.gi22 {
grid-column: span 2;
grid-row: span 2;
}
.gi2r{grid-row: span 2;}
.gi3r{grid-row: span 3;}
.gi4r{grid-row: span 4;}
.grid3 {display: grid; grid-template-columns: auto auto auto;gap: 10px;}
.grid4 {display: grid; grid-template-columns: auto auto auto;gap: 10px;}
.grid div {padding:8px;}
</style>
<body>
<div class="sidebar bar-block" style="background-color:#333333;width:20%">
<div class="center" id="logoheader">
<svg id="logo" viewBox="0 0 128 128">
<polygon points="4,4 58,4 58,58 4,58" style="fill:#674EA7;stroke:white;stroke-width:4;fill-rule:nonzero;"/>
<polygon points="68,4 124,4 124,58 68,58" style="fill:#34BE5B;stroke:white;stroke-width:4;fill-rule:nonzero;"/>
<polygon points="4,68 58,68 58,124 4,124" style="fill:#FF8C00;stroke:white;stroke-width:4;fill-rule:nonzero;"/>
<polygon points="68,68 124,68 124,124 68,124" style="fill:#5e81ac;stroke:white;stroke-width:4;fill-rule:nonzero;"/>
</svg><br />
<span class="small">Colorizer</span>
</div>
<nav style="padding-top:8px;">
<button class="button small tablink bg" onclick="openTab(event, 'Colorizer')">Colorizer</button>
<button class="button small tablink" onclick="openTab(event, 'Openbox')">Motyw Openbox</button>
<button class="button small tablink" onclick="openTab(event, 'Jgmenu')">Menu/Panele Boczne</button>
<button class="button small tablink" onclick="openTab(event, 'Conky')">Conky</button>
<button class="button small tablink" onclick="openTab(event, 'fonts')">Czcionki, ikony, GTK</i></button>
<button class="button small tablink" onclick="openTab(event, 'Tint2')">Panel Tint2</button>
<button class="button small tablink" onclick="openTab(event, 'Wall2theme')">Kolory z tapety</button>
<button class="button small tablink" onclick="openTab(event, 'pyradiocava')"><i>Cava, PyRadio</i></button>
<button class="button small tablink" onclick="openTab(event, 'Terminal')">Kolory Terminala</button>
<button class="button small tablink" onclick="openTab(event, 'Save')">Zapisywanie</button>
<div class="sidebar bar-block dark-grey card" style="width:20%">
<div class="center" style="margin:8px;"><img src="./img/colorizer.png" class="logo" title="Colorizer" onclick="openTab(event, 'Colorizer')"></div>
<nav>
<button class="bar-item button small tablink" onclick="openTab(event, 'Colorizer')">Colorizer</button>
<button class="bar-item button small tablink" onclick="openTab(event, 'Openbox')">Motyw Openbox</button>
<button class="bar-item button small tablink" onclick="openTab(event, 'Conky')">Conky</button>
<button class="bar-item button small tablink" onclick="openTab(event, 'Jgmenu')">Menu/Panele Boczne</button>
<button class="bar-item button small tablink" onclick="openTab(event, 'Tint2')">Panel Tint2</button>
<button class="bar-item button small tablink" onclick="openTab(event, 'Wall2theme')">Kolory z tapety</button>
<button class="bar-item button small tablink" onclick="openTab(event, 'pyradiocava')"><i>Cava, PyRadio</i></button>
<button class="bar-item button small tablink" onclick="openTab(event, 'fonts')">Czcionki</i></button>
<button class="bar-item button small tablink" onclick="openTab(event, 'Terminal')">Kolory Terminala</button>
<button class="bar-item button small tablink" onclick="openTab(event, 'Save')">Zapisywanie</button>
</nav>
<div class="fixeddown">
<div class="center small" style="margin: 0 4px 4px 2px;">
<p><a class="tag small indigo" href="run://jgwallpaperchanger -s"> Wybierz tapetę</a> <a class="tag small indigo" href="run://mbwallpaper -o"></a></p>
<p><em>dynamiczne menu</em></p>
<p><a class="tag small indigo" href="run://pcmanwp"> Wybierz tapetę</a> <a class="tag small indigo" href="run://mbwallpaper -o"></a></p>
<p><em>Zaawansowane<br />(dynamiczne menu)</em></p>
<p>
<a class="tag small purple" href="run://colorizer -s"> Colorizer</a><br />
<a class="tag small amber" href="run://colorizer-ob -s"> Openbox</a>
@ -149,13 +102,20 @@ h5 {font-size: 2vw !important;border-bottom: 1px solid;padding-left: 1em;}
<a class="tag small lime" href="run://colorizer-cava -s">󰺢 Cava</a>
<a class="tag small lime" href="run://colorizer-pyradio -s"> PyRadio</a>
</p>
<!--<a class="button bar-item tiny tooltip lime" style="margin-top:0;" href="run://pcmanwp"><span class="right large"></span>Wybierz tapetę<span class="text tag medium round" style="position:fixed;left:19%;bottom:20px;">Wybierz i ustaw tapetę za pomocą menu kontekstowego</span></a>
<a class="button bar-item tiny tooltip khaki" style="margin-top:1px;" href="run://colorizer -s"><span class="right large"></span>Colorizer Menu<span class="text tag medium round" style="position:fixed;left:19%;bottom:20px;">Colorizer Menu główne (zaawansowane)</span></a>
<a class="button bar-item tiny tooltip amber" style="margin-top:0;" href="run://colorizer-ob -s"><span class="right large"></span>Moduł Openbox<span class="text tag medium round" style="position:fixed;left:19%;bottom:20px;">Konfiguracja Dekoracji Okien Openbox</span></a>
<a class="button bar-item tiny tooltip orange" style="margin-top:0;" href="run://colorizer-menus -s"><span class="right large"></span>Moduł Menu<span class="text tag medium round" style="position:fixed;left:19%;bottom:20px;">Zmiana kolorystyki Menu (jgmenu)</span></a>
<a class="button bar-item tiny tooltip deep-orange" style="margin-top:0;" href="run://colorizer-conky -s"><span class="right large"></span>Moduł Conky<span class="text tag medium round" style="position:fixed;left:19%;bottom:20px;">Conky Manager &amp; Colorizer </span></a>
<a class="button bar-item tiny tooltip orange" style="margin-top:0;" href="run://colorizer-fonts -s"><span class="right large">󰛖</span>Czcionki<span class="text tag medium round" style="position:fixed;left:19%;bottom:20px;">Ustawienia czcionek</span></a>//-->
</div>
<p id="links" class="center black">
<a href="https://maboxlinux.org" class="tooltip"><span class="text tag small round" style="position:absolute;left:-10px;bottom:26px">Strona domowa Mabox</span></a>
<a href="https://forum.maboxlinux.org" class="tooltip"><span class="text tag small round" style="position:absolute;left:-10px;bottom:26px">Forum społeczności</span></a>
<a href="https://manual.maboxlinux.org/en" class="tooltip"><span class="text tag small round" style="position:absolute;left:-10px;bottom:26px">Manual</span></a>
<a href="https://ko-fi.com/maboxlinux" class="tooltip"><span style="color:red"></span><span class="text tag small round" style="position:absolute;left:-10px;bottom:26px">Wesprzyj</span></a>
<p class="center black">
<a href="https://maboxlinux.org" class="tooltip"><span class="text tag small grey round" style="position:absolute;left:-10px;bottom:26px">Strona domowa Mabox</span></a>
<a href="https://forum.maboxlinux.org" class="tooltip"><span class="text tag small grey round" style="position:absolute;left:-10px;bottom:26px">Forum społeczności</span></a>
<a href="https://manual.maboxlinux.org/en" class="tooltip"><span class="text tag small grey round" style="position:absolute;left:-10px;bottom:26px">Manual</span></a>
<a href="https://ko-fi.com/maboxlinux" class="tooltip"><span style="color:red"></span><span class="text tag small grey round" style="position:absolute;left:-10px;bottom:26px">Wesprzyj</span></a>
</p>
</div>
</div>
@ -208,46 +168,34 @@ h5 {font-size: 2vw !important;border-bottom: 1px solid;padding-left: 1em;}
</section>
<section id="Openbox" class="container tab" style="display:none;min-height:100vh;">
<main class="grid">
<div class="gi4 gi4r left-align"><h2>Openbox dekoracja okien</h2>
<div class="row">
<div class="twothird">
<h2>Motyw Openbox</h2>
<p>Moduł Openbox pozwala w łatwy sposób dostosować wygląd dekoracji okien</p>
<p>Działa z motywem domyślnym MBcolors.<br /> <a class="tag round green tiny" href="run://obtctl theme MBcolors">przełącz</a> <a class="tag round green tiny" href="run://obtctl resetMBcolors">Resetuj MBcolors</a></p>
<p><hr /></p>
<div class="pale-green leftbar border-green">
Jeśli potrzebujesz więcej opcji, precyzyjnego tuningu kolorów, gradientów - użyj zaawansowanego dynamicznego menu
<a class="button amber" href="run://colorizer-ob -s"> Openbox</a>
<p>Możesz szybko zmienić większość ustawieniń bezpośrednio z tego okna. Aby uzyskać znacznie więcej opcji dostrajania oraz większy wybór kolorów, uruchom dynamiczne menu moduł Openbox.</p>
</div>
<p><hr /></p>
<strong>Rozmiar paska tytułu</strong> <em></em><br />
<a class="tag small amber" href="run://obtctl tweak tiny">mini</a>
<a class="tag small green" href="run://obtctl tweak small">mały</a>
<a class="tag small pale-red" href="run://obtctl tweak normal">normalny</a>
<a class="tag small green" href="run://obtctl tweak big">duży</a></a>
<a class="tag small amber" href="run://obtctl tweak large">wielki</a>
<br />
<div class="third padding-16">
<div class="card padding-small dark-grey"><span class="right xlarge"></span>
<p><strong>Ustaw dekorację okien</strong></p>
<div class="bar-block grey">
<a class="button bar-item tiny" href="run://randomizer ob"><span class="right large"></span>Losowa</a>
</div>
<div class="gi2 dark"><span>Generuj motywy...</span></div>
<div class="gi2 dark"><strong>Monochromatyczne</strong><br /><em>pobierz kolor z ekranu</em><br />
<a class="button padding-small dark-grey" href="run://obtctl mono pick dark"><span class="large"></span><br />Ciemny</a>
<a class="button padding-small grey" href="run://obtctl mono pick light"><span class="large"></span><br />Jasny</a>
<br />
<div class="bar-block grey" style="margin-top:1px;">
<a class="button bar-item tiny" href="run://w2theme ob dark show"><span class="right large"></span>Ciemna <em>(z kolorów tapety)</em></a>
</div>
<div class="bar-block grey" style="margin-top:1px;">
<a class="button bar-item tiny" href="run://w2theme ob light show"><span class="right large"></span>Jasna <em>(z kolorów tapety)</em></a>
</div>
<div class="bar-block grey" style="margin-top:1px;">
<a class="button bar-item tiny hover-green" href="run://colorizer-ob -s"><span class="right large"></span> Dostosuj...</a>
</div>
<div class="bar-block grey" style="margin-top:1px;">
<a class="button bar-item tiny hover-red" href="run://obtctl resetMBcolors"><span class="right large"></span>Resetuj</a>
</div>
<div class="gi2 dark"><strong>Kolory z tapety</strong><br /><em>wybierz wariant</em><br />
<a class="button padding-small dark-grey" href="run://w2theme ob dark show"><span class="large"></span><br />Ciemny</a>
<a class="button padding-small grey" href="run://w2theme ob light show"><span class="large"></span><br />Jasny</a>
</div>
<div class="dark">
<a class="button padding-small amber" href="run://randomizer ob"><span class="large"></span><br />Losowy</a>
</div>
<div class="dark">
<a class="button padding-small teal hover-red" href="run://obtctl resetMBcolors"><span class="large"></span><br />Resetuj</a>
</div>
</main>
<p><hr /></p>
<div class="show-inline-block">
<div class="bar border round dark-grey">
@ -423,91 +371,55 @@ Jeśli potrzebujesz więcej opcji, precyzyjnego tuningu kolorów, gradientów -
<a href="run://obtctl gradient_type crossdiagonal"><img src="./img/crossdiagonal.png"></a>
<a href="run://obtctl gradient_type pyramid"><img src="./img/pyramid.png"></a>
</p>
<p class="padding">Ponad 300 pięknych pre-definiowanych gradientów dostepne jest w OBtheme menu.</p>
</div>
</div>
<p></p>
<p>Potrzebujesz więcej opcji, tuningu i kolorów? Uruchom <a class="tag round green small hover-yellow" href="run://colorizer-ob -s"> OBtheme menu</a></p>
</section>
<section id="Jgmenu" class="container tab" style="display:none;min-height:100vh">
<main class="grid">
<div class="gi4 gi4r left-align"><h2>Menu / Panele boczne</h2>
<div class="row">
<div class="twothird">
<h2>Menu / Panele boczne</h2>
<p>Menu / Panele boczne oraz niemała liczba narzędzi Maboxa została stworzona na bazie jgmenu. W bardzo łatwy sposób możesz je dostosować do swoich potrzeb - zarówno <strong>wygląd</strong> jak i <strong>funkcjonalność</strong></p>
<br />
<p><hr /></p>
<div class="pale-red leftbar border-red">
Po każdej zmianie menu zostanie pokazane.<br />
Użyj <kbd>Esc</kbd> albo kliknij poza menu aby je zamknąć!
<h4>Ustawienia globalne</h4>
<p>Obramowanie, margines wewnętrzny, zaokrąglenie, odstęp podmenu oraz czcionki są to ustawienia globalne - niezależne od użytego motywu kolorystycznego. Możesz je zmienić <a class="tag round green small hover-yellow" href="run://jgmenusettings-pipe -s"> tutaj</a></p>
</div>
<p><hr /></p>
<div class="pale-green leftbar border-green">
Jeśli potrzebujesz pełen zestaw opcji, precyzyjnego dostrajania kolorów i przezroczystości - użyj zaawansowanego dynamicznego menu<br />
<a class="button small amber" href="run://colorizer-menus -s"> Menu</a>
<div class="third padding-16">
<div class="card padding-small blue-gray"><span class="right xlarge"></span>
<p><strong>Ustaw motyw Menu</strong></p>
<div class="bar-block grey">
<a class="button bar-item tiny" href="run://randomizer menu show"><span class="right large"></span> Losowy</a>
</div>
<div class="bar-block grey" style="margin-top:1px;">
<a class="button bar-item tiny" href="run://w2theme menu dark show"><span class="right large"></span>Ciemny<em>(z kolorów tapety)</em></a>
</div>
<div class="gi2 dark"><span>Generuj motywy...</span></div>
<div class="gi2 dark"><strong>Monochromatyczny</strong><br /><em>pobierz kolor z ekranu</em><br />
<a class="button padding-small dark-grey" href="run://jgctl mono pick dark"><span class="large"></span><br />Ciemny</a>
<a class="button padding-small grey" href="run://jgctl mono pick light"><span class="large"></span><br />Jasny</a>
<br />
<div class="bar-block grey" style="margin-top:1px;">
<a class="button bar-item tiny" href="run://w2theme menu light show"><span class="right large"></span>Jasne<em>(z kolorów tapety)</em></a>
</div>
<div class="gi2 dark"><strong>Kolory z tapety</strong><br /><em>wybierz wariant</em><br />
<a class="button padding-small dark-grey" href="run://w2theme menu dark show"><span class="large"></span><br />Ciemny</a>
<a class="button padding-small grey" href="run://w2theme menu light show"><span class="large"></span><br />Jasny</a>
<div class="bar-block grey" style="margin-top:1px;">
<a class="button bar-item tiny hover-green" href="run://colorizer-menus -s"><span class="right large"></span> Dostosuj...</a>
</div>
<div class="dark">
<a class="button padding-small amber" href="run://randomizer menu show"><span class="large"></span><br />Losowy</a>
<div class="bar-block grey" style="margin-top:1px;">
<a class="button bar-item tiny hover-red" href="run://jgctl resetMBcolors show"><span class="right large"></span>Resetuj</a>
</div>
<div class="dark">
<a class="button padding-small teal hover-red" href="run://jgctl resetMBcolors show"><span class="large"></span><br />Resetuj</a>
</div>
</main>
<p><hr /></p>
<main class="grid" style="grid-template-columns: auto auto auto;">
<div class="dark"><strong>Rozmiar Menu</strong> <em></em><br />
<a class="tag small amber" href="run://jgctl tweak sizing tight menu">wąskie</a>
<a class="tag small pale-red" href="run://jgctl tweak sizing normal menu">normalne</a>
<a class="tag small green" href="run://jgctl tweak sizing wide menu">szerokie</a>
</div>
<div class="gi2 gi2r attribs dark">
<strong>Odstęp (margines)</strong>
<p>
<a class="tag dark-grey" href="run://jgctl padding 0">0</a><a class="tag dark-grey" href="run://jgctl padding 1">1</a><a class="tag dark-grey" href="run://jgctl padding 2">2</a><a class="tag dark-grey" href="run://jgctl padding 3">3</a><a class="tag dark-grey" href="run://jgctl padding 4">4</a><a class="tag dark-grey" href="run://jgctl padding 6">6</a><a class="tag dark-grey" href="run://jgctl padding 8">8</a><a class="tag dark-grey" href="run://jgctl padding 12">12</a><a class="tag dark-grey" href="run://jgctl padding 16">16</a><a class="tag dark-grey" href="run://jgctl padding 20">20</a>
</p>
<hr />
<strong>Obramowanie Menu</strong>
<p><a class="tag dark-grey" href="run://jgctl border 0">0</a><a class="tag dark-grey" href="run://jgctl border 1">1</a><a class="tag dark-grey" href="run://jgctl border 2">2</a><a class="tag dark-grey" href="run://jgctl border 3">3</a><a class="tag dark-grey" href="run://jgctl border 4">4</a><a class="tag dark-grey" href="run://jgctl border 6">6</a><a class="tag dark-grey" href="run://jgctl border 8">8</a><a class="tag dark-grey" href="run://jgctl border 12">12</a>
</p>
<hr />
<strong>Odstęp dla podmenu</strong>
<p><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=-20">-20</a><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=-16">-16</a><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=-10">-10</a><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=-6">-6</a><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=-2">-2</a><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=0">0</a><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=1">1</a><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=2">2</a><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=4">4</a><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=8">8</a><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=12">12</a><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=16">16</a><a class="tag dark-grey" href="menu://mb-setvar submenu_spacing=20">20</a></p>
<hr />
<strong>Wysokość elementu</strong>
<p><a class="tag dark-grey" href="menu://mb-setvar item_height_factor=160">80%</a><a class="tag dark-grey" href="menu://mb-setvar item_height_factor=180">90%</a><a class="tag dark-grey" href="menu://mb-setvar item_height_factor=200">100%</a><a class="tag dark-grey" href="menu://mb-setvar item_height_factor=220">110%</a><a class="tag dark-grey" href="menu://mb-setvar item_height_factor=240">120%</a><a class="tag dark-grey" href="menu://mb-setvar item_height_factor=280">140%</a></p>
</div>
<div class="dark">
<a class="tag small purple" href="run://mb-jgtools main ipc"> Menu główne</a> ustawienia<br />
<p class="dark-gray">Klawisz <kbd>super</kbd>, <i>lewy-klik</i> na pulpicie lub z ikony w panelu</p>
<p class="left-align">
<a class="tag small purple" href="run://jgctl t_search_field"></a> Pole wyszukiwania<br />
<a class="tag small purple" href="run://jgctl t_apps_in_submenu"></a> Aplikacje w menu gł. (lub podmenu)
<a class="tag small purple" href="run://jgctl t_icons"></a> Ikony<br />
</p>
<hr />
<strong>Edytuj komendy</strong>
<p>
<a class="tag small amber" href="config://.config/mabox/favorites.csv"> góra (Ulubione)</a>
<a class="tag small amber" href="config://.config/mabox/mainmenu_below_apps.csv"> dół</a><br /></p>
</div>
</main>
</section>
<section id="Conky" class="container tab" style="display:none;min-height:100vh;">
<main class="grid">
<div class="gi4 gi4r left-align"><h2>Conky</h2>
<p>Mabox dostarcza kilkunastu konfiguracji Conky.<br /><em>Kliknij ich nazwy poniżej aby je wypróbować.</em></p>
<div class="row">
<div class="twothird">
<h2>Conky</h2>
<p>Mabox dostarcza kilkunastu konfiguracji Conky. Kliknij ich nazwy poniżej aby je wypróbować.</p>
<p class="center">Informacje systemowe<br />
<a class="tag small teal" href="run://conkyctl toggleone sysinfo_mbcolor">Domyślne</a>
<a class="tag small teal" href="run://conkyctl toggleone sysinfo_graph">Z grafem</a>
@ -527,31 +439,31 @@ Jeśli potrzebujesz pełen zestaw opcji, precyzyjnego dostrajania kolorów i prz
<a class="tag small teal" href="run://conkyctl toggleone quoter_">Cytaty</a>
<a class="tag small teal" href="run://conkyctl toggleone logo_">Logo</a>
</p>
<p><hr /></p>
<div class="pale-green leftbar border-green">
Użyj dynamicznego menu aby mieć dostęp do większej ilości opcji<br /> <a class="button amber" href="run://colorizer-conky -s"> Conky Manager & Colorizer</a>
</div>
</div>
<div class="gi2 dark"><span>Generuj motywy...</span></div>
<div class="gi2 dark"><strong>Monochromatyczny</strong><br /><em>Pobierz kolor z ekranu</em><br />
<a class="button padding-small dark-grey" href="run://conkyctl mono pick dark"><span class="large"></span><br />Ciemny</a>
<a class="button padding-small grey" href="run://conkyctl mono pick light"><span class="large"></span><br />Jasny</a>
<br />
</div>
<div class="gi2 dark"><strong>Kolory z tapety</strong><br /><em>wybierz wariant</em><br />
<a class="button padding-small dark-grey" href="run://w2theme conky dark show"><span class="large"></span><br />Ciemny</a>
<a class="button padding-small grey" href="run://w2theme conky light show"><span class="large"></span><br />Jasny</a>
</div>
<div class="dark">
<a class="button padding-small amber" href="run://randomizer conky"><span class="large"></span><br />Losowy</a>
</div>
<div class="dark">
<a class="button padding-small teal hover-red" href="run://conkyctl resetcolorsall"><span class="large"></span><br />Resetuj</a>
</div>
</main>
<p><hr /></p>
</div>
<div class="third padding-16">
<div class="card padding-small brown"><span class="right xlarge"></span>
<p><strong>Ustaw motyw Conky</strong></p>
<div class="bar-block grey">
<a class="button bar-item tiny" href="run://randomizer conky"><span class="right large"></span>Losowy</a>
</div>
<div class="bar-block grey" style="margin-top:1px;">
<a class="button bar-item tiny" href="run://w2theme conky dark"><span class="right large"></span>Ciemny <em>(z kolorów tapety)</em></a>
</div>
<div class="bar-block grey" style="margin-top:1px;">
<a class="button bar-item tiny" href="run://w2theme conky light"><span class="right large"></span>Jasny <em>(z kolorów tapety)</em></a>
</div>
<div class="bar-block grey" style="margin-top:1px;">
<a class="button bar-item tiny hover-green" href="run://colorizer-conky -s"><span class="right large"></span>Dostosuj</a>
</div>
<div class="bar-block grey" style="margin-top:1px;">
<a class="button bar-item tiny hover-red" href="run://conkyctl resetcolorsall"><span class="right large"></span>Resetuj</a>
</div>
</div>
</div>
</div>
<!-- <div class="grid">
<div class="black">
Click <a class="tag xxxlarge black" href="run://conkyctl makemoveableall">󰆾</a>
@ -704,13 +616,12 @@ Jeśli potrzebujesz pełen zestaw opcji, precyzyjnego dostrajania kolorów i prz
</div>
<h3>Cava - wizualizacja dźwięku</h3>
<p><strong>Cava</strong> to słupkowy wizualizator dźwięku dla terminala. <br />
W Maboxie możesz łatwo uruchomić Cava w przezroczystym* terminalu - co daje ciekawy efekt...
W Maboxie możesz łatwo uruchomić Cava w przeźroczystym terminalu - co daje ciekawy efekt...
</p>
<p><a class="tag small amber" href="run://mb-music cavastart">󰺢 Uruchom</a>
<a class="tag small red" href="run://mb-music cavakill"> Zabij</a>
<a class="tag small green" href="run://cavactl info"> Info</a>
</p>
<p>*) dla przezroczystości wymagany jest menedżer kompozycji <a class="tag small purple" href="run://compton_toggle"> Picom</a></p>
<div class="row-padding stretch">
<div class="third center">
@ -781,7 +692,7 @@ Jeśli potrzebujesz pełen zestaw opcji, precyzyjnego dostrajania kolorów i prz
<div class="col m4 center">
<p><strong>Wysokość (px)</strong></p>
szerokość: 100%
<p><a class="tag dark-gray" href="run://mb-music cavastart 50 full">50</a> <a class="tag dark-gray" href="run://mb-music cavastart 100 full">100</a> <a class="tag dark-gray" href="run://mb-music cavastart 200 full">200</a></p>
<p><a class="tag dark-gray" href="run://mb-music cavastart 50 full">50</a> <a class="tag dark-gray" href="run://mb-music cavastart 100 full">100</a> <a class="tag dark-gray" href="run://mb-music cavastart 2000 full">200</a></p>
szerokość: 50%
<p><a class="tag dark-gray" href="run://mb-music cavastart 50 half">50</a> <a class="tag dark-gray" href="run://mb-music cavastart 100 half">100</a> <a class="tag dark-gray" href="run://mb-music cavastart 200 half">200</a></p>
</div>
@ -820,121 +731,13 @@ Jeśli potrzebujesz pełen zestaw opcji, precyzyjnego dostrajania kolorów i prz
</section>
<section id="fonts" class="container tab" style="display:none;min-height:100vh">
<div class="grid">
<div class="g1 dark">
<a class="button amber" href="run://colorizer-fonts -s"><span class="large"></span><br />Ustaw Czcionki</a>
</div>
<div class="g1 dark">
<a class="button amber" href="run://lxappearance"><span class="large"></span><br />Motyw GTK oraz Ikony</a>
<div class="fixed">
<div class="bar">
<a class="button bar-item small grey hover-amber right" href="run://colorizer-fonts -s"> Czcionki - dynamiczne menu</a>
</div>
</div>
<br /><hr /><br />
<div class="grid">
<div class="i">Adwaita<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-adwaita.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-adwaita-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor adwaita">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor adwaita -d">dark</a></div>
<div class="gi5"><h3>Ikony Katalogów Papirus</h3><hr />Wygeneruj i ustaw kolorowe foldery Papirus. Wariant jasny (light) lub ciemny (dark).</div>
<div class="i">Black<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-black.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-black-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor black">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor black -d">dark</a></div>
<div class="i">Blue<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-blue.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-blue-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor blue">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor blue -d">dark</a></div>
<div class="i">Bluegrey<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-bluegrey.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-bluegrey-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor bluegrey">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor bluegrey -d">dark</a></div>
<div class="i">Breeze<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-breeze.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-breeze-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor breeze">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor breeze -d">dark</a></div>
<div class="i">Brown<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-brown.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-brown-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor brown">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor brown -d">dark</a></div>
<div class="i">Carmine<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-carmine.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-carmine-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor carmine">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor carmine -d">dark</a></div>
<div class="i">Cyan<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-cyan.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-cyan-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor cyan">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor cyan -d">dark</a></div>
<div class="i">DarkCyan<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-darkcyan.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-darkcyan-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor darkcyan">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor darkcyan -d">dark</a></div>
<div class="i">DeepOrange<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-deeporange.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-deeporange-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor deeporange">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor deeporange -d">dark</a></div>
<div class="i">Green<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-green.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-green-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor green">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor green -d">dark</a></div>
<div class="i">Grey<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-grey.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-grey-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor grey">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor grey -d">dark</a></div>
<div class="i">Indigo<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-indigo.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-indigo-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor indigo">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor indigo -d">dark</a></div>
<div class="i">Magenta<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-magenta.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-magenta-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor magenta">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor magenta -d">dark</a></div>
<div class="i">Nordic<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-nordic.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-nordic-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor nordic">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor nordic -d">dark</a></div>
<div class="i">Orange<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-orange.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-orange-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor orange">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor orange -d">dark</a></div>
<div class="i">PaleBrown<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-palebrown.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-palebrown-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor palebrown">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor palebrown -d">dark</a></div>
<div class="i">PaleOrange<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-paleorange.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-paleorange-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor paleorange">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor paleorange -d">dark</a></div>
<div class="i">Pink<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-pink.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-pink-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor pink">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor pink -d">dark</a></div>
<div class="i">Red<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-red.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-red-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor red">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor red -d">dark</a></div>
<div class="i">Teal<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-teal.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-teal-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor teal">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor teal -d">dark</a></div>
<div class="i">Violet<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-violet.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-violet-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor violet">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor violet -d">dark</a></div>
<div class="i">White<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-white.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-white-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor white">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor white -d">dark</a></div>
<div class="i">Yaru<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-yaru.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-yaru-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor yaru">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor yaru -d">dark</a></div>
<div class="i">Yellow<br />
<img src="/usr/share/icons/Papirus/32x32/places/folder-yellow.svg" />
<img src="/usr/share/icons/Papirus/32x32/places/folder-yellow-music.svg" /><br />
<a class="tag small light-gray hover-white" href="run://gtkctl papcolor yellow">light</a><a class="tag small dark-gray hover-black" href="run://gtkctl papcolor yellow -d">dark</a></div>
</div>
<h2>Czcionki</h2>
<p>Użyj dynamicznego menu <a class="tag small amber" href="run://colorizer-fonts -s"> Czcionki</a> aby ustawić czcionki używane przez aplikacje GTK, Conky oraz Menu/Panele boczne</p>
</section>
<section id="Terminal" class="container tab" style="display:none;min-height:100vh">
@ -997,10 +800,10 @@ function openTab(evt, tabName) {
}
tablinks = document.getElementsByClassName("tablink");
for (i = 0; i < x.length; i++) {
tablinks[i].className = tablinks[i].className.replace(" bg", "");
tablinks[i].className = tablinks[i].className.replace(" gray", "");
}
document.getElementById(tabName).style.display = "block";
evt.currentTarget.className += " bg";
evt.currentTarget.className += " gray";
}
function myFunction() {
var input, filter, table, tr, td, i;

View File

@ -5,10 +5,10 @@ window.client.padding.width: 0
window.client.padding.height: 0
window.handle.width: 4
window.active.label.text.font: shadow=n:shadowtint=70:shadowoffset=1
window.inactive.label.text.font: shadow=n:shadowtint=20:shadowoffset=1
window.active.label.text.font: shadow=y:shadowtint=70:shadowoffset=1
window.inactive.label.text.font: shadow=y:shadowtint=20:shadowoffset=1
*.active.border.color: #111111
*.active.border.color: #292929
*.inactive.border.color: #292929
window.active.grip.bg: parentrelative
@ -19,18 +19,9 @@ window.*.button.*.bg: parentrelative
window.*.handle.bg: flat vertical gradient
window.*.text.justify: center
window.active.title.bg.color.splitTo: #add2ca
window.active.title.bg.color: #579C8E
window.active.title.bg.colorTo: #3d6e64
window.active.title.bg.colorTo.splitTo: #539588
window.active.title.bg.color: #579c8e
window.active.title.bg.colorTo: #41756a
window.active.label.text.color: #ffffff
window.inactive.title.bg.color.splitTo: #7e7e7e
window.inactive.title.bg.color: #383838
window.inactive.title.bg.colorTo: #1f1f1f
window.inactive.title.bg.colorTo.splitTo: #3e3e3e
window.inactive.label.text.color: #898989
window.active.button.*.unpressed.image.color: #ffffff
window.active.button.*.disabled.image.color: #8fbdb3
window.active.button.*.hover.image.color: #abcdc6
@ -40,6 +31,9 @@ window.active.handle.bg.colorTo: #2a2a2a
window.active.grip.bg.color: #383838
window.active.grip.bg.colorTo: #2a2a2a
window.inactive.title.bg.color: #383838
window.inactive.title.bg.colorTo: #2a2a2a
window.inactive.label.text.color: #898989
window.inactive.button.*.unpressed.image.color: #898989
window.inactive.button.*.disabled.image.color: #6e6e6e
window.inactive.button.*.hover.image.color: #dadada