glyphicons
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
# 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
|
. /usr/share/mb-jgtools/jgtools.inc
|
||||||
|
|
||||||
wmctrl -R cavatransparent
|
wmctrl -R cavatransparent
|
||||||
|
|
||||||
@@ -137,16 +137,16 @@ FGT=$(pastel textcolor ${FGC}|pastel format hex)
|
|||||||
out2+=("^sep($CWIDTH)")
|
out2+=("^sep($CWIDTH)")
|
||||||
for i in full half third
|
for i in full half third
|
||||||
do
|
do
|
||||||
[[ "${cwidth}" == "${i}" ]] && out2+=("<big>綠</big> <b>$i</b>,cavactl start $i;$me") || out2+=("<big>祿</big> $i,cavactl start $i;$me")
|
[[ "${cwidth}" == "${i}" ]] && out2+=("<big>${ron}</big> <b>$i</b>,cavactl start $i;$me") || out2+=("<big>${roff}</big> $i,cavactl start $i;$me")
|
||||||
done
|
done
|
||||||
out2+=("^sep($CHEIGHT)")
|
out2+=("^sep($CHEIGHT)")
|
||||||
for i in 200 100 50
|
for i in 200 100 50
|
||||||
do
|
do
|
||||||
[[ "${cheight}" == "${i}" ]] && out2+=("<big>綠</big> <b>$i</b>,cavactl start $i;$me") || out2+=("<big>祿</big> $i,cavactl start $i;$me")
|
[[ "${cheight}" == "${i}" ]] && out2+=("<big>${ron}</big> <b>$i</b>,cavactl start $i;$me") || out2+=("<big>${roff}</big> $i,cavactl start $i;$me")
|
||||||
done
|
done
|
||||||
|
|
||||||
out+=("^sep($COLOR_MODE)")
|
out+=("^sep($COLOR_MODE)")
|
||||||
[[ "$GR" == "0" ]] && out+=("<big>綠</big> $SOLID_COLOR,cavactl mode solid;$me" "<big></big> $GRADIENT,cavactl mode gradient;$me") || out+=("<big></big> $SOLID_COLOR,cavactl mode solid;$me" "<big>綠</big> $GRADIENT,cavactl mode gradient;$me")
|
[[ "$GR" == "0" ]] && out+=("<big>${ron}</big> $SOLID_COLOR,cavactl mode solid;$me" "<big></big> $GRADIENT,cavactl mode gradient;$me") || out+=("<big></big> $SOLID_COLOR,cavactl mode solid;$me" "<big>${ron}</big> $GRADIENT,cavactl mode gradient;$me")
|
||||||
out+=("^sep($COLORIZE_CAVA)")
|
out+=("^sep($COLORIZE_CAVA)")
|
||||||
out+=("<tt><span bgcolor='$FGC' fgcolor='$FGT'> ${FGC} </span></tt> $COLOR,^pipe(mbclr '$FGC' cavactl foreground Cava_Bar_Color '$me')")
|
out+=("<tt><span bgcolor='$FGC' fgcolor='$FGT'> ${FGC} </span></tt> $COLOR,^pipe(mbclr '$FGC' cavactl foreground Cava_Bar_Color '$me')")
|
||||||
out+=("^sep($GRADIENT)")
|
out+=("^sep($GRADIENT)")
|
||||||
@@ -165,7 +165,7 @@ FGT=$(pastel textcolor ${FGC}|pastel format hex)
|
|||||||
out2+=("^sep($BAR_WIDTH)")
|
out2+=("^sep($BAR_WIDTH)")
|
||||||
for i in 1 2 3 4 5 6 8 10 20
|
for i in 1 2 3 4 5 6 8 10 20
|
||||||
do
|
do
|
||||||
[[ "$BW" == "$i" ]] && out2+=("<big>綠</big> <b>$i</b>,cavactl bar_width $i;$me") || out2+=("<big>祿</big> $i,cavactl bar_width $i;$me")
|
[[ "$BW" == "$i" ]] && out2+=("<big>${ron}</big> <b>$i</b>,cavactl bar_width $i;$me") || out2+=("<big>${roff}</big> $i,cavactl bar_width $i;$me")
|
||||||
done
|
done
|
||||||
|
|
||||||
out+=("$BAR_SPACING [ <b>$BS</b> ],^checkout(barspacing)")
|
out+=("$BAR_SPACING [ <b>$BS</b> ],^checkout(barspacing)")
|
||||||
@@ -173,7 +173,7 @@ FGT=$(pastel textcolor ${FGC}|pastel format hex)
|
|||||||
out2+=("^sep($BAR_SPACING)")
|
out2+=("^sep($BAR_SPACING)")
|
||||||
for i in 0 1 2 3 4 5 6 8 10
|
for i in 0 1 2 3 4 5 6 8 10
|
||||||
do
|
do
|
||||||
[[ "$BS" == "$i" ]] && out2+=("<big>綠</big> <b>$i</b>,cavactl bar_spacing $i;$me") || out2+=("<big>祿</big> $i,cavactl bar_spacing $i;$me")
|
[[ "$BS" == "$i" ]] && out2+=("<big>${ron}</big> <b>$i</b>,cavactl bar_spacing $i;$me") || out2+=("<big>${roff}</big> $i,cavactl bar_spacing $i;$me")
|
||||||
done
|
done
|
||||||
out+=("^sep($_GENERAL)")
|
out+=("^sep($_GENERAL)")
|
||||||
out+=("$_FRAMERATE [ <b>$FPS</b> ],^checkout(fps)")
|
out+=("$_FRAMERATE [ <b>$FPS</b> ],^checkout(fps)")
|
||||||
@@ -181,7 +181,7 @@ FGT=$(pastel textcolor ${FGC}|pastel format hex)
|
|||||||
out2+=("^sep($_FRAMERATE)")
|
out2+=("^sep($_FRAMERATE)")
|
||||||
for i in 144 120 60
|
for i in 144 120 60
|
||||||
do
|
do
|
||||||
[[ "$FPS" == "$i" ]] && out2+=("<big>綠</big> <b>$i</b>,cavactl framerate $i;$me") || out2+=("<big>祿</big> $i,cavactl framerate $i;$me")
|
[[ "$FPS" == "$i" ]] && out2+=("<big>${ron}</big> <b>$i</b>,cavactl framerate $i;$me") || out2+=("<big>${roff}</big> $i,cavactl framerate $i;$me")
|
||||||
done
|
done
|
||||||
|
|
||||||
out+=("$_NOISE_RED [ <b>$NOISE_RED</b> ],^checkout(sens)")
|
out+=("$_NOISE_RED [ <b>$NOISE_RED</b> ],^checkout(sens)")
|
||||||
@@ -189,7 +189,7 @@ FGT=$(pastel textcolor ${FGC}|pastel format hex)
|
|||||||
out2+=("^sep($_NOISE_RED)")
|
out2+=("^sep($_NOISE_RED)")
|
||||||
for i in 90 77 50 25
|
for i in 90 77 50 25
|
||||||
do
|
do
|
||||||
[[ "$NOISE_RED" == "$i" ]] && out2+=("<big>綠</big> <b>$i</b>,cavactl noise_reduction $i;$me") || out2+=("<big>祿</big> $i,cavactl noise_reduction $i;$me")
|
[[ "$NOISE_RED" == "$i" ]] && out2+=("<big>${ron}</big> <b>$i</b>,cavactl noise_reduction $i;$me") || out2+=("<big>${roff}</big> $i,cavactl noise_reduction $i;$me")
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
@@ -202,12 +202,11 @@ FGT=$(pastel textcolor ${FGC}|pastel format hex)
|
|||||||
#out+=(" $RELOAD,cavactl reload;$me")
|
#out+=(" $RELOAD,cavactl reload;$me")
|
||||||
|
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
out+=("<big></big> $INFO,cavactl info")
|
out+=("<big> </big> $INFO,cavactl info")
|
||||||
|
|
||||||
|
|
||||||
### RUN
|
### RUN
|
||||||
if [[ "$1" == "-s" ]]; then
|
if [[ "$1" == "-s" ]]; then
|
||||||
. /usr/share/mb-jgtools/pipemenu-standalone.cfg
|
|
||||||
|
|
||||||
|
|
||||||
CNF_DIR="$HOME/.config/colorizer"
|
CNF_DIR="$HOME/.config/colorizer"
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
#
|
#
|
||||||
# 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/>.
|
||||||
|
. /usr/share/mb-jgtools/jgtools.inc
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -117,7 +118,7 @@ read MB1 MB2 MBFG<<< "$(grep '^Messages Border ' ${THEMERC})"
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
out+=("<big></big> $INFO,notify-send.sh -i pyradio -u critical '$INFO_HEAD' '$INFO_TXT'")
|
out+=("<big></big> $INFO,notify-send.sh -i pyradio -u critical '$INFO_HEAD' '$INFO_TXT'")
|
||||||
|
|
||||||
out+=("^sep($SETCOLORS)")
|
out+=("^sep($SETCOLORS)")
|
||||||
out+=("<tt><span weight='bold' bgcolor='$SBG' fgcolor='$SFG'> AbCd </span></tt> Stations,^checkout(stations)")
|
out+=("<tt><span weight='bold' bgcolor='$SBG' fgcolor='$SFG'> AbCd </span></tt> Stations,^checkout(stations)")
|
||||||
@@ -161,14 +162,14 @@ read MB1 MB2 MBFG<<< "$(grep '^Messages Border ' ${THEMERC})"
|
|||||||
out+=("<tt><span bgcolor='${w[0]}' fgcolor='${w[-3]}'> 2. station </span></tt> $DARKBG,w2theme pyradio dark;$me")
|
out+=("<tt><span bgcolor='${w[0]}' fgcolor='${w[-3]}'> 2. station </span></tt> $DARKBG,w2theme pyradio dark;$me")
|
||||||
|
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
out+=("<big></big> $RESETTHEME,prtctl resettheme;$me")
|
out+=("<big></big> $RESETTHEME,prtctl resettheme;$me")
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
out+=("$EXPORTTHEME,prtctl exp;$me")
|
out+=("$EXPORTTHEME,prtctl exp;$me")
|
||||||
|
|
||||||
out+=("^sep($CONFIG_AND_DOCS)")
|
out+=("^sep($CONFIG_AND_DOCS)")
|
||||||
#out+=("PyRadio README,cat /usr/share/doc/pyradio/README.html| yad --html --no-buttons --no-escape --height=800 --width=600")
|
#out+=("PyRadio README,cat /usr/share/doc/pyradio/README.html| yad --html --no-buttons --no-escape --height=800 --width=600")
|
||||||
out+=("<big></big> $README,xdg-open /usr/share/doc/pyradio/README.html")
|
out+=("<big></big> $README,xdg-open /usr/share/doc/pyradio/README.html")
|
||||||
out+=("<big></big> $MANUAL,^term(man pyradio)")
|
out+=("<big></big> $MANUAL,^term(man pyradio)")
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
out+=("<big></big> $EDITCONF,xdg-open ~/.config/pyradio/config")
|
out+=("<big></big> $EDITCONF,xdg-open ~/.config/pyradio/config")
|
||||||
out+=("<big></big> $EDITSTATIONS,xdg-open ~/.config/pyradio/stations.csv")
|
out+=("<big></big> $EDITSTATIONS,xdg-open ~/.config/pyradio/stations.csv")
|
||||||
@@ -178,8 +179,6 @@ read MB1 MB2 MBFG<<< "$(grep '^Messages Border ' ${THEMERC})"
|
|||||||
|
|
||||||
### RUN
|
### RUN
|
||||||
if [[ "$1" == "-s" ]]; then
|
if [[ "$1" == "-s" ]]; then
|
||||||
. /usr/share/mb-jgtools/pipemenu-standalone.cfg
|
|
||||||
. $HOME/.config/mabox/mabox.conf
|
|
||||||
|
|
||||||
CNF_DIR="$HOME/.config/colorizer"
|
CNF_DIR="$HOME/.config/colorizer"
|
||||||
CNF_FILE="$CNF_DIR/colorizer.conf"
|
CNF_FILE="$CNF_DIR/colorizer.conf"
|
||||||
|
|||||||
Reference in New Issue
Block a user