glyphicons
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
# Copyright (C) 2020-2026 Daniel Napora <danieln@maboxlinux.org>
|
# Copyright (C) 2020-2026 Daniel Napora <danieln@maboxlinux.org>
|
||||||
|
|
||||||
|
|
||||||
|
. /usr/share/mb-jgtools/jgtools.inc
|
||||||
|
|
||||||
. "$HOME/.config/mabox/mabox.conf"
|
|
||||||
backend=${picom_renderer:-glx}
|
backend=${picom_renderer:-glx}
|
||||||
|
|
||||||
CONFDIR="$HOME/.config/picom/configs"
|
CONFDIR="$HOME/.config/picom/configs"
|
||||||
@@ -73,22 +73,22 @@ if ! pidof picom > /dev/null; then
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
out+=("^sep($RENDERER)")
|
out+=("^sep($RENDERER)")
|
||||||
[[ "$backend" == "glx" ]] && out+=("<big>綠</big> $GLX" "<big>祿</big> $XRENDER,mb-setvar picom_renderer=xrender;mabox-compositor --restart;${me}") || out+=("<big>祿</big> $GLX,mb-setvar picom_renderer=glx;mabox-compositor --restart;${me}" "<big>綠</big> $XRENDER")
|
[[ "$backend" == "glx" ]] && out+=("<big>${ron}</big> $GLX" "<big>${roff}</big> $XRENDER,mb-setvar picom_renderer=xrender;mabox-compositor --restart;${me}") || out+=("<big>${roff}</big> $GLX,mb-setvar picom_renderer=glx;mabox-compositor --restart;${me}" "<big>${ron}</big> $XRENDER")
|
||||||
|
|
||||||
out+=("^sep($CHOOSE)")
|
out+=("^sep($CHOOSE)")
|
||||||
|
|
||||||
if [ "$(readlink $CONFFILE)" -ef "/dev/null" ];then
|
if [ "$(readlink $CONFFILE)" -ef "/dev/null" ];then
|
||||||
out+=("<big>綠</big> <u><b>$DEVNULL</b></u>")
|
out+=("<big>${ron}</big> <u><b>$DEVNULL</b></u>")
|
||||||
else
|
else
|
||||||
out+=("<big>祿</big> $DEVNULL,ln -sf /dev/null $CONFFILE;mabox-compositor --restart;${me}")
|
out+=("<big>${roff}</big> $DEVNULL,ln -sf /dev/null $CONFFILE;mabox-compositor --restart;${me}")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for item in "$CONFDIR"/*.conf; do
|
for item in "$CONFDIR"/*.conf; do
|
||||||
if [ -f "$item" ];then
|
if [ -f "$item" ];then
|
||||||
if [ "$(readlink $CONFFILE)" -ef "$item" ];then
|
if [ "$(readlink $CONFFILE)" -ef "$item" ];then
|
||||||
out+=("<big>綠</big> <u><b>${item##*/}</b></u>")
|
out+=("<big>${ron}</big> <u><b>${item##*/}</b></u>")
|
||||||
else
|
else
|
||||||
out+=("<big>祿</big> ${item##*/},ln -sf $item $CONFFILE;mabox-compositor --restart;${me}")
|
out+=("<big>${roff}</big> ${item##*/},ln -sf $item $CONFFILE;mabox-compositor --restart;${me}")
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
@@ -105,8 +105,6 @@ out+=(" $OPENDIR,exo-open --launch FileManager $CONFDIR")
|
|||||||
|
|
||||||
|
|
||||||
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"
|
||||||
CNF_FILE="$CNF_DIR/colorizer.conf"
|
CNF_FILE="$CNF_DIR/colorizer.conf"
|
||||||
|
|||||||
0
usr/bin/jgwallpapergenerate
Normal file → Executable file
0
usr/bin/jgwallpapergenerate
Normal file → Executable file
Reference in New Issue
Block a user