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