Compare commits
No commits in common. "master" and "0.9.77" have entirely different histories.
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# colorizer - set of tools for Mabox (auto)theming
|
# 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
|
# 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
|
# 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
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
. $HOME/.config/mabox/mabox.conf
|
|
||||||
|
|
||||||
CNF_DIR="$HOME/.config/colorizer"
|
CNF_DIR="$HOME/.config/colorizer"
|
||||||
mkdir -p "$CNF_DIR"
|
mkdir -p "$CNF_DIR"
|
||||||
CNF_FILE="$CNF_DIR/colorizer.conf"
|
CNF_FILE="$CNF_DIR/colorizer.conf"
|
||||||
@ -49,7 +47,6 @@ case "$LANG" in
|
|||||||
CURRENTCONF="Obecna konfiguracja"
|
CURRENTCONF="Obecna konfiguracja"
|
||||||
MODULES="Moduły"
|
MODULES="Moduły"
|
||||||
FONTS="Konfiguruj <b>Czcionki</b>"
|
FONTS="Konfiguruj <b>Czcionki</b>"
|
||||||
_PICOM="Ustawienia <b>Kompozytora (Picom)</b>"
|
|
||||||
OBTHEME="Motyw <b>Openbox</b>"
|
OBTHEME="Motyw <b>Openbox</b>"
|
||||||
MENUPANELS="<b>Menu</b> i Panele boczne"
|
MENUPANELS="<b>Menu</b> i Panele boczne"
|
||||||
COLORIZER_CONKY="<b>Conky</b> Manager i Colorizer"
|
COLORIZER_CONKY="<b>Conky</b> Manager i Colorizer"
|
||||||
@ -104,8 +101,6 @@ case "$LANG" in
|
|||||||
RES_MENU="Menu i Paneli"
|
RES_MENU="Menu i Paneli"
|
||||||
RES_ALL="Wszystko <i>(OB, menu, conky)</i>"
|
RES_ALL="Wszystko <i>(OB, menu, conky)</i>"
|
||||||
COLORIZE="Szybko Pokoloruj lub Resetuj..."
|
COLORIZE="Szybko Pokoloruj lub Resetuj..."
|
||||||
_LEFTSIDEPANEL="Lewy panel boczny"
|
|
||||||
_WALL_DESK_MENU="Tapety oraz <b>stylizacja</b> pulpitu"
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
REGENERATE="(Re)Generate from wallpaper colors..."
|
REGENERATE="(Re)Generate from wallpaper colors..."
|
||||||
@ -115,7 +110,6 @@ case "$LANG" in
|
|||||||
CURRENTCONF="Current configuration"
|
CURRENTCONF="Current configuration"
|
||||||
MODULES="Modules"
|
MODULES="Modules"
|
||||||
FONTS="Configure <b>Fonts</b>"
|
FONTS="Configure <b>Fonts</b>"
|
||||||
_PICOM="<b>Compositor</b> settings <b>(Picom)</b>"
|
|
||||||
OBTHEME="<b>Openbox</b> Theme"
|
OBTHEME="<b>Openbox</b> Theme"
|
||||||
MENUPANELS="<b>Menus/SidePanels</b>"
|
MENUPANELS="<b>Menus/SidePanels</b>"
|
||||||
COLORIZER_CONKY="<b>Conky</b> Manager & Colorizer"
|
COLORIZER_CONKY="<b>Conky</b> Manager & Colorizer"
|
||||||
@ -170,8 +164,6 @@ case "$LANG" in
|
|||||||
RES_MENU="Menus / Panels"
|
RES_MENU="Menus / Panels"
|
||||||
RES_ALL="All <i>(OB, menus, conky)</i>"
|
RES_ALL="All <i>(OB, menus, conky)</i>"
|
||||||
COLORIZE="Quickly Colorize or Reset..."
|
COLORIZE="Quickly Colorize or Reset..."
|
||||||
_LEFTSIDEPANEL="Left Sidepanel"
|
|
||||||
_WALL_DESK_MENU="Wallpaper & Desktop <b>styling</b> menu"
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -219,7 +211,6 @@ out+=("^sep(Mabox Colorizer)")
|
|||||||
out+=(" $COLORIZE,^pipe(randomizer c)")
|
out+=(" $COLORIZE,^pipe(randomizer c)")
|
||||||
out+=("^sep($MODULES)")
|
out+=("^sep($MODULES)")
|
||||||
out+=("<big></big> $FONTS,colorizer-fonts -s")
|
out+=("<big></big> $FONTS,colorizer-fonts -s")
|
||||||
out+=("$_PICOM,jgpicom-pipe -s")
|
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
out+=("$OBTHEME,colorizer-ob -s")
|
out+=("$OBTHEME,colorizer-ob -s")
|
||||||
|
|
||||||
@ -248,23 +239,21 @@ out+=("$CAVA,colorizer-cava -s")
|
|||||||
##out+=(" $EDIT_PALETTE,xdg-open $WALLPALDIR/$WALLPAPER.clr")
|
##out+=(" $EDIT_PALETTE,xdg-open $WALLPALDIR/$WALLPAPER.clr")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
out+=("^sep($WALLPAPER)")
|
|
||||||
out+=("^sep($RANDWALL)")
|
out+=("^sep($RANDWALL)")
|
||||||
syswallp=$(shopt -s nullglob ; set -- /usr/share/backgrounds/*.{jpg,JPG,jpeg,JPEG,png,PNG} ; echo $#)
|
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")
|
out+=(" $SYSWALLPAPER (<small>${syswallp}</small>),nitrogen --random /usr/share/backgrounds --set-scaled --save;colorizer -s")
|
||||||
if [[ -d "${user_wallpapers_dir}" ]]; then
|
if [[ -d "${user_wallpapers_dir}" ]]; then
|
||||||
userwallp=$(shopt -s nullglob ; set -- $user_wallpapers_dir/*.{jpg,JPG,jpeg,JPEG,png,PNG} ; echo $#)
|
userwallp=$(shopt -s nullglob ; set -- $user_wallpapers_dir/*.{jpg,JPG,jpeg,JPEG,png,PNG} ; echo $#)
|
||||||
out+=(" $USERWALLPAPER (<small>${userwallp}</small>),nitrogen --random ${user_wallpapers_dir} --set-scaled --save;colorizer -s")
|
out+=(" $USERWALLPAPER (<small>${userwallp}</small>),nitrogen --random ${user_wallpapers_dir} --set-scaled --save;colorizer -s")
|
||||||
fi
|
fi
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
out+=(" $_WALL_DESK_MENU,jgwallpaperchanger -s")
|
out+=("$WALLPAPERS,^checkout(wallpapersettings)")
|
||||||
|
|
||||||
if [[ "$gradient_obtheme" == "yes" || "$gradient_menu" == "yes" ]];then
|
if [[ "$gradient_obtheme" == "yes" || "$gradient_menu" == "yes" ]];then
|
||||||
[[ "$gradient_obtheme" == "yes" ]] && OBGRAD="OB" || OBGRAD=""
|
[[ "$gradient_obtheme" == "yes" ]] && OBGRAD="OB" || OBGRAD=""
|
||||||
[[ "$gradient_menu" == "yes" ]] && MENUGRAD="menus" || MENUGRAD=""
|
[[ "$gradient_menu" == "yes" ]] && MENUGRAD="menus" || MENUGRAD=""
|
||||||
out+=("^sep($GRADIENTS <small>$OBGRAD $MENUGRAD</small>)")
|
out+=("^sep($GRADIENTS <small>$OBGRAD $MENUGRAD</small>)")
|
||||||
out+=("<tt><span bgcolor='#16a084'> </span><span bgcolor='#43a480'> </span><span bgcolor='#5da97b'> </span><span bgcolor='#72ad77'> </span><span bgcolor='#84b171'> </span><span bgcolor='#95b66c'> </span><span bgcolor='#a5ba66'> </span><span bgcolor='#b5be61'> </span><span bgcolor='#c3c15a'> </span><span bgcolor='#d1c753'> </span><span bgcolor='#dfc94c'> </span><span bgcolor='#edce44'> </span><span bgcolor='#f4d03f'> </span></tt> $PRE_GRADIENTS,^pipe(mbgrad)")
|
out+=("<tt><span bgcolor='#16a084'> </span><span bgcolor='#43a480'> </span><span bgcolor='#5da97b'> </span><span bgcolor='#72ad77'> </span><span bgcolor='#84b171'> </span><span bgcolor='#95b66c'> </span><span bgcolor='#a5ba66'> </span><span bgcolor='#b5be61'> </span><span bgcolor='#c3c15a'> </span><span bgcolor='#d1c753'> </span><span bgcolor='#dfc94c'> </span><span bgcolor='#edce44'> </span><span bgcolor='#f4d03f'> </span></tt> $PRE_GRADIENTS,^pipe(mbgrad)")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
out+=("^sep($SETTINGS)")
|
out+=("^sep($SETTINGS)")
|
||||||
@ -275,9 +264,6 @@ out+=(" $HELP,yhtml /usr/share/mabox-colorizer/help/$LNG.html 'Mabox Coloriz
|
|||||||
else
|
else
|
||||||
out+=(" $HELP,yhtml /usr/share/mabox-colorizer/help/en.html 'Mabox Colorizer'")
|
out+=(" $HELP,yhtml /usr/share/mabox-colorizer/help/en.html 'Mabox Colorizer'")
|
||||||
fi
|
fi
|
||||||
out+=("^sep()")
|
|
||||||
out+=(" ${arrow_string_left} ${arrow_string_left} $_LEFTSIDEPANEL,mb-jgtools places")
|
|
||||||
|
|
||||||
|
|
||||||
### RESET ACTIONS (replaced by Randomizer)
|
### RESET ACTIONS (replaced by Randomizer)
|
||||||
#out+=("^sep($RESET_COLORS)")
|
#out+=("^sep($RESET_COLORS)")
|
||||||
@ -301,6 +287,28 @@ fi
|
|||||||
out2+=("^tag(settings)")
|
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)")
|
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")
|
[[ "$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)")
|
#out2+=("$GRAD_OB [ <b>${gradient_obtheme}</b> ],^checkout(grad_ob)")
|
||||||
|
@ -117,14 +117,13 @@ case "$LANG" in
|
|||||||
RUNNING_CONKIES="Uruchomione Conky"
|
RUNNING_CONKIES="Uruchomione Conky"
|
||||||
STOP_ALL="Zatrzymaj wszystkie"
|
STOP_ALL="Zatrzymaj wszystkie"
|
||||||
MORECONKIES="Więcej Conky..."
|
MORECONKIES="Więcej Conky..."
|
||||||
CLICKTOSTART="<b>Uruchom</b> więcej Conky..."
|
CLICKTOSTART="Kliknij aby uruchomić"
|
||||||
STARTALL="Uruchom wszystkie"
|
STARTALL="Uruchom wszystkie"
|
||||||
RESET="Resetuj"
|
RESET="Resetuj"
|
||||||
RESETALL="Resetuj wszystkie"
|
RESETALL="Resetuj wszystkie"
|
||||||
RESETCOLORS="Przywróć domyślne kolory"
|
RESETCOLORS="Przywróć domyślne kolory"
|
||||||
AREYOUSURE="Czy aby napewno?"
|
AREYOUSURE="Czy aby napewno?"
|
||||||
_COLORIZER_ROOT="<b>Colorizer</b> - menu główne"
|
_COLORIZER_ROOT="<b>Colorizer</b> - menu główne"
|
||||||
_LEFTSIDEPANEL="Lewy panel boczny"
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
COLORIZECONKY="Conky Manager"
|
COLORIZECONKY="Conky Manager"
|
||||||
@ -175,14 +174,13 @@ case "$LANG" in
|
|||||||
RUNNING_CONKIES="Running Conkys"
|
RUNNING_CONKIES="Running Conkys"
|
||||||
STOP_ALL="Stop All"
|
STOP_ALL="Stop All"
|
||||||
MORECONKIES="More Conkies Available"
|
MORECONKIES="More Conkies Available"
|
||||||
CLICKTOSTART="<b>Start</b> more Conkies..."
|
CLICKTOSTART="...click to start"
|
||||||
STARTALL="Start all"
|
STARTALL="Start all"
|
||||||
RESET="Reset"
|
RESET="Reset"
|
||||||
RESETALL="Reset all to defaults"
|
RESETALL="Reset all to defaults"
|
||||||
RESETCOLORS="Restore default colors"
|
RESETCOLORS="Restore default colors"
|
||||||
AREYOUSURE="Are you sure?"
|
AREYOUSURE="Are you sure?"
|
||||||
_COLORIZER_ROOT="<b>Colorizer</b> rootmenu"
|
_COLORIZER_ROOT="<b>Colorizer</b> rootmenu"
|
||||||
_LEFTSIDEPANEL="Left Sidepanel"
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -290,8 +288,6 @@ if pgrep -u $USER -af "conky.*mbcolor" >/dev/null; then
|
|||||||
else # too many conkies not started -> show them in submenu
|
else # too many conkies not started -> show them in submenu
|
||||||
out+=("$CLICKTOSTART (${#notstarted[@]}),^checkout(nstarted)")
|
out+=("$CLICKTOSTART (${#notstarted[@]}),^checkout(nstarted)")
|
||||||
out2+=("^tag(nstarted)")
|
out2+=("^tag(nstarted)")
|
||||||
out2+=("^sep($CLICKTOSTART)")
|
|
||||||
|
|
||||||
for c in ${notstarted[@]};do
|
for c in ${notstarted[@]};do
|
||||||
filename=${c##*/}
|
filename=${c##*/}
|
||||||
name=${filename%%_mb*}
|
name=${filename%%_mb*}
|
||||||
@ -481,7 +477,6 @@ if [[ "$1" == "-s" ]]; then
|
|||||||
|
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
out+=(" ${arrow_string_left} $_COLORIZER_ROOT,colorizer -s")
|
out+=(" ${arrow_string_left} $_COLORIZER_ROOT,colorizer -s")
|
||||||
out+=(" ${arrow_string_left} ${arrow_string_left} $_LEFTSIDEPANEL,mb-jgtools places")
|
|
||||||
|
|
||||||
if [[ "$colorizer_size" == "full" ]];then
|
if [[ "$colorizer_size" == "full" ]];then
|
||||||
eval $(xdotool getdisplaygeometry --shell)
|
eval $(xdotool getdisplaygeometry --shell)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# colorizer - set of tools for Mabox (auto)theming
|
# 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
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -70,7 +70,6 @@ case "$LANG" in
|
|||||||
_USE="Użyj czcionki"
|
_USE="Użyj czcionki"
|
||||||
_FOR="dla..."
|
_FOR="dla..."
|
||||||
_COLORIZER_ROOT="<b>Colorizer</b> - menu główne"
|
_COLORIZER_ROOT="<b>Colorizer</b> - menu główne"
|
||||||
_LEFTSIDEPANEL="Lewy panel boczny"
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
_INCREASE_ALL="Increase all"
|
_INCREASE_ALL="Increase all"
|
||||||
@ -108,7 +107,6 @@ case "$LANG" in
|
|||||||
_USE="Use"
|
_USE="Use"
|
||||||
_FOR="font for ..."
|
_FOR="font for ..."
|
||||||
_COLORIZER_ROOT="<b>Colorizer</b> rootmenu"
|
_COLORIZER_ROOT="<b>Colorizer</b> rootmenu"
|
||||||
_LEFTSIDEPANEL="Left Sidepanel"
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -158,7 +156,7 @@ out+=("<big></big> $_RESET,^checkout(reset)")
|
|||||||
out2+=("^sep($_RESET)")
|
out2+=("^sep($_RESET)")
|
||||||
out2+=("$_ALL,fontctl resetall;$me")
|
out2+=("$_ALL,fontctl resetall;$me")
|
||||||
out2+=("^sep()")
|
out2+=("^sep()")
|
||||||
out2+=("$_TITLEBAR_FONT ($_OPENBOX_WM),fontctl resetob;$me")
|
out2+=("$_TITLEBAR_FONT,fontctl resetob;$me")
|
||||||
out2+=("$_MENUS,fontctl resetmenus;$me")
|
out2+=("$_MENUS,fontctl resetmenus;$me")
|
||||||
out2+=("$_CONKY,fontctl resetconky;$me")
|
out2+=("$_CONKY,fontctl resetconky;$me")
|
||||||
out2+=("$_GTK,fontctl resetgtk;$me")
|
out2+=("$_GTK,fontctl resetgtk;$me")
|
||||||
@ -352,7 +350,6 @@ if [[ "$1" == "-s" ]]; then
|
|||||||
|
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
out+=(" ${arrow_string_left} $_COLORIZER_ROOT,colorizer -s")
|
out+=(" ${arrow_string_left} $_COLORIZER_ROOT,colorizer -s")
|
||||||
out+=(" ${arrow_string_left} ${arrow_string_left} $_LEFTSIDEPANEL,mb-jgtools places")
|
|
||||||
|
|
||||||
if [[ "$colorizer_size" == "full" ]];then
|
if [[ "$colorizer_size" == "full" ]];then
|
||||||
eval $(xdotool getdisplaygeometry --shell)
|
eval $(xdotool getdisplaygeometry --shell)
|
||||||
@ -375,7 +372,7 @@ if [[ "$1" == "-s" ]]; then
|
|||||||
MENU_PADDING_TOP=$((jgtools_padding + 150))
|
MENU_PADDING_TOP=$((jgtools_padding + 150))
|
||||||
|
|
||||||
#WALLPAPER
|
#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"
|
THUMBDIR="$HOME/.cache/colorizer/thumbs"
|
||||||
mkdir -p ${THUMBDIR}
|
mkdir -p ${THUMBDIR}
|
||||||
NAME=${WALLPATH////_}
|
NAME=${WALLPATH////_}
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
SYSSCHEMES="/usr/share/mabox-colorizer/colorschemes/menus.csv"
|
SYSSCHEMES="/usr/share/mabox-colorizer/colorschemes/menus.csv"
|
||||||
USERSCHEMES="$HOME/.config/colorizer/menus/userschemes2.csv"
|
USERSCHEMES="$HOME/.config/colorizer/menus/userschemes.csv"
|
||||||
|
|
||||||
|
|
||||||
### Wallpaper colors
|
### Wallpaper colors
|
||||||
@ -147,7 +147,6 @@ case "$LANG" in
|
|||||||
FILE="plik"
|
FILE="plik"
|
||||||
SET_RANDOM="Ustaw losowy motyw menu"
|
SET_RANDOM="Ustaw losowy motyw menu"
|
||||||
_COLORIZER_ROOT="<b>Colorizer</b> - menu główne"
|
_COLORIZER_ROOT="<b>Colorizer</b> - menu główne"
|
||||||
_LEFTSIDEPANEL="Lewy panel boczny"
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
MENU_THEME="Menu theme"
|
MENU_THEME="Menu theme"
|
||||||
@ -232,7 +231,6 @@ case "$LANG" in
|
|||||||
FILE="file"
|
FILE="file"
|
||||||
SET_RANDOM="Set random menu theme"
|
SET_RANDOM="Set random menu theme"
|
||||||
_COLORIZER_ROOT="<b>Colorizer</b> rootmenu"
|
_COLORIZER_ROOT="<b>Colorizer</b> rootmenu"
|
||||||
_LEFTSIDEPANEL="Left Sidepanel"
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -251,7 +249,6 @@ getvalues () {
|
|||||||
read TFG TFGA<<< "$(grep 'color_title_fg' ${THEMERC} | cut -d'=' -f2)"
|
read TFG TFGA<<< "$(grep 'color_title_fg' ${THEMERC} | cut -d'=' -f2)"
|
||||||
read TBORDER TBORDERA<<< "$(grep 'color_title_border' ${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)"
|
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 NFG NFGA<<< "$(grep color_norm_fg ${THEMERC} | cut -d'=' -f2)"
|
||||||
read SBG SBGA<<< "$(grep 'color_sel_bg' ${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)"
|
read SFG SFGA<<< "$(grep 'color_sel_fg' ${THEMERC} | cut -d'=' -f2)"
|
||||||
@ -262,193 +259,192 @@ getvalues () {
|
|||||||
getvalues
|
getvalues
|
||||||
|
|
||||||
# Current colors
|
# 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
|
#echo "${currcolors}" > ~/.config/mabox/.menu_colors
|
||||||
###notify-send.sh "Currcolors" "${currcolors}"
|
|
||||||
if [ ! -f "$USERSCHEMES" ]; then
|
if [ ! -f "$USERSCHEMES" ]; then
|
||||||
mkdir -p "$HOME/.config/colorizer/menus/"
|
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
|
fi
|
||||||
|
|
||||||
out+=("^sep($MENU_THEME: <i>${jgmenu_theme}</i>)")
|
out+=("^sep($MENU_THEME: <i>${jgmenu_theme}</i>)")
|
||||||
out+=("<big></big> $QUICK_TWEAKS,^checkout(tweaks)")
|
out+=("<big></big> $QUICK_TWEAKS,^checkout(tweaks)")
|
||||||
|
|
||||||
out2+=("^tag(tweaks)")
|
out2+=("^tag(tweaks)")
|
||||||
out2+=("^sep($OVERALL_STYLE)")
|
out2+=("^sep($OVERALL_STYLE)")
|
||||||
######
|
######
|
||||||
out2+=("$BORDER [ <b>${jgtools_border:-0}px</b> ],^checkout(mborder)")
|
out2+=("$BORDER [ <b>${jgtools_border:-0}px</b> ],^checkout(mborder)")
|
||||||
out2+=("$PADDING [ <b>${jgtools_padding:-0}px</b> ],^checkout(mpadding)")
|
out2+=("$PADDING [ <b>${jgtools_padding:-0}px</b> ],^checkout(mpadding)")
|
||||||
#out2+=("$RADIUS [ <b>${jgtools_radius:-0}</b> ],^checkout(mradius)")
|
#out2+=("$RADIUS [ <b>${jgtools_radius:-0}</b> ],^checkout(mradius)")
|
||||||
out2+=("$SUBSPACING [ <b>${submenu_spacing:-0}px</b> ],^checkout(subspacing)")
|
out2+=("$SUBSPACING [ <b>${submenu_spacing:-0}px</b> ],^checkout(subspacing)")
|
||||||
out2+=("^sep()")
|
out2+=("^sep()")
|
||||||
out2+=("$LINE_HEIGHT [ <b>$item_height_factor%</b> ],^checkout(lineheight)")
|
out2+=("$LINE_HEIGHT [ <b>$item_height_factor%</b> ],^checkout(lineheight)")
|
||||||
out2+=("^sep()")
|
out2+=("^sep()")
|
||||||
out2+=("$ARROW_STRING [ <b>$arrow_string</b> ],^checkout(arrow)")
|
out2+=("$ARROW_STRING [ <b>$arrow_string</b> ],^checkout(arrow)")
|
||||||
out2+=("$ARROW_STRING_LEFT [ <b>$arrow_string_left</b> ],^checkout(arrowleft)")
|
out2+=("$ARROW_STRING_LEFT [ <b>$arrow_string_left</b> ],^checkout(arrowleft)")
|
||||||
|
|
||||||
|
|
||||||
out3+=("^tag(mborder)")
|
out3+=("^tag(mborder)")
|
||||||
out3+=("^sep($BORDER)")
|
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" "jgctl border ${i}")") || out3+=("<big>祿</big> $(printf "<tt>%3s</tt>,%s" "$i" "jgctl border ${i}")");done
|
||||||
|
|
||||||
out3+=("^tag(mpadding)")
|
out3+=("^tag(mpadding)")
|
||||||
out3+=("^sep($PADDING)")
|
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" "jgctl padding ${i}")") || out3+=("<big>祿</big> $(printf "<tt>%3s</tt>,%s" "$i" "jgctl padding ${i}")");done
|
||||||
|
|
||||||
out3+=("^tag(subspacing)")
|
out3+=("^tag(subspacing)")
|
||||||
out3+=("^sep($SUBSPACING)")
|
out3+=("^sep($SUBSPACING)")
|
||||||
for i in -20 -12 -10 -8 -6 -4 -2 0 1 2 4 6 8 10 12 14 16 18 20; do [[ "$submenu_spacing" == $i ]] && out3+=("<big>綠</big> $(printf "<b><tt>%4s</tt></b>,%s" "$i" "mb-setvar submenu_spacing=${i};$me")") || out3+=("<big>祿</big> $(printf "<tt>%4s</tt>,%s" "$i" "mb-setvar submenu_spacing=${i};$me")");done
|
for i in -20 -12 -10 -8 -6 -4 -2 0 1 2 4 6 8 10 12 14 16 18 20; do [[ "$submenu_spacing" == $i ]] && out3+=("<big>綠</big> $(printf "<b><tt>%4s</tt></b>,%s" "$i" "mb-setvar submenu_spacing=${i};$me")") || out3+=("<big>祿</big> $(printf "<tt>%4s</tt>,%s" "$i" "mb-setvar submenu_spacing=${i};$me")");done
|
||||||
|
|
||||||
out3+=("^tag(lineheight)")
|
out3+=("^tag(lineheight)")
|
||||||
out3+=("^sep($LINE_HEIGHT)")
|
out3+=("^sep($LINE_HEIGHT)")
|
||||||
for i in 160 180 200 220 240 280 300; do [[ "$item_height_factor" == $i ]] && out3+=("<big>綠</big> $(printf "<b><tt>%4s%%</tt></b>,%s" "$i" "mb-setvar item_height_factor=${i};$me")") || out3+=("<big>祿</big> $(printf "<tt>%4s%%</tt>,%s" "$i" "mb-setvar item_height_factor=${i};$me")");done
|
for i in 160 180 200 220 240 280 300; do [[ "$item_height_factor" == $i ]] && out3+=("<big>綠</big> $(printf "<b><tt>%4s%%</tt></b>,%s" "$i" "mb-setvar item_height_factor=${i};$me")") || out3+=("<big>祿</big> $(printf "<tt>%4s%%</tt>,%s" "$i" "mb-setvar item_height_factor=${i};$me")");done
|
||||||
|
|
||||||
out3+=("^tag(arrow)")
|
out3+=("^tag(arrow)")
|
||||||
out3+=("^sep($ARROW_STRING)")
|
out3+=("^sep($ARROW_STRING)")
|
||||||
for i in "" "" "" "" "" "" "" "" "" "壟" "" "" "" "" "" "" "..." ":." "." "+" "^" "-" "_" "" "" "" "" ""; do [[ "$arrow_string" == $i ]] && out3+=("<tt>>> </tt>$i<tt> <<</tt>,$me") || out3+=("<tt> </tt>$i,mb-setvar arrow_string=${i};$me");done
|
for i in "" "" "" "" "" "" "" "" "" "壟" "" "" "" "" "" "" "..." ":." "." "+" "^" "-" "_" "" "" "" "" ""; do [[ "$arrow_string" == $i ]] && out3+=("<tt>>> </tt>$i<tt> <<</tt>,$me") || out3+=("<tt> </tt>$i,mb-setvar arrow_string=${i};$me");done
|
||||||
|
|
||||||
out3+=("^tag(arrowleft)")
|
out3+=("^tag(arrowleft)")
|
||||||
out3+=("^sep($ARROW_STRING_LEFT)")
|
out3+=("^sep($ARROW_STRING_LEFT)")
|
||||||
for i in "" "" "" "" "" "" "" "" "" "鹿" "" "" "" "" "" ""; do [[ "$arrow_string_left" == $i ]] && out3+=("<tt>>> </tt>$i<tt> <<</tt>,$me") || out3+=("<tt> </tt>$i,mb-setvar arrow_string_left=${i};$me");done
|
for i in "" "" "" "" "" "" "" "" "" "鹿" "" "" "" "" "" ""; do [[ "$arrow_string_left" == $i ]] && out3+=("<tt>>> </tt>$i<tt> <<</tt>,$me") || out3+=("<tt> </tt>$i,mb-setvar arrow_string_left=${i};$me");done
|
||||||
|
|
||||||
out2+=("^sep()")
|
out2+=("^sep()")
|
||||||
out2+=("$MBG_OPACITY,^checkout(mbgopacity")
|
out2+=("$MBG_OPACITY,^checkout(mbgopacity")
|
||||||
out3+=("^tag(mbgopacity)")
|
out3+=("^tag(mbgopacity)")
|
||||||
out3+=("^sep(mbgopacity)")
|
out3+=("^sep(mbgopacity)")
|
||||||
out3+=("100% Opaque,jgctl tweak opacity 100;$me")
|
out3+=("100% Opaque,jgctl tweak opacity 100;$me")
|
||||||
out3+=("90%,jgctl tweak opacity 90;$me")
|
out3+=("90%,jgctl tweak opacity 90;$me")
|
||||||
out3+=("80%,jgctl tweak opacity 80;$me")
|
out3+=("80%,jgctl tweak opacity 80;$me")
|
||||||
out3+=("60%,jgctl tweak opacity 60;$me")
|
out3+=("60%,jgctl tweak opacity 60;$me")
|
||||||
out3+=("50%,jgctl tweak opacity 50;$me")
|
out3+=("50%,jgctl tweak opacity 50;$me")
|
||||||
out3+=("40%,jgctl tweak opacity 40;$me")
|
out3+=("40%,jgctl tweak opacity 40;$me")
|
||||||
out3+=("30%,jgctl tweak opacity 30;$me")
|
out3+=("30%,jgctl tweak opacity 30;$me")
|
||||||
out3+=("20%,jgctl tweak opacity 20;$me")
|
out3+=("20%,jgctl tweak opacity 20;$me")
|
||||||
out3+=("10%,jgctl tweak opacity 10;$me")
|
out3+=("10%,jgctl tweak opacity 10;$me")
|
||||||
out3+=("0% Fully transparent,jgctl tweak opacity 0;$me")
|
out3+=("0% Fully transparent,jgctl tweak opacity 0;$me")
|
||||||
|
|
||||||
out2+=("^sep()")
|
out2+=("^sep()")
|
||||||
out2+=("Solid Color,jgctl tweak solid;$me")
|
out2+=("Solid Color,jgctl tweak solid;$me")
|
||||||
out2+=("Gradient,jgctl tweak gradient;$me")
|
out2+=("Gradient,jgctl tweak gradient;$me")
|
||||||
|
|
||||||
|
|
||||||
out2+=("^sep($SIZING)")
|
out2+=("^sep($SIZING)")
|
||||||
out2+=("$WIDE,jgctl tweak sizing wide;$me")
|
out2+=("$WIDE,jgctl tweak sizing wide;$me")
|
||||||
out2+=("$NORMAL,jgctl tweak sizing normal;$me")
|
out2+=("$NORMAL,jgctl tweak sizing normal;$me")
|
||||||
out2+=("$TIGHT,jgctl tweak sizing tight;$me")
|
out2+=("$TIGHT,jgctl tweak sizing tight;$me")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#### COLOR SCHEMES
|
#### COLOR SCHEMES
|
||||||
out+=("<big><span bgcolor='${MBG}'> <span fgcolor='${TBG}'></span> <span fgcolor='${SFG}'></span> <span fgcolor='${SBG}'></span> </span></big> $SCHEMES,^checkout(schemes)")
|
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+=("^tag(schemes)")
|
||||||
out2+=("^sep($SCHEMES)")
|
out2+=("^sep($SCHEMES)")
|
||||||
out2+=("^sep($MONOCHROMATIC)")
|
out2+=("^sep($MONOCHROMATIC)")
|
||||||
out2+=("^sep(<i>$CHOOSE_AND_PICK</i>)")
|
out2+=("^sep(<i>$CHOOSE_AND_PICK</i>)")
|
||||||
out2+=("<big></big> $LIGHTBG...,jgctl mono pick light")
|
out2+=("<big></big> $LIGHTBG...,jgctl mono pick light")
|
||||||
out2+=("<big></big> $DARKBG...,jgctl mono pick dark")
|
out2+=("<big></big> $DARKBG...,jgctl mono pick dark")
|
||||||
out2+=("^sep($GENERATEFROMWP)")
|
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[-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+=("<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)")
|
out2+=("^sep($SYSTEM_SCHEMES)")
|
||||||
|
|
||||||
n=1
|
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
|
do
|
||||||
((n=n+1))
|
((n=n+1))
|
||||||
case "$grad" in
|
case "$grad" in
|
||||||
none)icon="";;
|
none)icon="";;
|
||||||
top)icon="";;
|
top)icon="";;
|
||||||
right)icon="";;
|
right)icon="";;
|
||||||
bottom)icon="";;
|
bottom)icon="";;
|
||||||
left)icon="";;
|
left)icon="";;
|
||||||
top_left)icon="";;
|
top_left)icon="";;
|
||||||
top_right)icon="";;
|
top_right)icon="";;
|
||||||
bottom_left)icon="";;
|
bottom_left)icon="";;
|
||||||
bottom_right)icon="";;
|
bottom_right)icon="";;
|
||||||
esac
|
esac
|
||||||
out2+=("<tt>$(printf '%-20s' "${scheme_name}")</tt><big><span bgcolor='${mbg}' fgcolor='${nfg}'> <small>item</small> <span bgcolor='${tbg}' fgcolor='${tfg}'> <small><b>title</b></small> </span> <span bgcolor='${sbg}' fgcolor='${sfg}'> <small>[ sel ]</small> </span> <span bgcolor='${mbgt}'> <small>${icon}</small> </span></span></big>,jgctl applyscheme sys $n;$me")
|
out2+=("<tt>$(printf '%-20s' "${scheme_name}")</tt><big><span bgcolor='${mbg}' fgcolor='${nfg}'> <small>item</small> <span bgcolor='${tbg}' fgcolor='${tfg}'> <small><b>title</b></small> </span> <span bgcolor='${sbg}' fgcolor='${sfg}'> <small>[ sel ]</small> </span> <span bgcolor='${mbgt}'> <small>${icon}</small> </span></span></big>,jgctl applyscheme sys $n;$me")
|
||||||
done < <(tail -n +2 "$SYSSCHEMES")
|
done < <(tail -n +2 "$SYSSCHEMES")
|
||||||
|
|
||||||
out2+=("^sep($YOUR_SCHEMES)")
|
out2+=("^sep($YOUR_SCHEMES)")
|
||||||
out2+=("<big></big> $SAVE_CURRSCHEME,jgctl savescheme '${currcolors}';$me")
|
out2+=("<big></big> $SAVE_CURRSCHEME,jgctl savescheme '${currcolors}';$me")
|
||||||
out2+=("<big></big> $OPEN_SCHEMEFILE,xdg-open $USERSCHEMES")
|
out2+=("<big></big> $OPEN_SCHEMEFILE,xdg-open $USERSCHEMES")
|
||||||
out2+=("^sep()")
|
out2+=("^sep()")
|
||||||
n=1
|
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
|
do
|
||||||
((n=n+1))
|
((n=n+1))
|
||||||
case "$grad" in
|
case "$grad" in
|
||||||
none)icon="";;
|
none)icon="";;
|
||||||
top)icon="";;
|
top)icon="";;
|
||||||
right)icon="";;
|
right)icon="";;
|
||||||
bottom)icon="";;
|
bottom)icon="";;
|
||||||
left)icon="";;
|
left)icon="";;
|
||||||
top_left)icon="";;
|
top_left)icon="";;
|
||||||
top_right)icon="";;
|
top_right)icon="";;
|
||||||
bottom_left)icon="";;
|
bottom_left)icon="";;
|
||||||
bottom_right)icon="";;
|
bottom_right)icon="";;
|
||||||
esac
|
esac
|
||||||
out2+=("<tt>$(printf '%-20s' "${scheme_name}")</tt><big><span bgcolor='${mbg}' fgcolor='${nfg}'> <small>item</small> <span bgcolor='${tbg}' fgcolor='${tfg}'> <small><b>title</b></small> </span> <span bgcolor='${sbg}' fgcolor='${sfg}'> <small>[ sel ]</small> </span> <span bgcolor='${mbgt}'> <small>${icon}</small> </span></span></big>,^checkout(sch${n})")
|
out2+=("<tt>$(printf '%-20s' "${scheme_name}")</tt><big><span bgcolor='${mbg}' fgcolor='${nfg}'> <small>item</small> <span bgcolor='${tbg}' fgcolor='${tfg}'> <small><b>title</b></small> </span> <span bgcolor='${sbg}' fgcolor='${sfg}'> <small>[ sel ]</small> </span> <span bgcolor='${mbgt}'> <small>${icon}</small> </span></span></big>,^checkout(sch${n})")
|
||||||
out3+=("^tag(sch${n}")
|
out3+=("^tag(sch${n}")
|
||||||
out3+=("^sep($COLORSCHEME: ${scheme_name})")
|
out3+=("^sep($COLORSCHEME: ${scheme_name})")
|
||||||
out3+=("<big></big> $APPLY_SCHEME,jgctl applyscheme usr ${n};$me")
|
out3+=("<big></big> $APPLY_SCHEME,jgctl applyscheme usr ${n};$me")
|
||||||
out3+=("^sep($DELETE)")
|
out3+=("^sep($DELETE)")
|
||||||
out3+=("<big></big> $DELETE_SCHEME ${scheme_name},jgctl delscheme ${n};$me")
|
out3+=("<big></big> $DELETE_SCHEME ${scheme_name},jgctl delscheme ${n};$me")
|
||||||
done < <(tail -n +2 "$USERSCHEMES")
|
done < <(tail -n +2 "$USERSCHEMES")
|
||||||
|
|
||||||
|
|
||||||
out+=("^sep($FONTS)")
|
out+=("^sep($FONTS)")
|
||||||
out+=("<big></big> $TITLE [ <b>$menu_sep_font_family $menu_sep_font_size</b> ],^checkout(mtitlefont)")
|
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)")
|
out+=("<big></big> $ITEM [ <b>$menu_font_family $menu_font_size</b> ],^checkout(mitemfont)")
|
||||||
|
|
||||||
# Item font submenu
|
# Item font submenu
|
||||||
out2+=("^tag(mitemfont)")
|
out2+=("^tag(mitemfont)")
|
||||||
out2+=("^sep($ITEM_FONT)")
|
out2+=("^sep($ITEM_FONT)")
|
||||||
out2+=("<big></big> $FONT_CUSTOM,mb-setfont menu_item;$me")
|
out2+=("<big></big> $FONT_CUSTOM,mb-setfont menu_item;$me")
|
||||||
out2+=("^sep($FONT_SIZE)")
|
out2+=("^sep($FONT_SIZE)")
|
||||||
out2+=("<big></big> $INCREASE <b>$((menu_font_size+1)) px</b>,mb-setvar menu_font_size=$((menu_font_size+1));$me")
|
out2+=("<big></big> $INCREASE <b>$((menu_font_size+1)) px</b>,mb-setvar menu_font_size=$((menu_font_size+1));$me")
|
||||||
out2+=("<big></big> $DECREASE <b>$((menu_font_size-1)) px</b>,mb-setvar menu_font_size=$((menu_font_size-1));$me")
|
out2+=("<big></big> $DECREASE <b>$((menu_font_size-1)) px</b>,mb-setvar menu_font_size=$((menu_font_size-1));$me")
|
||||||
out2+=("^sep()")
|
out2+=("^sep()")
|
||||||
sizes=(14 13 12 11 10 9 8)
|
sizes=(14 13 12 11 10 9 8)
|
||||||
for i in "${sizes[@]}"
|
for i in "${sizes[@]}"
|
||||||
do
|
do
|
||||||
[[ "$menu_font_size" == "$i" ]] && out2+=("<big>綠</big> <b>$i px</b>,$me") || out2+=("<big>祿</big> $i px,mb-setvar menu_font_size=$i;$me")
|
[[ "$menu_font_size" == "$i" ]] && out2+=("<big>綠</big> <b>$i px</b>,$me") || out2+=("<big>祿</big> $i px,mb-setvar menu_font_size=$i;$me")
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -f "$HOME/.config/mabox/fonts.list" ];then
|
if [ -f "$HOME/.config/mabox/fonts.list" ];then
|
||||||
mapfile -t favfonts < <( grep -vE "^($|#)" ~/.config/mabox/fonts.list)
|
mapfile -t favfonts < <( grep -vE "^($|#)" ~/.config/mabox/fonts.list)
|
||||||
else
|
else
|
||||||
mapfile -t favfonts < <( grep -vE "^($|#)" /usr/share/mabox-colorizer/fonts.list)
|
mapfile -t favfonts < <( grep -vE "^($|#)" /usr/share/mabox-colorizer/fonts.list)
|
||||||
cp /usr/share/mabox-colorizer/fonts.list ~/.config/mabox/
|
cp /usr/share/mabox-colorizer/fonts.list ~/.config/mabox/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${#favfonts[@]}" -gt 0 ];then
|
if [ "${#favfonts[@]}" -gt 0 ];then
|
||||||
out2+=("^sep($FONT_FAMILY)")
|
out2+=("^sep($FONT_FAMILY)")
|
||||||
for fon in "${favfonts[@]}";do
|
for fon in "${favfonts[@]}";do
|
||||||
[[ "$menu_font_family" == "$fon" ]] && out2+=("<big>綠</big> <span font_family=\"${fon}\">${fon}</span>,$me") || out2+=("<big>祿</big> <span font_family=\"${fon}\">${fon}</span>,mb-setvar \"menu_font_family='${fon}'\";$me")
|
[[ "$menu_font_family" == "$fon" ]] && out2+=("<big>綠</big> <span font_family=\"${fon}\">${fon}</span>,$me") || out2+=("<big>祿</big> <span font_family=\"${fon}\">${fon}</span>,mb-setvar \"menu_font_family='${fon}'\";$me")
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
out2+=("^tag(mtitlefont)")
|
out2+=("^tag(mtitlefont)")
|
||||||
out2+=("^sep($TITLE_FONT)")
|
out2+=("^sep($TITLE_FONT)")
|
||||||
out2+=("<big></big> $FONT_CUSTOM,mb-setfont menu_sep;$me")
|
out2+=("<big></big> $FONT_CUSTOM,mb-setfont menu_sep;$me")
|
||||||
|
|
||||||
out2+=("^sep($FONT_SIZE)")
|
out2+=("^sep($FONT_SIZE)")
|
||||||
out2+=("<big></big> $INCREASE <b>$((menu_sep_font_size+1)) px</b>,mb-setvar menu_sep_font_size=$((menu_sep_font_size+1));$me")
|
out2+=("<big></big> $INCREASE <b>$((menu_sep_font_size+1)) px</b>,mb-setvar menu_sep_font_size=$((menu_sep_font_size+1));$me")
|
||||||
out2+=("<big></big> $DECREASE <b>$((menu_sep_font_size-1)) px</b>,mb-setvar menu_sep_font_size=$((menu_sep_font_size-1));$me")
|
out2+=("<big></big> $DECREASE <b>$((menu_sep_font_size-1)) px</b>,mb-setvar menu_sep_font_size=$((menu_sep_font_size-1));$me")
|
||||||
out2+=("^sep()")
|
out2+=("^sep()")
|
||||||
sizes=(14 13 12 11 10 9 8)
|
sizes=(14 13 12 11 10 9 8)
|
||||||
for i in "${sizes[@]}"
|
for i in "${sizes[@]}"
|
||||||
do
|
do
|
||||||
[[ "$menu_sep_font_size" == "$i" ]] && out2+=("<big>綠</big> <b>$i px</b>,$me") || out2+=("<big>祿</big> $i px,mb-setvar menu_sep_font_size=$i;$me")
|
[[ "$menu_sep_font_size" == "$i" ]] && out2+=("<big>綠</big> <b>$i px</b>,$me") || out2+=("<big>祿</big> $i px,mb-setvar menu_sep_font_size=$i;$me")
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ "${#favfonts[@]}" -gt 0 ];then
|
if [ "${#favfonts[@]}" -gt 0 ];then
|
||||||
out2+=("^sep($FONT_FAMILY)")
|
out2+=("^sep($FONT_FAMILY)")
|
||||||
for fon in "${favfonts[@]}";do
|
for fon in "${favfonts[@]}";do
|
||||||
[[ "$menu_sep_font_family" == "$fon" ]] && out2+=("<big>綠</big> <span font_family=\"${fon}\">${fon}</span>,$me") || out2+=("<big>祿</big> <span font_family=\"${fon}\">${fon}</span>,mb-setvar \"menu_sep_font_family='${fon}'\";$me")
|
[[ "$menu_sep_font_family" == "$fon" ]] && out2+=("<big>綠</big> <span font_family=\"${fon}\">${fon}</span>,$me") || out2+=("<big>祿</big> <span font_family=\"${fon}\">${fon}</span>,mb-setvar \"menu_sep_font_family='${fon}'\";$me")
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### MENU
|
### MENU
|
||||||
out+=("^sep(Menu)")
|
out+=("^sep(Menu)")
|
||||||
@ -503,16 +499,16 @@ fi
|
|||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
out+=("Apply <big><span bgcolor='${SBG}' fgcolor='${SFG}'> accent </span></big> preset,^checkout(sel_accents)")
|
out+=("Apply <big><span bgcolor='${SBG}' fgcolor='${SFG}'> accent </span></big> preset,^checkout(sel_accents)")
|
||||||
|
|
||||||
out2+=("^tag(sel_accents)")
|
out2+=("^tag(sel_accents)")
|
||||||
out2+=("^sep(Accent presets)")
|
out2+=("^sep(Accent presets)")
|
||||||
while IFS="," read -r BG FG BGNAME FGNAME
|
while IFS="," read -r BG FG BGNAME FGNAME
|
||||||
do
|
do
|
||||||
[[ "$BGNAME" == "" ]] && BGNAME=${BG}
|
[[ "$BGNAME" == "" ]] && BGNAME=${BG}
|
||||||
[[ "$FGNAME" == "" ]] && FGNAME=${FG}
|
[[ "$FGNAME" == "" ]] && FGNAME=${FG}
|
||||||
out2+=("<big><span bgcolor='${FG}'> <span bgcolor='${BG}' fgcolor='${FG}'><small><tt>$(printf '%*s' 25 "${FGNAME} on ${BGNAME}")</tt></small> </span> </span></big>,jgctl accent '${BG}' '${FG}';$me")
|
out2+=("<big><span bgcolor='${FG}'> <span bgcolor='${BG}' fgcolor='${FG}'><small><tt>$(printf '%*s' 25 "${FGNAME} on ${BGNAME}")</tt></small> </span> </span></big>,jgctl accent '${BG}' '${FG}';$me")
|
||||||
out21+=("<big><span bgcolor='${BG}'> <span bgcolor='${FG}' fgcolor='${BG}'><small><tt>$(printf '%*s' 25 "${BGNAME} on ${FGNAME}")</tt></small> </span> </span></big>,jgctl accent '${FG}' '${BG}';$me")
|
out21+=("<big><span bgcolor='${BG}'> <span bgcolor='${FG}' fgcolor='${BG}'><small><tt>$(printf '%*s' 25 "${BGNAME} on ${FGNAME}")</tt></small> </span> </span></big>,jgctl accent '${FG}' '${BG}';$me")
|
||||||
done < <(tail -n +2 /usr/share/mabox-colorizer/readable_colors.csv)
|
done < <(tail -n +2 /usr/share/mabox-colorizer/readable_colors.csv)
|
||||||
out2+=("${out21[@]}")
|
out2+=("${out21[@]}")
|
||||||
|
|
||||||
### ITEM
|
### ITEM
|
||||||
out+=("^sep($ITEM)")
|
out+=("^sep($ITEM)")
|
||||||
@ -577,7 +573,6 @@ if [[ "$1" == "-s" ]]; then
|
|||||||
|
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
out+=(" ${arrow_string_left} $_COLORIZER_ROOT,colorizer -s")
|
out+=(" ${arrow_string_left} $_COLORIZER_ROOT,colorizer -s")
|
||||||
out+=(" ${arrow_string_left} ${arrow_string_left} $_LEFTSIDEPANEL,mb-jgtools places")
|
|
||||||
|
|
||||||
if [[ "$colorizer_size" == "full" ]];then
|
if [[ "$colorizer_size" == "full" ]];then
|
||||||
eval $(xdotool getdisplaygeometry --shell)
|
eval $(xdotool getdisplaygeometry --shell)
|
||||||
|
169
bin/colorizer-ob
169
bin/colorizer-ob
@ -140,7 +140,6 @@ case "$LANG" in
|
|||||||
UNLOCK="odblokuj swoją kreatywność..."
|
UNLOCK="odblokuj swoją kreatywność..."
|
||||||
SWITCH_TO_MBCOLORS="Przełącz na <b>MBColors</b>"
|
SWITCH_TO_MBCOLORS="Przełącz na <b>MBColors</b>"
|
||||||
_COLORIZER_ROOT="<b>Colorizer</b> - menu główne"
|
_COLORIZER_ROOT="<b>Colorizer</b> - menu główne"
|
||||||
_LEFTSIDEPANEL="Lewy panel boczny"
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
QUICK_TWEAKS="Global Settings/Quick Tweaks"
|
QUICK_TWEAKS="Global Settings/Quick Tweaks"
|
||||||
@ -226,7 +225,6 @@ case "$LANG" in
|
|||||||
UNLOCK="Unlock your creativity..."
|
UNLOCK="Unlock your creativity..."
|
||||||
SWITCH_TO_MBCOLORS="Switch to <b>MBColors</b>"
|
SWITCH_TO_MBCOLORS="Switch to <b>MBColors</b>"
|
||||||
_COLORIZER_ROOT="<b>Colorizer</b> rootmenu"
|
_COLORIZER_ROOT="<b>Colorizer</b> rootmenu"
|
||||||
_LEFTSIDEPANEL="Left Sidepanel"
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -247,19 +245,19 @@ getvalues () {
|
|||||||
#read BEVEL REST <<< "$(grep .title.bg: ${THEMERC} | cut -d':' -f2)"
|
#read BEVEL REST <<< "$(grep .title.bg: ${THEMERC} | cut -d':' -f2)"
|
||||||
read TITLEBG <<< "$(grep .title.bg: ${THEMERC} | cut -d':' -f2)"
|
read TITLEBG <<< "$(grep .title.bg: ${THEMERC} | cut -d':' -f2)"
|
||||||
case "${TITLEBG,,}" in
|
case "${TITLEBG,,}" in
|
||||||
*flat*) BEVEL="flat";;
|
*flat*) BEVEL="flat";;
|
||||||
*raised*) BEVEL="raised";;
|
*raised*) BEVEL="raised";;
|
||||||
*sunken*) BEVEL="sunken";;
|
*sunken*) BEVEL="sunken";;
|
||||||
esac
|
esac
|
||||||
case "${TITLEBG,,}" in
|
case "${TITLEBG,,}" in
|
||||||
*solid*) GRAD=Solid;;
|
*solid*) GRAD=Solid;;
|
||||||
*splitvertical*) GRAD=SplitVertical;;
|
*splitvertical*) GRAD=SplitVertical;;
|
||||||
*vertical*) GRAD=Vertical;;
|
*vertical*) GRAD=Vertical;;
|
||||||
*mirrorhorizontal*) GRAD=MirrorHorizontal;;
|
*mirrorhorizontal*) GRAD=MirrorHorizontal;;
|
||||||
*horizontal*) GRAD=Horizontal;;
|
*horizontal*) GRAD=Horizontal;;
|
||||||
*crossdiagonal*) GRAD=CrossDiagonal;;
|
*crossdiagonal*) GRAD=CrossDiagonal;;
|
||||||
*diagonal*) GRAD=Diagonal;;
|
*diagonal*) GRAD=Diagonal;;
|
||||||
*pyramid*) GRAD=Pyramid;;
|
*pyramid*) GRAD=Pyramid;;
|
||||||
|
|
||||||
esac
|
esac
|
||||||
but=$(<"$MBCOLORSDIR/.buttons")
|
but=$(<"$MBCOLORSDIR/.buttons")
|
||||||
@ -328,83 +326,83 @@ currvalues=("${ABG}|${ABGTO}|${AFG}|${ALINE}|${NBG}|${NBGTO}|${NFG}|${NLINE}|${G
|
|||||||
#notify-send.sh "$BEVEL" "${currvalues}"
|
#notify-send.sh "$BEVEL" "${currvalues}"
|
||||||
|
|
||||||
if [ ! -f "$USERTHEMES" ]; then
|
if [ ! -f "$USERTHEMES" ]; then
|
||||||
mkdir -p "$HOME/.config/colorizer/openbox/"
|
mkdir -p "$HOME/.config/colorizer/openbox/"
|
||||||
echo " ABG | ABGTO | AFG | ALINE | NBG | NBGTO | NFG | NLINE | GRAD |TXTJUST|PHEIGHT|PWIDTH|HANDLE|BORD|BEVEL|BUTTONS|FSIZE|FNAME|NDSLIMC|WEIGHT|SLANT|scheme_name" > "$USERTHEMES"
|
echo " ABG | ABGTO | AFG | ALINE | NBG | NBGTO | NFG | NLINE | GRAD |TXTJUST|PHEIGHT|PWIDTH|HANDLE|BORD|BEVEL|BUTTONS|FSIZE|FNAME|NDSLIMC|WEIGHT|SLANT|scheme_name" > "$USERTHEMES"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#out+=("^sep($OBTHEME_LBL: <i>$OBTHEME</i>)")
|
#out+=("^sep($OBTHEME_LBL: <i>$OBTHEME</i>)")
|
||||||
|
|
||||||
out+=("<big></big> $QUICK_TWEAKS,^checkout(tweaks)")
|
out+=("<big></big> $QUICK_TWEAKS,^checkout(tweaks)")
|
||||||
|
|
||||||
out2+=("^tag(tweaks)")
|
out2+=("^tag(tweaks)")
|
||||||
out2+=("^sep(Overall style)")
|
out2+=("^sep(Overall style)")
|
||||||
out2+=("Large,obtctl tweak large;$me")
|
out2+=("Large,obtctl tweak large;$me")
|
||||||
out2+=("Big,obtctl tweak big;$me")
|
out2+=("Big,obtctl tweak big;$me")
|
||||||
out2+=("Normal,obtctl tweak normal;$me")
|
out2+=("Normal,obtctl tweak normal;$me")
|
||||||
out2+=("Small,obtctl tweak small;$me")
|
out2+=("Small,obtctl tweak small;$me")
|
||||||
out2+=("Tiny,obtctl tweak tiny;$me")
|
out2+=("Tiny,obtctl tweak tiny;$me")
|
||||||
out2+=("^sep()")
|
out2+=("^sep()")
|
||||||
out2+=("<big></big> $RANDOMIZE,obtctl randomizer;$me")
|
out2+=("<big></big> $RANDOMIZE,obtctl randomizer;$me")
|
||||||
out2+=("\"\"\"^sep($RAISED_OR_FLAT?)\"\"\"")
|
out2+=("\"\"\"^sep($RAISED_OR_FLAT?)\"\"\"")
|
||||||
[[ "$BEVEL" == "flat" ]] && out2+=("<big>綠</big> $FLAT,obtctl raised 0;$me") || out2+=("<big>祿</big> $FLAT,obtctl raised 0;$me")
|
[[ "$BEVEL" == "flat" ]] && out2+=("<big>綠</big> $FLAT,obtctl raised 0;$me") || out2+=("<big>祿</big> $FLAT,obtctl raised 0;$me")
|
||||||
[[ "$BEVEL" == "raised" ]] && out2+=("<big>綠</big> $RAISED,obtctl raised 1;$me") || out2+=("<big>祿</big> $RAISED,obtctl raised 1;$me")
|
[[ "$BEVEL" == "raised" ]] && out2+=("<big>綠</big> $RAISED,obtctl raised 1;$me") || out2+=("<big>祿</big> $RAISED,obtctl raised 1;$me")
|
||||||
[[ "$BEVEL" == "sunken" ]] && out2+=("<big>綠</big> $SUNKEN,obtctl raised 2;$me") || out2+=("<big>祿</big> $SUNKEN,obtctl raised 2;$me")
|
[[ "$BEVEL" == "sunken" ]] && out2+=("<big>綠</big> $SUNKEN,obtctl raised 2;$me") || out2+=("<big>祿</big> $SUNKEN,obtctl raised 2;$me")
|
||||||
out2+=("^sep($GRADIENT_TYPE)")
|
out2+=("^sep($GRADIENT_TYPE)")
|
||||||
[[ "$GRAD" == Solid ]] && out2+=("<big>綠</big> $SOLID_COLOR,obtctl gradient_type solid;$me") || out2+=("<big>祿</big> $SOLID_COLOR,obtctl gradient_type solid;$me")
|
[[ "$GRAD" == Solid ]] && out2+=("<big>綠</big> $SOLID_COLOR,obtctl gradient_type solid;$me") || out2+=("<big>祿</big> $SOLID_COLOR,obtctl gradient_type solid;$me")
|
||||||
out2+=("^sep()")
|
out2+=("^sep()")
|
||||||
[[ "$GRAD" == Vertical ]] && out2+=("<big>綠</big> $VERTICAL,obtctl gradient_type vertical;$me") || out2+=("<big>祿</big> $VERTICAL,obtctl gradient_type vertical;$me")
|
[[ "$GRAD" == Vertical ]] && out2+=("<big>綠</big> $VERTICAL,obtctl gradient_type vertical;$me") || out2+=("<big>祿</big> $VERTICAL,obtctl gradient_type vertical;$me")
|
||||||
[[ "$GRAD" == Horizontal ]] && out2+=("<big>綠</big> $HORIZONTAL,obtctl gradient_type horizontal;$me") || out2+=("<big>祿</big> $HORIZONTAL,obtctl gradient_type horizontal;$me")
|
[[ "$GRAD" == Horizontal ]] && out2+=("<big>綠</big> $HORIZONTAL,obtctl gradient_type horizontal;$me") || out2+=("<big>祿</big> $HORIZONTAL,obtctl gradient_type horizontal;$me")
|
||||||
[[ "$GRAD" == MirrorHorizontal ]] && out2+=("<big>綠</big> $MIRRORHORIZONTAL,obtctl gradient_type mirrorhorizontal;$me") || out2+=("<big>祿</big> $MIRRORHORIZONTAL,obtctl gradient_type mirrorhorizontal;$me")
|
[[ "$GRAD" == MirrorHorizontal ]] && out2+=("<big>綠</big> $MIRRORHORIZONTAL,obtctl gradient_type mirrorhorizontal;$me") || out2+=("<big>祿</big> $MIRRORHORIZONTAL,obtctl gradient_type mirrorhorizontal;$me")
|
||||||
[[ "$GRAD" == SplitVertical ]] && out2+=("<big>綠</big> $SPLITVERTICAL,obtctl gradient_type splitvertical;$me") || out2+=("<big>祿</big> $SPLITVERTICAL,obtctl gradient_type splitvertical;$me")
|
[[ "$GRAD" == SplitVertical ]] && out2+=("<big>綠</big> $SPLITVERTICAL,obtctl gradient_type splitvertical;$me") || out2+=("<big>祿</big> $SPLITVERTICAL,obtctl gradient_type splitvertical;$me")
|
||||||
[[ "$GRAD" == Diagonal ]] && out2+=("<big>綠</big> $DIAGONAL,obtctl gradient_type diagonal;$me") || out2+=("<big>祿</big> $DIAGONAL,obtctl gradient_type diagonal;$me")
|
[[ "$GRAD" == Diagonal ]] && out2+=("<big>綠</big> $DIAGONAL,obtctl gradient_type diagonal;$me") || out2+=("<big>祿</big> $DIAGONAL,obtctl gradient_type diagonal;$me")
|
||||||
[[ "$GRAD" == CrossDiagonal ]] && out2+=("<big>綠</big> $CROSSDIAGONAL,obtctl gradient_type crossdiagonal;$me") || out2+=("<big>祿</big> $CROSSDIAGONAL,obtctl gradient_type crossdiagonal;$me")
|
[[ "$GRAD" == CrossDiagonal ]] && out2+=("<big>綠</big> $CROSSDIAGONAL,obtctl gradient_type crossdiagonal;$me") || out2+=("<big>祿</big> $CROSSDIAGONAL,obtctl gradient_type crossdiagonal;$me")
|
||||||
[[ "$GRAD" == Pyramid ]] && out2+=("<big>綠</big> $PYRAMID,obtctl gradient_type pyramid;$me") || out2+=("<big>祿</big> $PYRAMID,obtctl gradient_type pyramid;$me")
|
[[ "$GRAD" == Pyramid ]] && out2+=("<big>綠</big> $PYRAMID,obtctl gradient_type pyramid;$me") || out2+=("<big>祿</big> $PYRAMID,obtctl gradient_type pyramid;$me")
|
||||||
|
|
||||||
#### COLOR SCHEMES
|
#### COLOR SCHEMES
|
||||||
out+=("<big><span fgcolor='${ABGTO}'></span> <span fgcolor='${ABG}'></span> <span fgcolor='${ABGTO}'></span></big> $THEMES,^checkout(schemes)")
|
out+=("<big><span fgcolor='${ABGTO}'></span> <span fgcolor='${ABG}'></span> <span fgcolor='${ABGTO}'></span></big> $THEMES,^checkout(schemes)")
|
||||||
out2+=("^tag(schemes)")
|
out2+=("^tag(schemes)")
|
||||||
out2+=("^sep($THEMES)")
|
out2+=("^sep($THEMES)")
|
||||||
out2+=("^sep($MONOCHROMATIC)")
|
out2+=("^sep($MONOCHROMATIC)")
|
||||||
out2+=("^sep(<i>$CHOOSE_AND_PICK</i>)")
|
out2+=("^sep(<i>$CHOOSE_AND_PICK</i>)")
|
||||||
out2+=("<big></big> $LIGHTBG...,obtctl mono pick light col")
|
out2+=("<big></big> $LIGHTBG...,obtctl mono pick light")
|
||||||
out2+=("<big></big> $DARKBG...,obtctl mono pick dark col")
|
out2+=("<big></big> $DARKBG...,obtctl mono pick dark")
|
||||||
out2+=("^sep(<i>$GENERATEFROMWP</i>)")
|
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='#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+=("<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+=("^sep()")
|
||||||
out2+=("<big></big> $RANDOMIZE,obtctl randomizer;$me")
|
out2+=("<big></big> $RANDOMIZE,obtctl randomizer;$me")
|
||||||
|
|
||||||
out2+=("^sep($SYSTEM_THEMES)")
|
out2+=("^sep($SYSTEM_THEMES)")
|
||||||
n=1
|
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
|
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
|
||||||
do
|
do
|
||||||
((n=n+1))
|
((n=n+1))
|
||||||
out2+=("<big><span bgcolor='${abg}' fgcolor='${afg}'><span bgcolor='${abgto}'> </span><small> <tt>$(printf '%-20s' "${scheme_name}")</tt> </small><span bgcolor='${abgto}'> </span></span> <span bgcolor='${nbgto}'> </span><span bgcolor='${nbg}' fgcolor='${nfg}'><small> <tt><i>inactive</i></tt> </small></span><span bgcolor='${nbgto}'> </span></big>,^checkout(schsys${n})")
|
out2+=("<big><span bgcolor='${abg}' fgcolor='${afg}'><span bgcolor='${abgto}'> </span><small> <tt>$(printf '%-20s' "${scheme_name}")</tt> </small><span bgcolor='${abgto}'> </span></span> <span bgcolor='${nbgto}'> </span><span bgcolor='${nbg}' fgcolor='${nfg}'><small> <tt><i>inactive</i></tt> </small></span><span bgcolor='${nbgto}'> </span></big>,^checkout(schsys${n})")
|
||||||
out3+=("^tag(schsys${n}")
|
out3+=("^tag(schsys${n}")
|
||||||
out3+=("^sep($THEME: ${scheme_name})")
|
out3+=("^sep($THEME: ${scheme_name})")
|
||||||
out3+=("^sep($APPLY)")
|
out3+=("^sep($APPLY)")
|
||||||
out3+=("\"\"\"<big></big> $APPLY_THEME\"\"\",obtctl applytheme sys ${n};$me")
|
out3+=("\"\"\"<big></big> $APPLY_THEME\"\"\",obtctl applytheme sys ${n};$me")
|
||||||
out3+=("^sep()")
|
out3+=("^sep()")
|
||||||
out3+=("<big></big> $APPLY_SCHEME <big><span bgcolor='${abgto}'> </span><span bgcolor='${abg}'> </span><span bgcolor='${abgto}'> </span></big>,obtctl applyscheme sys ${n};$me")
|
out3+=("<big></big> $APPLY_SCHEME <big><span bgcolor='${abgto}'> </span><span bgcolor='${abg}'> </span><span bgcolor='${abgto}'> </span></big>,obtctl applyscheme sys ${n};$me")
|
||||||
done < <(tail -n +2 "$SYSTHEMES")
|
done < <(tail -n +2 "$SYSTHEMES")
|
||||||
out2+=("^sep($YOUR_THEMES)")
|
out2+=("^sep($YOUR_THEMES)")
|
||||||
out2+=("<big></big> $SAVE_CURRTHEME,obtctl savetheme '${currvalues}';$me")
|
out2+=("<big></big> $SAVE_CURRTHEME,obtctl savetheme '${currvalues}';$me")
|
||||||
out2+=("<big></big> $OPEN_THEMEFILE,xdg-open $USERTHEMES")
|
out2+=("<big></big> $OPEN_THEMEFILE,xdg-open $USERTHEMES")
|
||||||
out2+=("^sep()")
|
out2+=("^sep()")
|
||||||
n=1
|
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
|
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
|
||||||
do
|
do
|
||||||
((n=n+1))
|
((n=n+1))
|
||||||
out2+=("<big><span bgcolor='${abg}' fgcolor='${afg}'><span bgcolor='${abgto}'> </span><small> <tt>$(printf '%-20s' "${scheme_name}")</tt> </small><span bgcolor='${abgto}'> </span></span> <span bgcolor='${nbgto}'> </span><span bgcolor='${nbg}' fgcolor='${nfg}'><small> <tt><i>inactive</i></tt> </small></span><span bgcolor='${nbgto}'> </span></big>,^checkout(sch${n})")
|
out2+=("<big><span bgcolor='${abg}' fgcolor='${afg}'><span bgcolor='${abgto}'> </span><small> <tt>$(printf '%-20s' "${scheme_name}")</tt> </small><span bgcolor='${abgto}'> </span></span> <span bgcolor='${nbgto}'> </span><span bgcolor='${nbg}' fgcolor='${nfg}'><small> <tt><i>inactive</i></tt> </small></span><span bgcolor='${nbgto}'> </span></big>,^checkout(sch${n})")
|
||||||
out3+=("^tag(sch${n}")
|
out3+=("^tag(sch${n}")
|
||||||
out3+=("^sep($THEME: ${scheme_name})")
|
out3+=("^sep($THEME: ${scheme_name})")
|
||||||
out3+=("^sep($APPLY)")
|
out3+=("^sep($APPLY)")
|
||||||
out3+=("\"\"\"<big></big> $APPLY_THEME\"\"\",obtctl applytheme usr ${n};$me")
|
out3+=("\"\"\"<big></big> $APPLY_THEME\"\"\",obtctl applytheme usr ${n};$me")
|
||||||
out3+=("^sep()")
|
out3+=("^sep()")
|
||||||
out3+=("<big></big> $APPLY_SCHEME <big><span bgcolor='${abgto}'> </span><span bgcolor='${abg}'> </span><span bgcolor='${abgto}'> </span></big>,obtctl applyscheme usr ${n};$me")
|
out3+=("<big></big> $APPLY_SCHEME <big><span bgcolor='${abgto}'> </span><span bgcolor='${abg}'> </span><span bgcolor='${abgto}'> </span></big>,obtctl applyscheme usr ${n};$me")
|
||||||
out3+=("^sep($DELETE)")
|
out3+=("^sep($DELETE)")
|
||||||
out3+=("<big></big> $DELETE_THEME: <i>${scheme_name}</i>,obtctl delscheme ${n};$me")
|
out3+=("<big></big> $DELETE_THEME: <i>${scheme_name}</i>,obtctl delscheme ${n};$me")
|
||||||
done < <(tail -n +2 "$USERTHEMES")
|
done < <(tail -n +2 "$USERTHEMES")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -503,10 +501,10 @@ done
|
|||||||
out2+=("^sep($FONTFAMILY)")
|
out2+=("^sep($FONTFAMILY)")
|
||||||
|
|
||||||
if [ -f "$HOME/.config/mabox/fonts.list" ];then
|
if [ -f "$HOME/.config/mabox/fonts.list" ];then
|
||||||
mapfile -t favfonts < <( grep -vE "^($|#)" ~/.config/mabox/fonts.list)
|
mapfile -t favfonts < <( grep -vE "^($|#)" ~/.config/mabox/fonts.list)
|
||||||
else
|
else
|
||||||
mapfile -t favfonts < <( grep -vE "^($|#)" /usr/share/mabox-colorizer/fonts.list)
|
mapfile -t favfonts < <( grep -vE "^($|#)" /usr/share/mabox-colorizer/fonts.list)
|
||||||
cp /usr/share/mabox-colorizer/fonts.list ~/.config/mabox/
|
cp /usr/share/mabox-colorizer/fonts.list ~/.config/mabox/
|
||||||
fi
|
fi
|
||||||
if [ "${#favfonts[@]}" -gt 0 ];then
|
if [ "${#favfonts[@]}" -gt 0 ];then
|
||||||
for fon in "${favfonts[@]}";do
|
for fon in "${favfonts[@]}";do
|
||||||
@ -622,10 +620,10 @@ out+=("^sep(font family)")
|
|||||||
|
|
||||||
|
|
||||||
if [ -f "$HOME/.config/mabox/fonts.list" ];then
|
if [ -f "$HOME/.config/mabox/fonts.list" ];then
|
||||||
mapfile -t favfonts < <( grep -vE "^($|#)" ~/.config/mabox/fonts.list)
|
mapfile -t favfonts < <( grep -vE "^($|#)" ~/.config/mabox/fonts.list)
|
||||||
else
|
else
|
||||||
mapfile -t favfonts < <( grep -vE "^($|#)" /usr/share/mabox-colorizer/fonts.list)
|
mapfile -t favfonts < <( grep -vE "^($|#)" /usr/share/mabox-colorizer/fonts.list)
|
||||||
cp /usr/share/mabox-colorizer/fonts.list ~/.config/mabox/
|
cp /usr/share/mabox-colorizer/fonts.list ~/.config/mabox/
|
||||||
fi
|
fi
|
||||||
if [ "${#favfonts[@]}" -gt 0 ];then
|
if [ "${#favfonts[@]}" -gt 0 ];then
|
||||||
for fon in "${favfonts[@]}";do
|
for fon in "${favfonts[@]}";do
|
||||||
@ -669,7 +667,6 @@ source $HOME/.config/colorizer/colorizer.conf
|
|||||||
|
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
out+=(" ${arrow_string_left} $_COLORIZER_ROOT,colorizer -s")
|
out+=(" ${arrow_string_left} $_COLORIZER_ROOT,colorizer -s")
|
||||||
out+=(" ${arrow_string_left} ${arrow_string_left} $_LEFTSIDEPANEL,mb-jgtools places")
|
|
||||||
|
|
||||||
|
|
||||||
if [[ "$colorizer_size" == "full" ]];then
|
if [[ "$colorizer_size" == "full" ]];then
|
||||||
|
83
bin/conkyctl
83
bin/conkyctl
@ -717,28 +717,28 @@ if [[ "$OLD_SYNTAX" = "true" ]];then
|
|||||||
if [[ "$1" =~ "quoter" ]]; then
|
if [[ "$1" =~ "quoter" ]]; then
|
||||||
case "$LANG" in
|
case "$LANG" in
|
||||||
pl*)
|
pl*)
|
||||||
FONTSIZE="Czcionka i rozmiar"
|
FONTSIZE="Rozmiar czcionki"
|
||||||
QUOTE_FSIZE="Cytat"
|
QUOTE_FSIZE="Cytat"
|
||||||
AUTHOR_FSIZE="Autor"
|
AUTHOR_FSIZE="Autor"
|
||||||
EDIT_CONF="Edytuj plik konfiguracyjny"
|
EDIT_CONF="Edytuj plik konfiguracyjny"
|
||||||
RELOAD="Przeładuj"
|
RELOAD="Przeładuj"
|
||||||
;;
|
;;
|
||||||
es*)
|
es*)
|
||||||
FONTSIZE="Font size & family"
|
FONTSIZE="Font size"
|
||||||
QUOTE_FSIZE="Quote"
|
QUOTE_FSIZE="Quote"
|
||||||
AUTHOR_FSIZE="Author"
|
AUTHOR_FSIZE="Author"
|
||||||
EDIT_CONF="Edit conf file"
|
EDIT_CONF="Edit conf file"
|
||||||
RELOAD="Reload"
|
RELOAD="Reload"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
FONTSIZE="Font size & family"
|
FONTSIZE="Font size"
|
||||||
QUOTE_FSIZE="Quote"
|
QUOTE_FSIZE="Quote"
|
||||||
AUTHOR_FSIZE="Author"
|
AUTHOR_FSIZE="Author"
|
||||||
EDIT_CONF="Edit conf file"
|
EDIT_CONF="Edit conf file"
|
||||||
RELOAD="Reload"
|
RELOAD="Reload"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
Q_CFG="$HOME/.config/quoter/quoter.conf"
|
Q_CFG="$HOME/.config/quoter/quoter.cfg"
|
||||||
source "$Q_CFG"
|
source "$Q_CFG"
|
||||||
out+=("^sep($FONTSIZE)")
|
out+=("^sep($FONTSIZE)")
|
||||||
out+=("$QUOTE_FSIZE [ <b>$quote_fontsize</b> ],^checkout(qsize)")
|
out+=("$QUOTE_FSIZE [ <b>$quote_fontsize</b> ],^checkout(qsize)")
|
||||||
@ -753,22 +753,6 @@ if [[ "$OLD_SYNTAX" = "true" ]];then
|
|||||||
for i in 10 11 12 13 14 15 16 18 20; do
|
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")
|
out2+=("${i},mb-setvar author_fontsize=$i $Q_CFG;conkyctl restartone ${1};$me")
|
||||||
done
|
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
|
fi
|
||||||
|
|
||||||
out+=("^sep($COLORS)")
|
out+=("^sep($COLORS)")
|
||||||
@ -833,10 +817,9 @@ if [[ "$OLD_SYNTAX" = "true" ]];then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [[ "$FONT" != "" ]];then
|
|
||||||
if [[ "$1" != *"logo_mbcolor"* ]]; then
|
if [[ "$1" != *"logo_mbcolor"* ]]; then
|
||||||
if [[ "$1" != *"quoter_mbcolor"* ]]; then
|
if [[ "$1" != *"quoter_mbcolor"* ]]; then
|
||||||
|
|
||||||
out+=("<big></big> $FONTS [ <b><span font_family=\"${FONT}\">$FONT</span> $FONTSIZE</b> ],^checkout(fontsingle)")
|
out+=("<big></big> $FONTS [ <b><span font_family=\"${FONT}\">$FONT</span> $FONTSIZE</b> ],^checkout(fontsingle)")
|
||||||
out2+=("^tag(fontsingle)")
|
out2+=("^tag(fontsingle)")
|
||||||
out2+=("^sep($FONTS)")
|
out2+=("^sep($FONTS)")
|
||||||
@ -845,32 +828,32 @@ if [[ "$FONT" != "" ]];then
|
|||||||
out2+=("<big></big> $INCREASE <b>$((FONTSIZE+1)) px</b>,conkyctl basefont_inc ${1};$me")
|
out2+=("<big></big> $INCREASE <b>$((FONTSIZE+1)) px</b>,conkyctl basefont_inc ${1};$me")
|
||||||
out2+=("<big></big> $DECREASE <b>$((FONTSIZE-1)) px</b>,conkyctl basefont_dec ${1};$me")
|
out2+=("<big></big> $DECREASE <b>$((FONTSIZE-1)) px</b>,conkyctl basefont_dec ${1};$me")
|
||||||
out2+=("^sep()")
|
out2+=("^sep()")
|
||||||
sizes=(14 13 12 11 10 9 8 7 6)
|
sizes=(14 13 12 11 10 9 8 7 6)
|
||||||
for i in "${sizes[@]}"
|
for i in "${sizes[@]}"
|
||||||
do
|
do
|
||||||
[[ "$FONTSIZE" == "$i" ]] && out2+=("<big>綠</big> <b>$i px</b>,conkyctl basefont_size ${1} $i;$me") || out2+=("<big>祿</big> $i px,conkyctl basefont_size ${1} $i;$me")
|
[[ "$FONTSIZE" == "$i" ]] && out2+=("<big>綠</big> <b>$i px</b>,conkyctl basefont_size ${1} $i;$me") || out2+=("<big>祿</big> $i px,conkyctl basefont_size ${1} $i;$me")
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -f "$HOME/.config/mabox/fonts.list" ];then
|
if [ -f "$HOME/.config/mabox/fonts.list" ];then
|
||||||
mapfile -t favfonts < <( grep -vE "^($|#)" ~/.config/mabox/fonts.list)
|
mapfile -t favfonts < <( grep -vE "^($|#)" ~/.config/mabox/fonts.list)
|
||||||
else
|
else
|
||||||
mapfile -t favfonts < <( grep -vE "^($|#)" /usr/share/mabox-colorizer/fonts.list)
|
mapfile -t favfonts < <( grep -vE "^($|#)" /usr/share/mabox-colorizer/fonts.list)
|
||||||
cp /usr/share/mabox-colorizer/fonts.list ~/.config/mabox/
|
cp /usr/share/mabox-colorizer/fonts.list ~/.config/mabox/
|
||||||
fi
|
fi
|
||||||
#notify-send.sh "Ile" "${#favfonts[@]}"
|
#notify-send.sh "Ile" "${#favfonts[@]}"
|
||||||
if [ "${#favfonts[@]}" -gt 0 ];then
|
if [ "${#favfonts[@]}" -gt 0 ];then
|
||||||
out2+=("^sep($FONTFAMILY_LBL)")
|
out2+=("^sep($FONTFAMILY_LBL)")
|
||||||
for fon in "${favfonts[@]}";do
|
for fon in "${favfonts[@]}";do
|
||||||
[[ "$FONT" == "$fon" ]] && out2+=("<big>綠</big> <span font_family=\"${fon}\">${fon}</span>,$me") || out2+=("<big>祿</big> <span font_family=\"${fon}\">${fon}</span>,conkyctl basefont_family ${1} \"${fon}\";$me")
|
[[ "$FONT" == "$fon" ]] && out2+=("<big>綠</big> <span font_family=\"${fon}\">${fon}</span>,$me") || out2+=("<big>祿</big> <span font_family=\"${fon}\">${fon}</span>,conkyctl basefont_family ${1} \"${fon}\";$me")
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
out2+=("^sep()")
|
out2+=("^sep()")
|
||||||
out2+=("<small> $_EDIT_FAVFONTS</small>,geany ~/.config/mabox/fonts.list")
|
out2+=("<small> $_EDIT_FAVFONTS</small>,geany ~/.config/mabox/fonts.list")
|
||||||
|
|
||||||
fi
|
fi
|
||||||
[[ "$SHADOWS" == "shadow" ]] && out+=("<big></big> $SHADOW,conkyctl shades no ${1};$me") || out+=("<big></big> $SHADOW,conkyctl shades shadow ${1};$me")
|
[[ "$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")
|
[[ "$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
|
fi
|
||||||
|
|
||||||
[[ "$BORD" == false ]] && out+=("<big></big> $BORDERS [ <b>$STIP</b> ],^checkout(bordersingle)") || out+=("<big></big> $BORDERS [ <b>$STIP</b> ],^checkout(bordersingle)")
|
[[ "$BORD" == false ]] && out+=("<big></big> $BORDERS [ <b>$STIP</b> ],^checkout(bordersingle)") || out+=("<big></big> $BORDERS [ <b>$STIP</b> ],^checkout(bordersingle)")
|
||||||
@ -885,7 +868,6 @@ if [[ "$FONT" != "" ]];then
|
|||||||
out2+=("2,conkyctl stippled_borders 2 ${1};$me")
|
out2+=("2,conkyctl stippled_borders 2 ${1};$me")
|
||||||
out2+=("3,conkyctl stippled_borders 3 ${1};$me")
|
out2+=("3,conkyctl stippled_borders 3 ${1};$me")
|
||||||
out2+=("4,conkyctl stippled_borders 4 ${1};$me")
|
out2+=("4,conkyctl stippled_borders 4 ${1};$me")
|
||||||
fi
|
|
||||||
fi #OLD SYNTAX CHECK
|
fi #OLD SYNTAX CHECK
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
out+=(" $EDIT ${title^},xdg-open ${1}")
|
out+=(" $EDIT ${title^},xdg-open ${1}")
|
||||||
@ -1038,9 +1020,7 @@ cmdmenu () {
|
|||||||
label=${line%,*}
|
label=${line%,*}
|
||||||
done <<< $(grep -v '^\s*$\|^#\|^\s*#' ${CONKYDIR}/menuscripts/${name}.csv)
|
done <<< $(grep -v '^\s*$\|^#\|^\s*#' ${CONKYDIR}/menuscripts/${name}.csv)
|
||||||
#notify-send.sh "${label}" "${cmd[@]}"
|
#notify-send.sh "${label}" "${cmd[@]}"
|
||||||
sleep .1
|
|
||||||
${cmd[@]}
|
${cmd[@]}
|
||||||
exit 0
|
|
||||||
else
|
else
|
||||||
# more than 1 lines - show menu
|
# more than 1 lines - show menu
|
||||||
CUSTOMCOMMANDS=". ${CONKYDIR}/menuscripts/${name}.csv"
|
CUSTOMCOMMANDS=". ${CONKYDIR}/menuscripts/${name}.csv"
|
||||||
@ -1051,7 +1031,7 @@ cmdmenu () {
|
|||||||
|
|
||||||
# otherwise build and show standalone menu with custom commands
|
# 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 WINTRANS <<< "$(grep own_window_transparent ${CONKYCFG} | cut -d'=' -f2 | cut -d"," -f1)"
|
||||||
read FONTDEF <<< "$(grep "font .*=.*,$" ${CONKYCFG} | cut -d'=' -f2,3 |cut -d"'" -f2)"
|
read FONTDEF <<< "$(grep "font .*=.*,$" ${CONKYCFG} | cut -d'=' -f2,3 |cut -d"'" -f2)"
|
||||||
FONT=${FONTDEF%:*}
|
FONT=${FONTDEF%:*}
|
||||||
@ -1208,11 +1188,7 @@ do
|
|||||||
|
|
||||||
done < <(awk 'NR == n' n=$2 "$SCHEMEFILE")
|
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 () {
|
applyscheme_all () {
|
||||||
case "$1" in
|
case "$1" in
|
||||||
@ -1234,8 +1210,6 @@ do
|
|||||||
stippled_borders_all ${stip}
|
stippled_borders_all ${stip}
|
||||||
draw_borders_all ${bord}
|
draw_borders_all ${bord}
|
||||||
done < <(awk 'NR == n' n=$2 "$SCHEMEFILE")
|
done < <(awk 'NR == n' n=$2 "$SCHEMEFILE")
|
||||||
|
|
||||||
fix_transparent_conkies
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -1319,8 +1293,6 @@ else # light
|
|||||||
color1_all "${pal[8]}"
|
color1_all "${pal[8]}"
|
||||||
color2_all "${pal[1]}"
|
color2_all "${pal[1]}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fix_transparent_conkies
|
|
||||||
colorizer-conky -s 2>/dev/null
|
colorizer-conky -s 2>/dev/null
|
||||||
}
|
}
|
||||||
monoone () {
|
monoone () {
|
||||||
@ -1406,7 +1378,7 @@ case "$1" in
|
|||||||
toggleone) toggleone "$2";;
|
toggleone) toggleone "$2";;
|
||||||
restartone) restartone "$2";;
|
restartone) restartone "$2";;
|
||||||
contextmenu) contextmenu;;
|
contextmenu) contextmenu;;
|
||||||
cmdmenu) cmdmenu "$2";;
|
cmdmenu) cmdmenu;;
|
||||||
cmdmenu_edit) cmdmenu_edit "$2";;
|
cmdmenu_edit) cmdmenu_edit "$2";;
|
||||||
makemoveableall) makemoveableall;;
|
makemoveableall) makemoveableall;;
|
||||||
saveposall) saveposall;;
|
saveposall) saveposall;;
|
||||||
@ -1421,6 +1393,5 @@ case "$1" in
|
|||||||
baseconky_info) baseconky_info;;
|
baseconky_info) baseconky_info;;
|
||||||
mono) mono "$2" "$3";;
|
mono) mono "$2" "$3";;
|
||||||
monoone) monoone "$2" "$3" "$4";;
|
monoone) monoone "$2" "$3" "$4";;
|
||||||
fix_transparent_conkies)fix_transparent_conkies;;
|
|
||||||
*) : ;;
|
*) : ;;
|
||||||
esac
|
esac
|
||||||
|
@ -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="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="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="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 10 "$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
|
#add Weight and slant
|
||||||
|
|
||||||
@ -71,13 +71,11 @@ inc_all() {
|
|||||||
gtk_fontsize inc
|
gtk_fontsize inc
|
||||||
inc_conky
|
inc_conky
|
||||||
inc_menus
|
inc_menus
|
||||||
ob_fontsize inc
|
|
||||||
}
|
}
|
||||||
dec_all() {
|
dec_all() {
|
||||||
gtk_fontsize dec
|
gtk_fontsize dec
|
||||||
dec_conky
|
dec_conky
|
||||||
dec_menus
|
dec_menus
|
||||||
ob_fontsize dec
|
|
||||||
}
|
}
|
||||||
inc_conky () {
|
inc_conky () {
|
||||||
read FONTDEF <<< "$(grep "font .*=.*,$" ${BASECONKY} | cut -d'=' -f2,3 |cut -d"'" -f2)"
|
read FONTDEF <<< "$(grep "font .*=.*,$" ${BASECONKY} | cut -d'=' -f2,3 |cut -d"'" -f2)"
|
||||||
|
24
bin/gtkctl
24
bin/gtkctl
@ -39,23 +39,21 @@ adwaita|black|blue|bluegrey|breeze|brown|carmine|cyan|darkcyan|deeporange|green|
|
|||||||
exit 1
|
exit 1
|
||||||
esac
|
esac
|
||||||
|
|
||||||
[[ "$2" == "-d" ]] && VARIANT="Dark-" || VARIANT=""
|
if [ -f "${ICON_DIR}/Papirus-Mabox-$1/index.theme" ];then
|
||||||
|
|
||||||
if [ -f "${ICON_DIR}/Papirus-Mabox-${VARIANT}${1}/index.theme" ];then
|
|
||||||
TITLE="Icons theme changed!"
|
TITLE="Icons theme changed!"
|
||||||
TEXT="Papirus folders color: <b>${VARIANT}${1^}</b>"
|
TEXT="Papirus folders color: <b>${1^}</b>"
|
||||||
icons Papirus-Mabox-${VARIANT}${1}
|
icons Papirus-Mabox-$1
|
||||||
notify-send.sh -u normal -i "${ICON_DIR}/Papirus-Mabox-${VARIANT}${1}/64x64/places/folder-linux.svg" "$TITLE" "$TEXT"
|
notify-send.sh -u normal -i "${ICON_DIR}/Papirus-Mabox-$1/64x64/places/folder-linux.svg" "$TITLE" "$TEXT"
|
||||||
|
|
||||||
else
|
else
|
||||||
TITLE="Please wait..."
|
TITLE="Please wait..."
|
||||||
TEXT="Preparing ${VARIANT}${1} folder color icons"
|
TEXT="Preparing ${1} folder color icons"
|
||||||
TITLE2="Success!"
|
TITLE2="Success!"
|
||||||
TEXT2="${VARIANT}${1^} icons color variant generated successfully"
|
TEXT2="${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"
|
notify-send.sh -u critical -i /usr/share/icons/Papirus/64x64/places/folder-${1}.svg -R /tmp/papicon "$TITLE" "$TEXT"
|
||||||
papirus-folder-color.sh -c ${1} ${2}
|
papirus-folder-color.sh -c ${1}
|
||||||
notify-send.sh -u normal -i "${ICON_DIR}/Papirus-Mabox-${VARIANT}${1}/64x64/places/folder-linux.svg" -R /tmp/papicon "$TITLE2" "$TEXT2"
|
notify-send.sh -u normal -i "${ICON_DIR}/Papirus-Mabox-$1/64x64/places/folder-linux.svg" -R /tmp/papicon "$TITLE2" "$TEXT2"
|
||||||
icons Papirus-Mabox-${VARIANT}${1}
|
icons Papirus-Mabox-$1
|
||||||
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
@ -67,6 +65,6 @@ case "$1" in
|
|||||||
get_icons)get_icons "$2";;
|
get_icons)get_icons "$2";;
|
||||||
theme)theme "$2";;
|
theme)theme "$2";;
|
||||||
icons)icons "$2";;
|
icons)icons "$2";;
|
||||||
papcolor)papcolor "$2" "$3";;
|
papcolor)papcolor "$2";;
|
||||||
*):;;
|
*):;;
|
||||||
esac
|
esac
|
||||||
|
278
bin/jgctl
278
bin/jgctl
@ -68,7 +68,6 @@ color_menu_border () {
|
|||||||
}
|
}
|
||||||
menu_gradient_pos () {
|
menu_gradient_pos () {
|
||||||
sd "menu_gradient_pos.*$" "menu_gradient_pos = $1" ${THEMERC}
|
sd "menu_gradient_pos.*$" "menu_gradient_pos = $1" ${THEMERC}
|
||||||
#mb-setvar menu_gradient_pos=${1}
|
|
||||||
}
|
}
|
||||||
gradient () {
|
gradient () {
|
||||||
read MBG MBGA<<< "$(grep 'color_menu_bg ' ${THEMERC} | cut -d'=' -f2)"
|
read MBG MBGA<<< "$(grep 'color_menu_bg ' ${THEMERC} | cut -d'=' -f2)"
|
||||||
@ -239,79 +238,79 @@ color_sel_border () {
|
|||||||
#[[ ${IBOR} == "0" ]] && item_border 1
|
#[[ ${IBOR} == "0" ]] && item_border 1
|
||||||
}
|
}
|
||||||
accent () {
|
accent () {
|
||||||
color_sel_bg "${1}"
|
color_sel_bg "${1}"
|
||||||
color_sel_fg "${2}"
|
color_sel_fg "${2}"
|
||||||
color_sel_border "${2}"
|
color_sel_border "${2}"
|
||||||
}
|
}
|
||||||
tweak () {
|
tweak () {
|
||||||
case "$1" in
|
case "$1" in
|
||||||
solid)
|
solid)
|
||||||
menu_gradient_pos none
|
menu_gradient_pos none
|
||||||
tweak opacity 100
|
tweak opacity 100
|
||||||
opacity color_norm_bg 0
|
opacity color_norm_bg 0
|
||||||
opacity color_sep_fg 30
|
opacity color_sep_fg 30
|
||||||
item_radius 0
|
item_radius 0
|
||||||
item_border 0
|
item_border 0
|
||||||
;;
|
;;
|
||||||
gradient)
|
gradient)
|
||||||
menu_gradient_pos right
|
menu_gradient_pos right
|
||||||
opacity color_norm_bg 10
|
opacity color_norm_bg 10
|
||||||
opacity color_sep_fg 0
|
opacity color_sep_fg 0
|
||||||
item_radius 3
|
item_radius 3
|
||||||
item_border 0
|
item_border 0
|
||||||
;;
|
;;
|
||||||
opacity)
|
opacity)
|
||||||
opacity color_menu_bg "$2"
|
opacity color_menu_bg "$2"
|
||||||
opacity color_menu_bg_to "$2"
|
opacity color_menu_bg_to "$2"
|
||||||
;;
|
;;
|
||||||
sizing)
|
sizing)
|
||||||
case "$2" in
|
case "$2" in
|
||||||
tight)
|
tight)
|
||||||
mb-setvar jgtools_padding=4
|
mb-setvar jgtools_padding=4
|
||||||
mb-setvar jgtools_border=0
|
mb-setvar jgtools_border=0
|
||||||
mb-setvar submenu_spacing=2
|
mb-setvar submenu_spacing=2
|
||||||
mb-setvar arrow_string=
|
mb-setvar arrow_string=
|
||||||
;;
|
;;
|
||||||
normal)
|
normal)
|
||||||
mb-setvar jgtools_padding=8
|
mb-setvar jgtools_padding=8
|
||||||
mb-setvar jgtools_border=3
|
mb-setvar jgtools_border=3
|
||||||
mb-setvar submenu_spacing=3
|
mb-setvar submenu_spacing=3
|
||||||
mb-setvar arrow_string=
|
mb-setvar arrow_string=
|
||||||
;;
|
;;
|
||||||
wide)
|
wide)
|
||||||
mb-setvar jgtools_padding=20
|
mb-setvar jgtools_padding=20
|
||||||
mb-setvar jgtools_border=6
|
mb-setvar jgtools_border=6
|
||||||
mb-setvar submenu_spacing=6
|
mb-setvar submenu_spacing=6
|
||||||
mb-setvar arrow_string=
|
mb-setvar arrow_string=
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
*):;;
|
*):;;
|
||||||
esac
|
esac
|
||||||
[[ "$3" == "menu" ]] && colorizer-menus -s 2>/dev/null
|
[[ "$3" == "menu" ]] && colorizer-menus -s 2>/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
t_search_field () {
|
t_search_field () {
|
||||||
[[ $search_field == "false" ]] && mb-setvar search_field=true || mb-setvar search_field=false
|
[[ $search_field == "false" ]] && mb-setvar search_field=true || mb-setvar search_field=false
|
||||||
mb-jgtools main ipc
|
mb-jgtools main ipc
|
||||||
}
|
}
|
||||||
t_apps_in_submenu () {
|
t_apps_in_submenu () {
|
||||||
[[ $apps_in_submenu == "true" ]] && mb-setvar apps_in_submenu=false || mb-setvar apps_in_submenu=true
|
[[ $apps_in_submenu == "true" ]] && mb-setvar apps_in_submenu=false || mb-setvar apps_in_submenu=true
|
||||||
mb-jgtools main ipc
|
mb-jgtools main ipc
|
||||||
}
|
}
|
||||||
t_icons () {
|
t_icons () {
|
||||||
[[ $jgmenu_use_icons == "true" ]] && mb-setvar jgmenu_use_icons=false || mb-setvar jgmenu_use_icons=true
|
[[ $jgmenu_use_icons == "true" ]] && mb-setvar jgmenu_use_icons=false || mb-setvar jgmenu_use_icons=true
|
||||||
mb-jgtools main ipc
|
mb-jgtools main ipc
|
||||||
}
|
}
|
||||||
border () {
|
border () {
|
||||||
[[ "$jgtools_padding" -lt "${1}" ]] && mb-setvar jgtools_padding=${1}
|
[[ "$jgtools_padding" -lt "${1}" ]] && mb-setvar jgtools_padding=${1}
|
||||||
mb-setvar jgtools_border=${1}
|
mb-setvar jgtools_border=${1}
|
||||||
colorizer-menus -s
|
colorizer-menus -s
|
||||||
}
|
}
|
||||||
padding () {
|
padding () {
|
||||||
[[ "$jgtools_border" -gt "${1}" ]] && mb-setvar jgtools_border=${1}
|
[[ "$jgtools_border" -gt "${1}" ]] && mb-setvar jgtools_border=${1}
|
||||||
mb-setvar jgtools_padding=${1}
|
mb-setvar jgtools_padding=${1}
|
||||||
colorizer-menus -s
|
colorizer-menus -s
|
||||||
}
|
}
|
||||||
|
|
||||||
opacity () {
|
opacity () {
|
||||||
@ -323,31 +322,31 @@ opacity () {
|
|||||||
|
|
||||||
}
|
}
|
||||||
savescheme () {
|
savescheme () {
|
||||||
case "$LANG" in
|
case "$LANG" in
|
||||||
pl*)SAVE_AS="Nowy motyw Menu"
|
pl*)SAVE_AS="Nowy motyw Menu"
|
||||||
DESC="Zapisz obecnie ustawione kolory Menu jako nowy motyw..."
|
DESC="Zapisz obecnie ustawione kolory Menu jako nowy motyw..."
|
||||||
LABEL="Nazwa:"
|
LABEL="Nazwa:"
|
||||||
NAME="nazwa";;
|
NAME="nazwa";;
|
||||||
*) SAVE_AS="New Menu colorscheme"
|
*) SAVE_AS="New Menu colorscheme"
|
||||||
DESC="Save current Menu colors as colorscheme..."
|
DESC="Save current Menu colors as colorscheme..."
|
||||||
LABEL="Name:"
|
LABEL="Name:"
|
||||||
NAME="colorscheme-name";;
|
NAME="colorscheme-name";;
|
||||||
esac
|
esac
|
||||||
# ask for scheme name
|
# 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
|
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 () {
|
applyscheme () {
|
||||||
theme MBcolors
|
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}"
|
#notify-send.sh "$1" "${line}"
|
||||||
case "$1" in
|
case "$1" in
|
||||||
sys) SCHEMEFILE="/usr/share/mabox-colorizer/colorschemes/menus.csv";;
|
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
|
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
|
do
|
||||||
mb-setvar jgmenu_theme=MBcolors
|
mb-setvar jgmenu_theme=MBcolors
|
||||||
color_menu_bg "${mbg}"
|
color_menu_bg "${mbg}"
|
||||||
@ -364,113 +363,70 @@ color_sel_border "${sborder}"
|
|||||||
color_sep_fg "${sepfg}"
|
color_sep_fg "${sepfg}"
|
||||||
menu_gradient_pos "${grad}"
|
menu_gradient_pos "${grad}"
|
||||||
|
|
||||||
#opacity
|
item_border 0
|
||||||
color_menu_bg "${mbga}"
|
color_title_bg 100
|
||||||
color_menu_bg_to "${mbgta}"
|
color_menu_bg 100
|
||||||
color_menu_border "${mbordera}"
|
color_menu_bg_to 100
|
||||||
color_title_bg "${tbga}"
|
color_norm_bg 0
|
||||||
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}
|
|
||||||
|
|
||||||
|
|
||||||
#notify-send.sh "${scheme_name}" "${mbg}"
|
#notify-send.sh "${scheme_name}" "${mbg}"
|
||||||
done < <(awk 'NR == n' n=$2 "$SCHEMEFILE")
|
done < <(awk 'NR == n' n=$2 "$SCHEMEFILE")
|
||||||
}
|
}
|
||||||
|
|
||||||
delscheme() {
|
delscheme() {
|
||||||
sed -i ${1}d "$HOME/.config/colorizer/menus/userschemes2.csv"
|
sed -i ${1}d "$HOME/.config/colorizer/menus/userschemes.csv"
|
||||||
}
|
}
|
||||||
mono () {
|
mono () {
|
||||||
lighten=(0.92 0.8 0.65 0.45 0.28)
|
lighten=(0.92 0.8 0.65 0.45 0.28)
|
||||||
darken=(0.9 0.74 0.54 0.38 0.18)
|
darken=(0.9 0.74 0.54 0.38 0.18)
|
||||||
|
|
||||||
if [ "${1}" == pick ];then
|
if [ "${1}" == pick ];then
|
||||||
color=$(gpick -pso 2>/dev/null)
|
color=$(gpick -pso 2>/dev/null)
|
||||||
else
|
else
|
||||||
color="${1}"
|
color="${1}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${#color}" == 7 ];then
|
if [ "${#color}" == 7 ];then
|
||||||
for i in "${lighten[@]}"
|
for i in "${lighten[@]}"
|
||||||
do
|
do
|
||||||
pal+=("$(pastel mix -f $i "#ffffff" "$color"|pastel format hex)")
|
pal+=("$(pastel mix -f $i "#ffffff" "$color"|pastel format hex)")
|
||||||
done
|
done
|
||||||
pal+=("$color")
|
pal+=("$color")
|
||||||
|
|
||||||
for i in "${darken[@]}"
|
for i in "${darken[@]}"
|
||||||
do
|
do
|
||||||
pal+=("$(pastel mix -f $i "$color" "#000000"|pastel format hex)")
|
pal+=("$(pastel mix -f $i "$color" "#000000"|pastel format hex)")
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# colorize menu
|
# colorize menu
|
||||||
if [ "$2" == "dark" ];then
|
if [ "$2" == "dark" ];then
|
||||||
#notify-send.sh "$1" "gen_menu"
|
#notify-send.sh "$1" "gen_menu"
|
||||||
color_menu_bg "${pal[8]}"
|
color_menu_bg "${pal[8]}"
|
||||||
color_menu_bg_to "${pal[7]}"
|
color_menu_bg_to "${pal[7]}"
|
||||||
color_menu_border "${pal[10]}"
|
color_menu_border "${pal[10]}"
|
||||||
color_title_bg "${pal[9]}"
|
color_title_bg "${pal[9]}"
|
||||||
color_title_border "${pal[9]}"
|
color_title_border "${pal[9]}"
|
||||||
color_title_fg "${pal[2]}"
|
color_title_fg "${pal[2]}"
|
||||||
color_norm_bg "${pal[8]}"
|
color_norm_fg "${pal[3]}"
|
||||||
color_norm_fg "${pal[3]}"
|
color_sel_bg "${pal[6]}"
|
||||||
color_sel_bg "${pal[6]}"
|
color_sel_fg "${pal[1]}"
|
||||||
color_sel_fg "${pal[1]}"
|
color_sep_fg "${pal[6]}"
|
||||||
color_sep_fg "${pal[6]}"
|
|
||||||
else #light
|
else #light
|
||||||
color_menu_bg "${pal[2]}"
|
color_menu_bg "${pal[2]}"
|
||||||
color_menu_bg_to "${pal[3]}"
|
color_menu_bg_to "${pal[3]}"
|
||||||
color_menu_border "${pal[1]}"
|
color_menu_border "${pal[1]}"
|
||||||
color_title_bg "${pal[3]}"
|
color_title_bg "${pal[3]}"
|
||||||
color_title_border "${pal[4]}"
|
color_title_border "${pal[4]}"
|
||||||
color_title_fg "${pal[10]}"
|
color_title_fg "${pal[10]}"
|
||||||
color_norm_bg "${pal[2]}"
|
color_norm_fg "${pal[8]}"
|
||||||
color_norm_fg "${pal[8]}"
|
color_sel_bg "${pal[4]}"
|
||||||
color_sel_bg "${pal[4]}"
|
color_sel_fg "${pal[10]}"
|
||||||
color_sel_fg "${pal[10]}"
|
color_sep_fg "${pal[3]}"
|
||||||
color_sep_fg "${pal[3]}"
|
|
||||||
fi
|
fi
|
||||||
# opacity
|
colorizer-menus -s 2>/dev/null
|
||||||
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
|
case "$1" in
|
||||||
@ -502,11 +458,9 @@ case "$1" in
|
|||||||
t_icons)t_icons;;
|
t_icons)t_icons;;
|
||||||
border)border "$2";;
|
border)border "$2";;
|
||||||
padding)padding "$2";;
|
padding)padding "$2";;
|
||||||
mono) mono "$2" "$3" "$4";;
|
mono) mono "$2" "$3";;
|
||||||
savescheme) savescheme "$2";;
|
savescheme) savescheme "$2";;
|
||||||
applyscheme) applyscheme "$2" "$3";;
|
applyscheme) applyscheme "$2" "$3";;
|
||||||
delscheme) delscheme "$2";;
|
delscheme) delscheme "$2";;
|
||||||
randomscheme) randomscheme;;
|
|
||||||
applyoldscheme) applyoldscheme "$2";;
|
|
||||||
*) : ;;
|
*) : ;;
|
||||||
esac
|
esac
|
||||||
|
294
bin/obtctl
294
bin/obtctl
@ -8,12 +8,12 @@ THEMERC="$HOME/.themes/$OBTHEME/openbox-3/themerc"
|
|||||||
|
|
||||||
#if [[ $OBTHEME = MBcolor* ]];then
|
#if [[ $OBTHEME = MBcolor* ]];then
|
||||||
#switch to MBcolors theme
|
#switch to MBcolors theme
|
||||||
# THEMEDIR="$HOME/.themes/$OBTHEME/openbox-3"
|
# THEMEDIR="$HOME/.themes/$OBTHEME/openbox-3"
|
||||||
# THEMERC="$HOME/.themes/$OBTHEME/openbox-3/themerc"
|
# THEMERC="$HOME/.themes/$OBTHEME/openbox-3/themerc"
|
||||||
# else
|
# else
|
||||||
# xmlstarlet ed -L -N o="http://openbox.org/3.4/rc" -u '/o:openbox_config/o:theme/o:name' -v "MBcolors" "$HOME/.config/openbox/rc.xml"
|
# xmlstarlet ed -L -N o="http://openbox.org/3.4/rc" -u '/o:openbox_config/o:theme/o:name' -v "MBcolors" "$HOME/.config/openbox/rc.xml"
|
||||||
# THEMEDIR="$HOME/.themes/MBcolors/openbox-3"
|
# THEMEDIR="$HOME/.themes/MBcolors/openbox-3"
|
||||||
# THEMERC="$HOME/.themes/MBcolors/openbox-3/themerc"
|
# THEMERC="$HOME/.themes/MBcolors/openbox-3/themerc"
|
||||||
#fi
|
#fi
|
||||||
|
|
||||||
|
|
||||||
@ -271,7 +271,7 @@ activegradient () {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
gradient () {
|
gradient () {
|
||||||
sd "^window.active.title.bg.color:.*$" "window.active.title.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}
|
sd "^window.active.title.bg.colorTo:.*$" "window.active.title.bg.colorTo: ${2}" ${THEMERC}
|
||||||
|
|
||||||
## split.To - only used if gradient = splitvertical
|
## split.To - only used if gradient = splitvertical
|
||||||
@ -493,29 +493,29 @@ buttons () {
|
|||||||
echo "${1}" > $THEMEDIR/.buttons
|
echo "${1}" > $THEMEDIR/.buttons
|
||||||
#if buttons big check font size also
|
#if buttons big check font size also
|
||||||
case "$1" in
|
case "$1" in
|
||||||
big-12)
|
big-12)
|
||||||
nspace="http://openbox.org/3.4/rc"
|
nspace="http://openbox.org/3.4/rc"
|
||||||
cfg="$HOME/.config/openbox/rc.xml"
|
cfg="$HOME/.config/openbox/rc.xml"
|
||||||
SIZE=$(xmlstarlet sel -N a="$nspace" -t -v '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:size' "$cfg")
|
SIZE=$(xmlstarlet sel -N a="$nspace" -t -v '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:size' "$cfg")
|
||||||
if [ "$SIZE" -lt "12" ]; then
|
if [ "$SIZE" -lt "12" ]; then
|
||||||
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:size' -v "12" "$cfg"
|
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:size' -v "12" "$cfg"
|
||||||
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="InactiveWindow"]/a:size' -v "12" "$cfg"
|
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="InactiveWindow"]/a:size' -v "12" "$cfg"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
big-14)
|
big-14)
|
||||||
nspace="http://openbox.org/3.4/rc"
|
nspace="http://openbox.org/3.4/rc"
|
||||||
cfg="$HOME/.config/openbox/rc.xml"
|
cfg="$HOME/.config/openbox/rc.xml"
|
||||||
SIZE=$(xmlstarlet sel -N a="$nspace" -t -v '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:size' "$cfg")
|
SIZE=$(xmlstarlet sel -N a="$nspace" -t -v '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:size' "$cfg")
|
||||||
if [ "$SIZE" -lt "14" ]; then
|
if [ "$SIZE" -lt "14" ]; then
|
||||||
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:size' -v "14" "$cfg"
|
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="ActiveWindow"]/a:size' -v "14" "$cfg"
|
||||||
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="InactiveWindow"]/a:size' -v "14" "$cfg"
|
xmlstarlet ed -L -N a="$nspace" -u '/a:openbox_config/a:theme/a:font[@place="InactiveWindow"]/a:size' -v "14" "$cfg"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*) : ;;
|
*) : ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
ndslimc() {
|
ndslimc() {
|
||||||
xmlstarlet ed -L -N o="http://openbox.org/3.4/rc" -u '/o:openbox_config/o:theme/o:titleLayout' -v "$1" "$HOME/.config/openbox/rc.xml"
|
xmlstarlet ed -L -N o="http://openbox.org/3.4/rc" -u '/o:openbox_config/o:theme/o:titleLayout' -v "$1" "$HOME/.config/openbox/rc.xml"
|
||||||
}
|
}
|
||||||
activebuttonscolors () {
|
activebuttonscolors () {
|
||||||
sd "^window.active.button.*.unpressed.image.color:.*$" "window.active.button.*.unpressed.image.color: ${1}" ${THEMERC}
|
sd "^window.active.button.*.unpressed.image.color:.*$" "window.active.button.*.unpressed.image.color: ${1}" ${THEMERC}
|
||||||
@ -525,11 +525,11 @@ activebuttonscolors () {
|
|||||||
#pressed=$()
|
#pressed=$()
|
||||||
#disabled=$()
|
#disabled=$()
|
||||||
if [[ "${1}" == *"E5E5E5"* ]];then
|
if [[ "${1}" == *"E5E5E5"* ]];then
|
||||||
hover="#FFFFFF"
|
hover="#FFFFFF"
|
||||||
else
|
else
|
||||||
hover="#000000"
|
hover="#000000"
|
||||||
fi
|
fi
|
||||||
#notify-send.sh "${1}" "${hover}"
|
#notify-send.sh "${1}" "${hover}"
|
||||||
sd "^window.active.button.*.hover.image.color:.*$" "window.active.button.*.hover.image.color: ${hover}" ${THEMERC}
|
sd "^window.active.button.*.hover.image.color:.*$" "window.active.button.*.hover.image.color: ${hover}" ${THEMERC}
|
||||||
}
|
}
|
||||||
fontfamily () {
|
fontfamily () {
|
||||||
@ -740,156 +740,152 @@ randomizer () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tweak() {
|
tweak() {
|
||||||
case "$1" in
|
case "$1" in
|
||||||
large)
|
large)
|
||||||
fontsize 14
|
fontsize 14
|
||||||
paddingHeight 8
|
paddingHeight 8
|
||||||
buttons big-14
|
buttons big-14
|
||||||
borderWidth 6
|
borderWidth 6
|
||||||
handlewidth 6
|
handlewidth 6
|
||||||
;;
|
;;
|
||||||
big)
|
big)
|
||||||
fontsize 12
|
fontsize 12
|
||||||
paddingHeight 6
|
paddingHeight 6
|
||||||
buttons big-12
|
buttons big-12
|
||||||
borderWidth 4
|
borderWidth 4
|
||||||
handlewidth 4
|
handlewidth 4
|
||||||
;;
|
;;
|
||||||
normal)
|
normal)
|
||||||
fontsize 11
|
fontsize 11
|
||||||
paddingHeight 4
|
paddingHeight 4
|
||||||
buttons tiny
|
buttons tiny
|
||||||
borderWidth 1
|
borderWidth 1
|
||||||
handlewidth 3
|
handlewidth 3
|
||||||
;;
|
;;
|
||||||
small)
|
small)
|
||||||
fontsize 10
|
fontsize 10
|
||||||
paddingHeight 2
|
paddingHeight 2
|
||||||
buttons dots
|
buttons dots
|
||||||
borderWidth 0
|
borderWidth 0
|
||||||
handlewidth 2
|
handlewidth 2
|
||||||
;;
|
;;
|
||||||
tiny)
|
tiny)
|
||||||
fontsize 9
|
fontsize 9
|
||||||
paddingHeight 1
|
paddingHeight 1
|
||||||
buttons normal
|
buttons normal
|
||||||
borderWidth 0
|
borderWidth 0
|
||||||
handlewidth 0
|
handlewidth 0
|
||||||
;;
|
;;
|
||||||
*):;;
|
*):;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
savetheme () {
|
savetheme () {
|
||||||
case "$LANG" in
|
case "$LANG" in
|
||||||
pl*)SAVE_AS="Nowy motyw Openbox"
|
pl*)SAVE_AS="Nowy motyw Openbox"
|
||||||
DESC="Zapisz obecne ustawionia Openbox jako nowy motyw..."
|
DESC="Zapisz obecne ustawionia Openbox jako nowy motyw..."
|
||||||
LABEL="Nazwa:"
|
LABEL="Nazwa:"
|
||||||
NAME="nazwa";;
|
NAME="nazwa";;
|
||||||
*) SAVE_AS="New Openbox theme"
|
*) SAVE_AS="New Openbox theme"
|
||||||
DESC="Save current Openbox window decoration setup as theme..."
|
DESC="Save current Openbox window decoration setup as theme..."
|
||||||
LABEL="Name:"
|
LABEL="Name:"
|
||||||
NAME="theme-name";;
|
NAME="theme-name";;
|
||||||
esac
|
esac
|
||||||
# ask for scheme name
|
# 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
|
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/openbox/userthemes.csv"
|
echo "${1}${schemename}" >> "$HOME/.config/colorizer/openbox/userthemes.csv"
|
||||||
}
|
}
|
||||||
applyscheme () {
|
applyscheme () {
|
||||||
theme MBcolors
|
theme MBcolors
|
||||||
case "$1" in
|
case "$1" in
|
||||||
sys) SCHEMEFILE="/usr/share/mabox-colorizer/colorschemes/ob.csv";;
|
sys) SCHEMEFILE="/usr/share/mabox-colorizer/colorschemes/ob.csv";;
|
||||||
usr) SCHEMEFILE="$HOME/.config/colorizer/openbox/userthemes.csv";;
|
usr) SCHEMEFILE="$HOME/.config/colorizer/openbox/userthemes.csv";;
|
||||||
esac
|
esac
|
||||||
while IFS="|" read -r abg abgto afg aline nbg nbgto nfg nline grad txtjust pheight pwidth handle bord bevel button fsize fname ndslim weight slant scheme_name
|
while IFS="|" read -r abg abgto afg aline nbg nbgto nfg nline grad txtjust pheight pwidth handle bord bevel button fsize fname ndslim weight slant scheme_name
|
||||||
do
|
do
|
||||||
clractivebg "${abg}"
|
clractivebg "${abg}"
|
||||||
clractivebgto "${abgto}"
|
clractivebgto "${abgto}"
|
||||||
activetextcolor "${afg}"
|
activetextcolor "${afg}"
|
||||||
activeborderColor "${aline}"
|
activeborderColor "${aline}"
|
||||||
clrnormalbg "${nbg}"
|
clrnormalbg "${nbg}"
|
||||||
clrnormalbgto "${nbgto}"
|
clrnormalbgto "${nbgto}"
|
||||||
inactivetextcolor "${nfg}"
|
inactivetextcolor "${nfg}"
|
||||||
inactiveborderColor "${nline}"
|
inactiveborderColor "${nline}"
|
||||||
gradient_type "${grad}"
|
gradient_type "${grad}"
|
||||||
done < <(awk 'NR == n' n=$2 "$SCHEMEFILE")
|
done < <(awk 'NR == n' n=$2 "$SCHEMEFILE")
|
||||||
}
|
}
|
||||||
applytheme() {
|
applytheme() {
|
||||||
case "$1" in
|
case "$1" in
|
||||||
sys) SCHEMEFILE="/usr/share/mabox-colorizer/colorschemes/ob.csv";;
|
sys) SCHEMEFILE="/usr/share/mabox-colorizer/colorschemes/ob.csv";;
|
||||||
usr) SCHEMEFILE="$HOME/.config/colorizer/openbox/userthemes.csv";;
|
usr) SCHEMEFILE="$HOME/.config/colorizer/openbox/userthemes.csv";;
|
||||||
esac
|
esac
|
||||||
applyscheme "$1" "$2"
|
applyscheme "$1" "$2"
|
||||||
while IFS="|" read -r abg abgto afg aline nbg nbgto nfg nline grad txtjust pheight pwidth handle bord bevel button fsize fname ndslim weight slant scheme_name
|
while IFS="|" read -r abg abgto afg aline nbg nbgto nfg nline grad txtjust pheight pwidth handle bord bevel button fsize fname ndslim weight slant scheme_name
|
||||||
do
|
do
|
||||||
textjustify "${txtjust}"
|
textjustify "${txtjust}"
|
||||||
paddingHeight "${pheight}"
|
paddingHeight "${pheight}"
|
||||||
paddingWidth "${pwidth}"
|
paddingWidth "${pwidth}"
|
||||||
handlewidth "${handle}"
|
handlewidth "${handle}"
|
||||||
borderWidth "${bord}"
|
borderWidth "${bord}"
|
||||||
raised "${bevel}"
|
raised "${bevel}"
|
||||||
buttons "${button}"
|
buttons "${button}"
|
||||||
fontsize "${fsize}"
|
fontsize "${fsize}"
|
||||||
fontfamily "${fname}"
|
fontfamily "${fname}"
|
||||||
ndslimc "${ndslim}"
|
ndslimc "${ndslim}"
|
||||||
fontweight "${weight}"
|
fontweight "${weight}"
|
||||||
fontslant "${slant}"
|
fontslant "${slant}"
|
||||||
done < <(awk 'NR == n' n=$2 "$SCHEMEFILE")
|
done < <(awk 'NR == n' n=$2 "$SCHEMEFILE")
|
||||||
}
|
}
|
||||||
delscheme() {
|
delscheme() {
|
||||||
sed -i ${1}d "$HOME/.config/colorizer/openbox/userthemes.csv"
|
sed -i ${1}d "$HOME/.config/colorizer/openbox/userthemes.csv"
|
||||||
}
|
}
|
||||||
mono() {
|
mono() {
|
||||||
lighten=(0.92 0.8 0.65 0.45 0.28)
|
lighten=(0.92 0.8 0.65 0.45 0.28)
|
||||||
darken=(0.9 0.74 0.54 0.38 0.18)
|
darken=(0.9 0.74 0.54 0.38 0.18)
|
||||||
|
|
||||||
if [ "${1}" == pick ];then
|
if [ "${1}" == pick ];then
|
||||||
color=$(gpick -pso 2>/dev/null)
|
color=$(gpick -pso 2>/dev/null)
|
||||||
else
|
else
|
||||||
color="${1}"
|
color="${1}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${#color}" == 7 ];then
|
if [ "${#color}" == 7 ];then
|
||||||
for i in "${lighten[@]}"
|
for i in "${lighten[@]}"
|
||||||
do
|
do
|
||||||
pal+=("$(pastel mix -f $i "#ffffff" "$color"|pastel format hex)")
|
pal+=("$(pastel mix -f $i "#ffffff" "$color"|pastel format hex)")
|
||||||
done
|
done
|
||||||
pal+=("$color")
|
pal+=("$color")
|
||||||
|
|
||||||
for i in "${darken[@]}"
|
for i in "${darken[@]}"
|
||||||
do
|
do
|
||||||
pal+=("$(pastel mix -f $i "$color" "#000000"|pastel format hex)")
|
pal+=("$(pastel mix -f $i "$color" "#000000"|pastel format hex)")
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#colorize OB
|
#colorize OB
|
||||||
if [ "$2" == "dark" ];then
|
if [ "$2" == "dark" ];then
|
||||||
clractivebg "${pal[5]}"
|
clractivebg "${pal[5]}"
|
||||||
#clractivebgto "${pal[6]}"
|
#clractivebgto "${pal[6]}"
|
||||||
activeborderColor "${pal[2]}"
|
activeborderColor "${pal[2]}"
|
||||||
activetextcolor "${pal[1]}"
|
activetextcolor "${pal[1]}"
|
||||||
clrnormalbg "${pal[9]}"
|
clrnormalbg "${pal[9]}"
|
||||||
clrnormalbgto "${pal[10]}"
|
clrnormalbgto "${pal[10]}"
|
||||||
inactiveborderColor "${pal[8]}"
|
inactiveborderColor "${pal[8]}"
|
||||||
inactivetextcolor "${pal[4]}"
|
inactivetextcolor "${pal[4]}"
|
||||||
else #light
|
else #light
|
||||||
clractivebg "${pal[4]}"
|
clractivebg "${pal[4]}"
|
||||||
#clractivebgto "${pal[4]}"
|
#clractivebgto "${pal[4]}"
|
||||||
activeborderColor "${pal[0]}"
|
activeborderColor "${pal[0]}"
|
||||||
activetextcolor "${pal[9]}"
|
activetextcolor "${pal[9]}"
|
||||||
clrnormalbg "${pal[9]}"
|
clrnormalbg "${pal[9]}"
|
||||||
clrnormalbgto "${pal[10]}"
|
clrnormalbgto "${pal[10]}"
|
||||||
inactiveborderColor "${pal[7]}"
|
inactiveborderColor "${pal[7]}"
|
||||||
inactivetextcolor "${pal[5]}"
|
inactivetextcolor "${pal[5]}"
|
||||||
fi
|
fi
|
||||||
openbox --reconfigure
|
openbox --reconfigure
|
||||||
case "$3" in
|
colorizer-ob -s 2>/dev/null
|
||||||
col)colorizer-ob -s 2>/dev/null;;
|
|
||||||
stylemenu)jgwallpaperchanger -s obox;;
|
|
||||||
*):;;
|
|
||||||
esac
|
|
||||||
}
|
}
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
@ -932,7 +928,7 @@ case "$1" in
|
|||||||
fontslanttoggle) fontslanttoggle;;
|
fontslanttoggle) fontslanttoggle;;
|
||||||
randomizer) randomizer;;
|
randomizer) randomizer;;
|
||||||
tweak) tweak "$2";;
|
tweak) tweak "$2";;
|
||||||
mono) mono "$2" "$3" "$4";;
|
mono) mono "$2" "$3";;
|
||||||
savetheme) savetheme "$2";;
|
savetheme) savetheme "$2";;
|
||||||
applyscheme) applyscheme "$2" "$3";;
|
applyscheme) applyscheme "$2" "$3";;
|
||||||
applytheme) applytheme "$2" "$3";;
|
applytheme) applytheme "$2" "$3";;
|
||||||
|
@ -20,4 +20,4 @@ fi
|
|||||||
|
|
||||||
readarray -t wpdirs < <(grep "^[^#]" "${CNF_FILE}")
|
readarray -t wpdirs < <(grep "^[^#]" "${CNF_FILE}")
|
||||||
|
|
||||||
sh -c "pcmanfm -n $(echo ${syswpdirs[@]} ${wpdirs[@]})"
|
pcmanfm -n $(echo ${syswpdirs[@]} ${wpdirs[@]})
|
||||||
|
43
bin/quote.sh
43
bin/quote.sh
@ -1,52 +1,23 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
DIR="$HOME/.config/quoter"
|
DIR="$HOME/.config/quoter"
|
||||||
mkdir -p "$DIR"
|
mkdir -p "$DIR"
|
||||||
CNF_FILE="$DIR/quoter.conf"
|
CNF_FILE="$DIR/quoter.cfg"
|
||||||
|
|
||||||
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() {
|
|
||||||
|
|
||||||
if [ ! -f $CNF_FILE ]; then
|
if [ ! -f $CNF_FILE ]; then
|
||||||
cat <<EOF > ${CNF_FILE}
|
cat <<EOF > ${CNF_FILE}
|
||||||
quote_fontsize=12
|
quote_fontsize=12
|
||||||
author_fontsize=10
|
author_fontsize=10
|
||||||
font_name="Ubuntu"
|
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
source <(grep = $CNF_FILE)
|
source <(grep = $CNF_FILE)
|
||||||
qfsize=${quote_fontsize:-12}
|
qfsize=${quote_fontsize:-12}
|
||||||
afsize=${author_fontsize:-10}
|
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}")
|
printf "\${font Droid Sans:size=$qfsize}\${color}"
|
||||||
|
|
||||||
|
|
||||||
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}"
|
|
||||||
echo ${QUOTE} | fmt -80
|
echo ${QUOTE} | fmt -80
|
||||||
printf "\${font ${fontname}:size=$afsize}\${alignr}\${color0}"
|
printf "\${font Droid Sans:size=$afsize}\${alignr}\${color0}"
|
||||||
echo "${AUTOR}"
|
echo "${AUTOR}"
|
||||||
}
|
|
||||||
case "$1" in
|
|
||||||
-n) notify;;
|
|
||||||
*) conky;;
|
|
||||||
esac
|
|
||||||
|
@ -6,17 +6,17 @@ ob () {
|
|||||||
obtctl randomizer
|
obtctl randomizer
|
||||||
}
|
}
|
||||||
menu () {
|
menu () {
|
||||||
jgctl randomscheme
|
mb-setvar jgmenu_theme=$(basename -s .colorrc $(ls ~/.config/mabox/jgobthemes/*.colorrc | shuf -n 1))
|
||||||
case "$1" in
|
case "$1" in
|
||||||
show) colorizer-menus -s;;
|
show) colorizer-menus -s;;
|
||||||
*):;;
|
*):;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
conky () {
|
conky () {
|
||||||
LINES=$(tail -n +2 /usr/share/mabox-colorizer/colorschemes/conky.csv|wc -l)
|
LINES=$(tail -n +2 /usr/share/mabox-colorizer/colorschemes/conky.csv|wc -l)
|
||||||
N=$(( ( RANDOM % $LINES ) + 2 ))
|
N=$(( ( RANDOM % $LINES ) + 2 ))
|
||||||
#notify-send.sh "$LINES" "$N"
|
#notify-send.sh "$LINES" "$N"
|
||||||
conkyctl applyscheme_all sys $N
|
conkyctl applyscheme_all sys $N
|
||||||
}
|
}
|
||||||
wp () {
|
wp () {
|
||||||
: # Może niepotrzebne tu
|
: # Może niepotrzebne tu
|
||||||
|
@ -57,7 +57,6 @@ menu_theme () {
|
|||||||
jgctl color_sel_fg "${w[-1]}"
|
jgctl color_sel_fg "${w[-1]}"
|
||||||
jgctl color_sel_border "${w[3]}"
|
jgctl color_sel_border "${w[3]}"
|
||||||
jgctl color_sep_fg "${w[3]}"
|
jgctl color_sep_fg "${w[3]}"
|
||||||
jgctl color_norm_bg "${w[2]}"
|
|
||||||
#sleep 1
|
#sleep 1
|
||||||
;;
|
;;
|
||||||
*) #light bg
|
*) #light bg
|
||||||
@ -72,7 +71,6 @@ menu_theme () {
|
|||||||
jgctl color_sel_fg "${w[0]}"
|
jgctl color_sel_fg "${w[0]}"
|
||||||
jgctl color_sel_border "${w[-4]}"
|
jgctl color_sel_border "${w[-4]}"
|
||||||
jgctl color_sep_fg "${w[-5]}"
|
jgctl color_sep_fg "${w[-5]}"
|
||||||
jgctl color_norm_bg "${w[-1]}"
|
|
||||||
#sleep 1
|
#sleep 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@ -104,7 +102,6 @@ conky_colors() {
|
|||||||
#bars/graphs color
|
#bars/graphs color
|
||||||
#random
|
#random
|
||||||
conkyctl color2_all "${accents[ $RANDOM % ${#accents[@]} ]}"
|
conkyctl color2_all "${accents[ $RANDOM % ${#accents[@]} ]}"
|
||||||
conkyctl fix_transparent_conkies
|
|
||||||
|
|
||||||
}
|
}
|
||||||
conky_colorsone () {
|
conky_colorsone () {
|
||||||
@ -123,7 +120,7 @@ conky_colorsone () {
|
|||||||
conkyctl color1 "${w[5]}" "${2}"
|
conkyctl color1 "${w[5]}" "${2}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
#conkyctl color2_all "${accents[ $RANDOM % ${#accents[@]} ]}" "${2}"
|
conkyctl color2_all "${accents[ $RANDOM % ${#accents[@]} ]}" "${2}"
|
||||||
}
|
}
|
||||||
pyradio_theme() {
|
pyradio_theme() {
|
||||||
case "$1" in
|
case "$1" in
|
||||||
|
@ -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
|
MBG | MBGT |MBORDER| TBG | TFG |TBORDER|NORMBG | NFG | SBG | SFG |SBORDER| SEPFG |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|#222222|#eeeeee|#325a52|#d3d4bf|#579c8e|#2b303b|#dadada|#579c8e|#ffffff|#579c8e|#4f4f4f|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|#262626|#333333|#383838|#BBBBBB|#222222|#1e1e1e|#9b9b9b|#000000|#FFCC66|#FFCC66|#363636|right|Jaskier
|
||||||
#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|#d2cda1|#cdc76d|#cdc76d|#0c1d23|#c6b76b|#d3d4bf|#0c1d23|#a29d62|#060b0a|#c6b76b|#a29d62|top_right|Jaskier Light
|
||||||
#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|#424247|#2a2a2c|#2a2a2d|#d0d0ce|#151517|#2b303b|#c8c8c4|#59595a|#f8f8f8|#373739|#2a2a2c|bottom_left|GreyBird Dark
|
||||||
#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|#e0e0de|#d0d0ce|#d0d0ce|#1e1e20|#c0c0be|#2b303b|#1e1e20|#b0b0af|#151517|#c0c0be|#b0b0af|bottom_left|GreyBird Light
|
||||||
#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
|
|
||||||
|
|
@ -5,7 +5,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
|
#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
|
#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
|
#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
|
#bda9a9|#D3C6C6|#222222|#EBDCDD|#D2C6C5|#D2C6C5|#837B7C|#D2C6C5|mirrorhorizontal|center|4|4|0|6|flat|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
|
#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
|
|
||||||
|
|
@ -95,14 +95,11 @@ h5 {font-size: 2vw !important;border-bottom: 1px solid;padding-left: 1em;}
|
|||||||
flex-direction: column;**/
|
flex-direction: column;**/
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
.grid div.i{background-color:#191919;padding: 6px 2px 2px 2px;}
|
.grid div.i{background-color:#191919;}
|
||||||
.grid div.i a{text-decoration:none;margin-top:4px;}
|
.grid div.i a{text-decoration:none;display:block;border-radius: 4px;margin: -1em;padding:1em;}
|
||||||
.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;}
|
.gi2 {grid-column: span 2;}
|
||||||
.gi3 {grid-column: span 3;}
|
.gi3 {grid-column: span 3;}
|
||||||
.gi4 {grid-column: span 4;}
|
.gi4 {grid-column: span 4;}
|
||||||
.gi5 {grid-column: span 5;}
|
|
||||||
.gi22 {
|
.gi22 {
|
||||||
grid-column: span 2;
|
grid-column: span 2;
|
||||||
grid-row: span 2;
|
grid-row: span 2;
|
||||||
@ -138,7 +135,7 @@ h5 {font-size: 2vw !important;border-bottom: 1px solid;padding-left: 1em;}
|
|||||||
</nav>
|
</nav>
|
||||||
<div class="fixeddown">
|
<div class="fixeddown">
|
||||||
<div class="center small" style="margin: 0 4px 4px 2px;">
|
<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><a class="tag small indigo" href="run://pcmanwp"> Wallpaper...</a> <a class="tag small indigo" href="run://mbwallpaper -o"></a></p>
|
||||||
<p><em>dynamic menus:</em></p>
|
<p><em>dynamic menus:</em></p>
|
||||||
<p>
|
<p>
|
||||||
<a class="tag small purple" href="run://colorizer -s"> Colorizer</a><br />
|
<a class="tag small purple" href="run://colorizer -s"> Colorizer</a><br />
|
||||||
@ -678,119 +675,141 @@ 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>
|
<a class="tag small amber" href="config://.config/mabox/wallp_dirs.conf"> Configure directories</a></p>
|
||||||
</section>
|
</section>
|
||||||
<section id="fonts" class="container tab" style="display:none;min-height:100vh">
|
<section id="fonts" class="container tab" style="display:none;min-height:100vh">
|
||||||
|
<h3>Fonts</h3>
|
||||||
|
<p> To set fonts for Openbox window decorations, GTK, Conky and Menu/Panels...<br />
|
||||||
<div class="grid">
|
use dynamic menu <a class="button amber" href="run://colorizer-fonts -s"> Fonts</a>
|
||||||
<div class="g1 dark">
|
</p>
|
||||||
<a class="button amber" href="run://colorizer-fonts -s"><span class="large"></span><br />Configure Fonts</a>
|
<h3>GTK widget theme and Icons</h3>
|
||||||
</div>
|
<p><a class="button amber" href="run://lxappearance"> Choose GTK theme and Icons</a></p>
|
||||||
<div class="g1 dark">
|
<h3></h3>
|
||||||
<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="grid">
|
||||||
<div class="i">Adwaita<br />
|
<p class="gi3"><strong>Papirus Folder Icons</strong><br />Click below to generate and apply colorized folder icons for Papirus.</p>
|
||||||
|
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor adwaita">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-adwaita.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-adwaita.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-adwaita-music.svg" /><br />
|
<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>
|
Adwaita
|
||||||
<div class="gi5"><h3>Papirus Folder Icons</h3><hr />Generate and apply colorized folder icons for Papirus. Light or Dark variant.</div>
|
</a></div>
|
||||||
<div class="i">Black<br />
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor black">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-black.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-black.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-black-music.svg" /><br />
|
<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>
|
Black
|
||||||
<div class="i">Blue<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor blue">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-blue.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-blue.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-blue-music.svg" /><br />
|
<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>
|
Blue
|
||||||
<div class="i">Bluegrey<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor bluegrey">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-bluegrey.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-bluegrey.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-bluegrey-music.svg" /><br />
|
<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>
|
Bluegrey
|
||||||
<div class="i">Breeze<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor breeze">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-breeze.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-breeze.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-breeze-music.svg" /><br />
|
<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>
|
Breeze
|
||||||
<div class="i">Brown<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor brown">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-brown.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-brown.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-brown-music.svg" /><br />
|
<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>
|
Brown
|
||||||
<div class="i">Carmine<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor carmine">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-carmine.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-carmine.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-carmine-music.svg" /><br />
|
<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>
|
Carmine
|
||||||
<div class="i">Cyan<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor cyan">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-cyan.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-cyan.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-cyan-music.svg" /><br />
|
<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>
|
Cyan
|
||||||
<div class="i">DarkCyan<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor darkcyan">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-darkcyan.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-darkcyan.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-darkcyan-music.svg" /><br />
|
<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>
|
DarkCyan
|
||||||
<div class="i">DeepOrange<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor deeporange">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-deeporange.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-deeporange.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-deeporange-music.svg" /><br />
|
<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>
|
DeepOrange
|
||||||
<div class="i">Green<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor green">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-green.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-green.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-green-music.svg" /><br />
|
<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>
|
Green
|
||||||
<div class="i">Grey<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor grey">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-grey.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-grey.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-grey-music.svg" /><br />
|
<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>
|
Grey
|
||||||
<div class="i">Indigo<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor indigo">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-indigo.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-indigo.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-indigo-music.svg" /><br />
|
<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>
|
Indigo
|
||||||
<div class="i">Magenta<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor magenta">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-magenta.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-magenta.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-magenta-music.svg" /><br />
|
<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>
|
Magenta
|
||||||
<div class="i">Nordic<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor nordic">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-nordic.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-nordic.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-nordic-music.svg" /><br />
|
<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>
|
Nordic
|
||||||
<div class="i">Orange<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor orange">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-orange.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-orange.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-orange-music.svg" /><br />
|
<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>
|
Orange
|
||||||
<div class="i">PaleBrown<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor palebrown">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-palebrown.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-palebrown.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-palebrown-music.svg" /><br />
|
<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>
|
PaleBrown
|
||||||
<div class="i">PaleOrange<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor paleorange">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-paleorange.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-paleorange.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-paleorange-music.svg" /><br />
|
<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>
|
PaleOrange
|
||||||
<div class="i">Pink<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor pink">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-pink.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-pink.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-pink-music.svg" /><br />
|
<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>
|
Pink
|
||||||
<div class="i">Red<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor red">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-red.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-red.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-red-music.svg" /><br />
|
<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>
|
Red
|
||||||
<div class="i">Teal<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor teal">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-teal.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-teal.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-teal-music.svg" /><br />
|
<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>
|
Teal
|
||||||
<div class="i">Violet<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor violet">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-violet.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-violet.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-violet-music.svg" /><br />
|
<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>
|
Violet
|
||||||
<div class="i">White<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor white">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-white.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-white.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-white-music.svg" /><br />
|
<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>
|
White
|
||||||
<div class="i">Yaru<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor yaru">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-yaru.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-yaru.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-yaru-music.svg" /><br />
|
<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>
|
Yaru
|
||||||
<div class="i">Yellow<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor yellow">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-yellow.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-yellow.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-yellow-music.svg" /><br />
|
<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>
|
Yellow
|
||||||
|
</a></div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section id="pyradiocava" class="container tab" style="display:none;min-height:100vh;">
|
<section id="pyradiocava" class="container tab" style="display:none;min-height:100vh;">
|
||||||
|
@ -95,14 +95,12 @@ h5 {font-size: 2vw !important;border-bottom: 1px solid;padding-left: 1em;}
|
|||||||
flex-direction: column;**/
|
flex-direction: column;**/
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
.grid div.i{background-color:#191919;padding: 6px 2px 2px 2px;}
|
.grid div.i{background-color:#191919;}
|
||||||
.grid div.i a{text-decoration:none;margin-top:4px;}
|
.grid div.i a{text-decoration:none;display:block;border-radius: 4px;margin: -1em;padding:1em;}
|
||||||
.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;}
|
.gi2 {grid-column: span 2;}
|
||||||
.gi3 {grid-column: span 3;}
|
.gi3 {grid-column: span 3;}
|
||||||
.gi4 {grid-column: span 4;}
|
.gi4 {grid-column: span 4;}
|
||||||
.gi5 {grid-column: span 5;}
|
|
||||||
.gi22 {
|
.gi22 {
|
||||||
grid-column: span 2;
|
grid-column: span 2;
|
||||||
grid-row: span 2;
|
grid-row: span 2;
|
||||||
@ -138,7 +136,7 @@ h5 {font-size: 2vw !important;border-bottom: 1px solid;padding-left: 1em;}
|
|||||||
</nav>
|
</nav>
|
||||||
<div class="fixeddown">
|
<div class="fixeddown">
|
||||||
<div class="center small" style="margin: 0 4px 4px 2px;">
|
<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><a class="tag small indigo" href="run://pcmanwp"> Wybierz tapetę</a> <a class="tag small indigo" href="run://mbwallpaper -o"></a></p>
|
||||||
<p><em>dynamiczne menu</em></p>
|
<p><em>dynamiczne menu</em></p>
|
||||||
<p>
|
<p>
|
||||||
<a class="tag small purple" href="run://colorizer -s"> Colorizer</a><br />
|
<a class="tag small purple" href="run://colorizer -s"> Colorizer</a><br />
|
||||||
@ -820,120 +818,138 @@ Jeśli potrzebujesz pełen zestaw opcji, precyzyjnego dostrajania kolorów i prz
|
|||||||
|
|
||||||
</section>
|
</section>
|
||||||
<section id="fonts" class="container tab" style="display:none;min-height:100vh">
|
<section id="fonts" class="container tab" style="display:none;min-height:100vh">
|
||||||
<div class="grid">
|
<h3>Czcionki</h3>
|
||||||
<div class="g1 dark">
|
<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>
|
||||||
<a class="button amber" href="run://colorizer-fonts -s"><span class="large"></span><br />Ustaw Czcionki</a>
|
<h3>Motyw GTK oraz Ikon</h3>
|
||||||
</div>
|
<p><a class="button amber" href="run://lxappearance"> Wybierz motyw GTK oraz Ikony</a></p>
|
||||||
<div class="g1 dark">
|
|
||||||
<a class="button amber" href="run://lxappearance"><span class="large"></span><br />Motyw GTK oraz Ikony</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<br /><hr /><br />
|
|
||||||
|
|
||||||
|
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
|
<p class="gi3"><strong>Papirus Folder Icons</strong><br />Kliknij poniżej, aby zastosować kolory folderów Papirus.</p>
|
||||||
|
|
||||||
<div class="i">Adwaita<br />
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor adwaita">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-adwaita.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-adwaita.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-adwaita-music.svg" /><br />
|
<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>
|
Adwaita
|
||||||
<div class="gi5"><h3>Ikony Katalogów Papirus</h3><hr />Wygeneruj i ustaw kolorowe foldery Papirus. Wariant jasny (light) lub ciemny (dark).</div>
|
</a></div>
|
||||||
<div class="i">Black<br />
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor black">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-black.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-black.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-black-music.svg" /><br />
|
<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>
|
Black
|
||||||
<div class="i">Blue<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor blue">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-blue.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-blue.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-blue-music.svg" /><br />
|
<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>
|
Blue
|
||||||
<div class="i">Bluegrey<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor bluegrey">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-bluegrey.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-bluegrey.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-bluegrey-music.svg" /><br />
|
<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>
|
Bluegrey
|
||||||
<div class="i">Breeze<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor breeze">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-breeze.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-breeze.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-breeze-music.svg" /><br />
|
<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>
|
Breeze
|
||||||
<div class="i">Brown<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor brown">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-brown.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-brown.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-brown-music.svg" /><br />
|
<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>
|
Brown
|
||||||
<div class="i">Carmine<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor carmine">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-carmine.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-carmine.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-carmine-music.svg" /><br />
|
<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>
|
Carmine
|
||||||
<div class="i">Cyan<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor cyan">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-cyan.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-cyan.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-cyan-music.svg" /><br />
|
<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>
|
Cyan
|
||||||
<div class="i">DarkCyan<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor darkcyan">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-darkcyan.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-darkcyan.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-darkcyan-music.svg" /><br />
|
<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>
|
DarkCyan
|
||||||
<div class="i">DeepOrange<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor deeporange">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-deeporange.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-deeporange.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-deeporange-music.svg" /><br />
|
<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>
|
DeepOrange
|
||||||
<div class="i">Green<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor green">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-green.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-green.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-green-music.svg" /><br />
|
<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>
|
Green
|
||||||
<div class="i">Grey<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor grey">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-grey.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-grey.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-grey-music.svg" /><br />
|
<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>
|
Grey
|
||||||
<div class="i">Indigo<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor indigo">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-indigo.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-indigo.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-indigo-music.svg" /><br />
|
<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>
|
Indigo
|
||||||
<div class="i">Magenta<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor magenta">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-magenta.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-magenta.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-magenta-music.svg" /><br />
|
<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>
|
Magenta
|
||||||
<div class="i">Nordic<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor nordic">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-nordic.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-nordic.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-nordic-music.svg" /><br />
|
<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>
|
Nordic
|
||||||
<div class="i">Orange<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor orange">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-orange.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-orange.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-orange-music.svg" /><br />
|
<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>
|
Orange
|
||||||
<div class="i">PaleBrown<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor palebrown">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-palebrown.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-palebrown.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-palebrown-music.svg" /><br />
|
<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>
|
PaleBrown
|
||||||
<div class="i">PaleOrange<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor paleorange">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-paleorange.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-paleorange.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-paleorange-music.svg" /><br />
|
<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>
|
PaleOrange
|
||||||
<div class="i">Pink<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor pink">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-pink.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-pink.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-pink-music.svg" /><br />
|
<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>
|
Pink
|
||||||
<div class="i">Red<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor red">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-red.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-red.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-red-music.svg" /><br />
|
<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>
|
Red
|
||||||
<div class="i">Teal<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor teal">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-teal.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-teal.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-teal-music.svg" /><br />
|
<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>
|
Teal
|
||||||
<div class="i">Violet<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor violet">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-violet.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-violet.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-violet-music.svg" /><br />
|
<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>
|
Violet
|
||||||
<div class="i">White<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor white">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-white.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-white.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-white-music.svg" /><br />
|
<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>
|
White
|
||||||
<div class="i">Yaru<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor yaru">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-yaru.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-yaru.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-yaru-music.svg" /><br />
|
<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>
|
Yaru
|
||||||
<div class="i">Yellow<br />
|
</a></div>
|
||||||
|
<div class="i"><a class="hover-white" href="run://gtkctl papcolor yellow">
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-yellow.svg" />
|
<img src="/usr/share/icons/Papirus/32x32/places/folder-yellow.svg" />
|
||||||
<img src="/usr/share/icons/Papirus/32x32/places/folder-yellow-music.svg" /><br />
|
<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>
|
Yellow
|
||||||
|
</a></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
Loading…
Reference in New Issue
Block a user