jgdesktops

master
Daniel Napora 2023-05-20 16:36:59 +02:00
parent 850fdfd1de
commit 916557d052
1 changed files with 16 additions and 13 deletions

View File

@ -7,6 +7,7 @@ me="jgdesktops -s"
case $LANG in case $LANG in
pl*) pl*)
TITLE="Pulpity i Okna"
REMOVE="Usuń to menu z panelu" REMOVE="Usuń to menu z panelu"
ACTIVE="bieżący" ACTIVE="bieżący"
GOTO="Idź do..." GOTO="Idź do..."
@ -55,6 +56,7 @@ case $LANG in
DARKBG="<b>dark</b> - ciemne tło" DARKBG="<b>dark</b> - ciemne tło"
;; ;;
es*) es*)
TITLE="Windows &amp; Desktops"
REMOVE="Eliminar este menú del panel" REMOVE="Eliminar este menú del panel"
ACTIVE="active" ACTIVE="active"
GOTO="Go to..." GOTO="Go to..."
@ -102,7 +104,8 @@ case $LANG in
LIGHTBG="with <b>light</b> background" LIGHTBG="with <b>light</b> background"
DARKBG="with <b>dark</b> background" DARKBG="with <b>dark</b> background"
;; ;;
*) *)
TITLE="Windows &amp; Desktops"
REMOVE="Remove this menu from panel" REMOVE="Remove this menu from panel"
ACTIVE="active" ACTIVE="active"
GOTO="Go to..." GOTO="Go to..."
@ -153,20 +156,20 @@ case $LANG in
;; ;;
esac esac
CSVFILE="$HOME/.config/mabox/jgdesktops-bottom.csv" #CSVFILE="$HOME/.config/mabox/jgdesktops-bottom.csv"
# If config file not exist create one with defaults # If config file not exist create one with defaults
if [ ! -f $CSVFILE ]; then #if [ ! -f $CSVFILE ]; then
cat <<EOF > ${CSVFILE} #cat <<EOF > ${CSVFILE}
^sep($TOOLS) #^sep($TOOLS)
<big>󰸉</big> $WALLCHANGER,^pipe(jgwallpaperchanger) #<big>󰸉</big> $WALLCHANGER,^pipe(jgwallpaperchanger)
<big>󱇙</big> $DESKGRID,^pipe(jgdeskgrid) #<big>󱇙</big> $DESKGRID,^pipe(jgdeskgrid)
<big></big> $DESKMNGR,^pipe(jgdeskmngr) #<big></big> $DESKMNGR,^pipe(jgdeskmngr)
<big>󰹑</big> $SCREEN_RES - ARandR,arandr #<big>󰹑</big> $SCREEN_RES - ARandR,arandr
<big>󰹑</big> $SCREEN_RES - LXRandr,lxrandr #<big>󰹑</big> $SCREEN_RES - LXRandr,lxrandr
EOF #EOF
fi #fi
out+=("^sep(${TITLE})")
currdesk=$(wmctrl -d | grep "*" | awk '{print $1}') currdesk=$(wmctrl -d | grep "*" | awk '{print $1}')
#out+=("^sep(Okna i pulpity)") #out+=("^sep(Okna i pulpity)")