glyphicons
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
. $HOME/.config/mabox/mabox.conf
|
||||
. /usr/share/mb-jgtools/jgtools.inc
|
||||
|
||||
wmctrl -R cavatransparent
|
||||
|
||||
@@ -137,16 +137,16 @@ FGT=$(pastel textcolor ${FGC}|pastel format hex)
|
||||
out2+=("^sep($CWIDTH)")
|
||||
for i in full half third
|
||||
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
|
||||
out2+=("^sep($CHEIGHT)")
|
||||
for i in 200 100 50
|
||||
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
|
||||
|
||||
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+=("<tt><span bgcolor='$FGC' fgcolor='$FGT'> ${FGC} </span></tt> $COLOR,^pipe(mbclr '$FGC' cavactl foreground Cava_Bar_Color '$me')")
|
||||
out+=("^sep($GRADIENT)")
|
||||
@@ -165,7 +165,7 @@ FGT=$(pastel textcolor ${FGC}|pastel format hex)
|
||||
out2+=("^sep($BAR_WIDTH)")
|
||||
for i in 1 2 3 4 5 6 8 10 20
|
||||
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
|
||||
|
||||
out+=("$BAR_SPACING [ <b>$BS</b> ],^checkout(barspacing)")
|
||||
@@ -173,7 +173,7 @@ FGT=$(pastel textcolor ${FGC}|pastel format hex)
|
||||
out2+=("^sep($BAR_SPACING)")
|
||||
for i in 0 1 2 3 4 5 6 8 10
|
||||
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
|
||||
out+=("^sep($_GENERAL)")
|
||||
out+=("$_FRAMERATE [ <b>$FPS</b> ],^checkout(fps)")
|
||||
@@ -181,7 +181,7 @@ FGT=$(pastel textcolor ${FGC}|pastel format hex)
|
||||
out2+=("^sep($_FRAMERATE)")
|
||||
for i in 144 120 60
|
||||
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
|
||||
|
||||
out+=("$_NOISE_RED [ <b>$NOISE_RED</b> ],^checkout(sens)")
|
||||
@@ -189,7 +189,7 @@ FGT=$(pastel textcolor ${FGC}|pastel format hex)
|
||||
out2+=("^sep($_NOISE_RED)")
|
||||
for i in 90 77 50 25
|
||||
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
|
||||
|
||||
|
||||
@@ -202,12 +202,11 @@ FGT=$(pastel textcolor ${FGC}|pastel format hex)
|
||||
#out+=(" $RELOAD,cavactl reload;$me")
|
||||
|
||||
out+=("^sep()")
|
||||
out+=("<big></big> $INFO,cavactl info")
|
||||
out+=("<big> </big> $INFO,cavactl info")
|
||||
|
||||
|
||||
### RUN
|
||||
if [[ "$1" == "-s" ]]; then
|
||||
. /usr/share/mb-jgtools/pipemenu-standalone.cfg
|
||||
|
||||
|
||||
CNF_DIR="$HOME/.config/colorizer"
|
||||
|
||||
Reference in New Issue
Block a user