upd
parent
6b989d1ac6
commit
1fe1f8f05d
|
@ -15,6 +15,7 @@ case $LANG in
|
||||||
OUTER_GAP="Zewnętrzny odstęp"
|
OUTER_GAP="Zewnętrzny odstęp"
|
||||||
NOTIFY="Powiadomienia"
|
NOTIFY="Powiadomienia"
|
||||||
EDITCONF="Edytuj plik konfiguracyjny"
|
EDITCONF="Edytuj plik konfiguracyjny"
|
||||||
|
LEFTPANEL="Lewy panel"
|
||||||
;;
|
;;
|
||||||
es*)
|
es*)
|
||||||
REMOVE="Eliminar este menú del panel"
|
REMOVE="Eliminar este menú del panel"
|
||||||
|
@ -29,6 +30,7 @@ case $LANG in
|
||||||
OUTER_GAP="Show outer gap"
|
OUTER_GAP="Show outer gap"
|
||||||
NOTIFY="Notifications"
|
NOTIFY="Notifications"
|
||||||
EDITCONF="Edit config file"
|
EDITCONF="Edit config file"
|
||||||
|
LEFTPANEL="Left panel"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
REMOVE="Remove this menu from panel"
|
REMOVE="Remove this menu from panel"
|
||||||
|
@ -43,6 +45,7 @@ case $LANG in
|
||||||
OUTER_GAP="Show outer gap"
|
OUTER_GAP="Show outer gap"
|
||||||
NOTIFY="Notifications"
|
NOTIFY="Notifications"
|
||||||
EDITCONF="Edit config file"
|
EDITCONF="Edit config file"
|
||||||
|
LEFTPANEL="Left panel"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -105,6 +108,10 @@ out2+=("$(printf "<tt>%3s</tt>,%s" "false" "mb-setvar notifications=false $CONFI
|
||||||
if [[ "$1" == "-s" ]]; then
|
if [[ "$1" == "-s" ]]; then
|
||||||
. /usr/bin/pipemenu-standalone.cfg
|
. /usr/bin/pipemenu-standalone.cfg
|
||||||
. $HOME/.config/mabox/mabox.conf
|
. $HOME/.config/mabox/mabox.conf
|
||||||
|
|
||||||
|
out+=("^sep()")
|
||||||
|
out+=(" ⮜ $LEFTPANEL,mb-jgtools places")
|
||||||
|
|
||||||
if [[ $panels_heightpos == "top" ]]; then
|
if [[ $panels_heightpos == "top" ]]; then
|
||||||
MENU_VALIGN="top"
|
MENU_VALIGN="top"
|
||||||
MENU_MARGIN_Y=${panels_topmargin:-0}
|
MENU_MARGIN_Y=${panels_topmargin:-0}
|
||||||
|
|
|
@ -16,6 +16,7 @@ case $LANG in
|
||||||
NEW="<b>Nowa</b> sesja z bieżącego pulpitu jako..."
|
NEW="<b>Nowa</b> sesja z bieżącego pulpitu jako..."
|
||||||
title="DeskMngr - zapisuje i przywraca sesje"
|
title="DeskMngr - zapisuje i przywraca sesje"
|
||||||
help='\nZapisuje rozmiar i pozycję wszystkich okien z bieżącego pulpitu.\n\nSesję możesz otworzyć poźniej na dowolnym pulpicie.\n\n'
|
help='\nZapisuje rozmiar i pozycję wszystkich okien z bieżącego pulpitu.\n\nSesję możesz otworzyć poźniej na dowolnym pulpicie.\n\n'
|
||||||
|
LEFTPANEL="Lewy panel"
|
||||||
;;
|
;;
|
||||||
es*)
|
es*)
|
||||||
REMOVE="Eliminar este menú del panel"
|
REMOVE="Eliminar este menú del panel"
|
||||||
|
@ -30,6 +31,7 @@ case $LANG in
|
||||||
NEW="<b>New</b> session from current desktop as..."
|
NEW="<b>New</b> session from current desktop as..."
|
||||||
title="DeskMngr - save and restore sessions"
|
title="DeskMngr - save and restore sessions"
|
||||||
help='\nSave all opened windows from active desktop as session.\n\nRestore saved session later on desktop of your choice.\n\n'
|
help='\nSave all opened windows from active desktop as session.\n\nRestore saved session later on desktop of your choice.\n\n'
|
||||||
|
LEFTPANEL="Left panel"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
REMOVE="Remove this menu from panel"
|
REMOVE="Remove this menu from panel"
|
||||||
|
@ -44,14 +46,17 @@ case $LANG in
|
||||||
NEW="<b>New</b> session from current desktop as..."
|
NEW="<b>New</b> session from current desktop as..."
|
||||||
title="DeskMngr - save and restore sessions"
|
title="DeskMngr - save and restore sessions"
|
||||||
help='\nSave all opened windows from active desktop as session.\nRestore saved session later on desktop of your choice.\n\n'
|
help='\nSave all opened windows from active desktop as session.\nRestore saved session later on desktop of your choice.\n\n'
|
||||||
|
LEFTPANEL="Left panel"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
me="jgdeskmngr -s"
|
||||||
|
|
||||||
SESSIONDIR="$HOME/.config/deskmngr/"
|
SESSIONDIR="$HOME/.config/deskmngr/"
|
||||||
mkdir -p $SESSIONDIR
|
mkdir -p $SESSIONDIR
|
||||||
|
|
||||||
out+=("^sep($DESKMNGR)")
|
out+=("^sep($DESKMNGR)")
|
||||||
out+=("$ABOUT,\"\"\"notify-send.sh -u critical -i mbcc '$title' '$help'\"\"\"")
|
out+=("$ABOUT,\"\"\"notify-send.sh -u critical -i mbcc '$title' '$help';$me\"\"\"")
|
||||||
out+=("^sep(<i><small>$SAVED_SESS</small></i>)")
|
out+=("^sep(<i><small>$SAVED_SESS</small></i>)")
|
||||||
i="0"
|
i="0"
|
||||||
while IFS= read -r line
|
while IFS= read -r line
|
||||||
|
@ -66,7 +71,7 @@ out2+=("^sep($RESTORE_TO)")
|
||||||
out2+=("\"\"\" ${dname/&/&}\"\"\",deskmngr -r $name.desk $ID")
|
out2+=("\"\"\" ${dname/&/&}\"\"\",deskmngr -r $name.desk $ID")
|
||||||
done < <(wmctrl -d|awk '{print $1}')
|
done < <(wmctrl -d|awk '{print $1}')
|
||||||
out2+=("^sep()" " $EDIT <b>${name//_/ }</b>,geany $SESSIONDIR$name.desk")
|
out2+=("^sep()" " $EDIT <b>${name//_/ }</b>,geany $SESSIONDIR$name.desk")
|
||||||
out2+=("^sep()" " $DELETE <b>${name//_/ }</b>,rm -f $SESSIONDIR$name.desk")
|
out2+=("^sep()" " $DELETE <b>${name//_/ }</b>,rm -f $SESSIONDIR$name.desk;$me")
|
||||||
((i=i+1))
|
((i=i+1))
|
||||||
done < <(deskmngr -l)
|
done < <(deskmngr -l)
|
||||||
|
|
||||||
|
@ -79,6 +84,10 @@ out+=(" $NEW,deskmngr -s")
|
||||||
if [ $1 == "-s" ]; then
|
if [ $1 == "-s" ]; then
|
||||||
. /usr/bin/pipemenu-standalone.cfg
|
. /usr/bin/pipemenu-standalone.cfg
|
||||||
. $HOME/.config/mabox/mabox.conf
|
. $HOME/.config/mabox/mabox.conf
|
||||||
|
|
||||||
|
out+=("^sep()")
|
||||||
|
out+=(" ⮜ $LEFTPANEL,mb-jgtools places")
|
||||||
|
|
||||||
if [[ $panels_heightpos == "top" ]]; then
|
if [[ $panels_heightpos == "top" ]]; then
|
||||||
MENU_VALIGN="top"
|
MENU_VALIGN="top"
|
||||||
MENU_MARGIN_Y=${panels_topmargin:-0}
|
MENU_MARGIN_Y=${panels_topmargin:-0}
|
||||||
|
|
|
@ -398,6 +398,9 @@ fi
|
||||||
|
|
||||||
if [[ $1 == "-s" ]]; then
|
if [[ $1 == "-s" ]]; then
|
||||||
. /usr/bin/pipemenu-standalone.cfg
|
. /usr/bin/pipemenu-standalone.cfg
|
||||||
|
out+=("^sep()")
|
||||||
|
out+=(" ⮜ $LEFTPANEL,mb-jgtools places")
|
||||||
|
|
||||||
|
|
||||||
if [[ $panels_heightpos == "top" ]]; then
|
if [[ $panels_heightpos == "top" ]]; then
|
||||||
MENU_VALIGN="top"
|
MENU_VALIGN="top"
|
||||||
|
|
|
@ -38,7 +38,7 @@ case $LANG in
|
||||||
SEC="sekund"
|
SEC="sekund"
|
||||||
EDITCONF="Edytuj plik konfiguracyjny"
|
EDITCONF="Edytuj plik konfiguracyjny"
|
||||||
OPENDIR="Otwórz katalog z tapetami"
|
OPENDIR="Otwórz katalog z tapetami"
|
||||||
LOCKER="Blokada ekranu <small>(W+l)</small>"
|
LOCKER="Blokada ekranu <small>(super+l)</small>"
|
||||||
TYPETO="wpisz hasło aby odblokować"
|
TYPETO="wpisz hasło aby odblokować"
|
||||||
CACHE="Użyj aktualnej tapety"
|
CACHE="Użyj aktualnej tapety"
|
||||||
EFFECT="Efekt (ustaw i wypróbuj)"
|
EFFECT="Efekt (ustaw i wypróbuj)"
|
||||||
|
@ -47,6 +47,7 @@ case $LANG in
|
||||||
DIMBLUR="przyciemnienie i rozmycie"
|
DIMBLUR="przyciemnienie i rozmycie"
|
||||||
PIXEL="pikseloza"
|
PIXEL="pikseloza"
|
||||||
DESK="Rozmyty pulpit"
|
DESK="Rozmyty pulpit"
|
||||||
|
LEFTPANEL="Lewy panel"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
TITLE="Wallpaper Changer & ScreenLocker"
|
TITLE="Wallpaper Changer & ScreenLocker"
|
||||||
|
@ -61,7 +62,7 @@ case $LANG in
|
||||||
SEC="seconds"
|
SEC="seconds"
|
||||||
EDITCONF="Edit config file"
|
EDITCONF="Edit config file"
|
||||||
OPENDIR="Open wallpaper directory"
|
OPENDIR="Open wallpaper directory"
|
||||||
LOCKER="ScreenLocker <small>(W+l)</small>"
|
LOCKER="ScreenLocker <small>(super+l)</small>"
|
||||||
TYPETO="type password to unlock"
|
TYPETO="type password to unlock"
|
||||||
CACHE="Cache current wallpaper for ScreenLock"
|
CACHE="Cache current wallpaper for ScreenLock"
|
||||||
EFFECT="Effect (set and run)"
|
EFFECT="Effect (set and run)"
|
||||||
|
@ -70,6 +71,7 @@ case $LANG in
|
||||||
DIMBLUR="dim and blur"
|
DIMBLUR="dim and blur"
|
||||||
PIXEL="pixel"
|
PIXEL="pixel"
|
||||||
DESK="Blurred desktop"
|
DESK="Blurred desktop"
|
||||||
|
LEFTPANEL="Left panel"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -120,6 +122,9 @@ if [[ "$1" == "-s" ]]; then
|
||||||
. /usr/bin/pipemenu-standalone.cfg
|
. /usr/bin/pipemenu-standalone.cfg
|
||||||
. $HOME/.config/mabox/mabox.conf
|
. $HOME/.config/mabox/mabox.conf
|
||||||
|
|
||||||
|
out+=("^sep()")
|
||||||
|
out+=(" ⮜ $LEFTPANEL,mb-jgtools places")
|
||||||
|
|
||||||
if [[ $panels_heightpos == "top" ]]; then
|
if [[ $panels_heightpos == "top" ]]; then
|
||||||
MENU_VALIGN="top"
|
MENU_VALIGN="top"
|
||||||
MENU_MARGIN_Y=${panels_topmargin:-0}
|
MENU_MARGIN_Y=${panels_topmargin:-0}
|
||||||
|
|
|
@ -20,7 +20,8 @@ case $LANG in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
[[ -f "$HOME/.config/mabox/mbhelper.csv" ]] && CSVFILE="$HOME/.config/mabox/mbhelper.csv" || CSVFILE="/usr/share/mabox/lang/${LNGDIR}/.config/mabox/mbhelper.csv"
|
##[[ -f "$HOME/.config/mabox/mbhelper.csv" ]] && CSVFILE="$HOME/.config/mabox/mbhelper.csv" || CSVFILE="/usr/share/mabox/lang/${LNGDIR}/.config/mabox/mbhelper.csv"
|
||||||
|
CSVFILE="/usr/share/mabox/lang/${LNGDIR}/.config/mabox/mbhelper.csv"
|
||||||
|
|
||||||
|
|
||||||
### RUN
|
### RUN
|
||||||
|
@ -33,7 +34,7 @@ MENU_VALIGN="top"
|
||||||
MENU_MARGIN_Y=40
|
MENU_MARGIN_Y=40
|
||||||
jgmenu_icon_size=0
|
jgmenu_icon_size=0
|
||||||
JGWIDTH=500
|
JGWIDTH=500
|
||||||
MENU_HEIGHT_MAX=600
|
#MENU_HEIGHT_MAX=600
|
||||||
|
|
||||||
|
|
||||||
[ $(pidof picom) ] && MENU_RADIUS=$jgtools_radius
|
[ $(pidof picom) ] && MENU_RADIUS=$jgtools_radius
|
||||||
|
|
Loading…
Reference in New Issue