diff --git a/usr/bin/jgdesktops b/usr/bin/jgdesktops index 969f1c6..0c5dde8 100755 --- a/usr/bin/jgdesktops +++ b/usr/bin/jgdesktops @@ -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="dark - ciemne tło" ;; es*) + TITLE="Windows & Desktops" REMOVE="Eliminar este menú del panel" ACTIVE="active" GOTO="Go to..." @@ -102,7 +104,8 @@ case $LANG in LIGHTBG="with light background" DARKBG="with dark background" ;; - *) + *) + TITLE="Windows & 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 < ${CSVFILE} -^sep($TOOLS) -󰸉 $WALLCHANGER,^pipe(jgwallpaperchanger) -󱇙 $DESKGRID,^pipe(jgdeskgrid) - $DESKMNGR,^pipe(jgdeskmngr) -󰹑 $SCREEN_RES - ARandR,arandr -󰹑 $SCREEN_RES - LXRandr,lxrandr -EOF -fi - +#if [ ! -f $CSVFILE ]; then +#cat < ${CSVFILE} +#^sep($TOOLS) +#󰸉 $WALLCHANGER,^pipe(jgwallpaperchanger) +#󱇙 $DESKGRID,^pipe(jgdeskgrid) +# $DESKMNGR,^pipe(jgdeskmngr) +#󰹑 $SCREEN_RES - ARandR,arandr +#󰹑 $SCREEN_RES - LXRandr,lxrandr +#EOF +#fi +out+=("^sep(${TITLE})") currdesk=$(wmctrl -d | grep "*" | awk '{print $1}') #out+=("^sep(Okna i pulpity)")