mb-places bookmarks
parent
0bbc0fab23
commit
ecaecf16ae
|
@ -1,23 +1,26 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Daniel Napora 2020 - 2022 <napcok@gmail.com>
|
# Daniel Napora 2020 - 2023 <napcok@gmail.com>
|
||||||
. "$HOME"/.config/mabox/mabox.conf
|
. "$HOME"/.config/mabox/mabox.conf
|
||||||
|
|
||||||
case $LANG in
|
case $LANG in
|
||||||
pl*)
|
pl*)
|
||||||
DIRECTORIES="Katalogi"
|
DIRECTORIES="Katalogi"
|
||||||
FILES="Pliki"
|
FILES="Pliki"
|
||||||
|
ADDBOOKMARK="Dodaj do zakładek"
|
||||||
OPENDIR="Otwórz w menadżerze plików"
|
OPENDIR="Otwórz w menadżerze plików"
|
||||||
OPENTERM="Otwórz w terminalu"
|
OPENTERM="Otwórz w terminalu"
|
||||||
;;
|
;;
|
||||||
es*)
|
es*)
|
||||||
DIRECTORIES="Directorios"
|
DIRECTORIES="Directorios"
|
||||||
FILES="Archivos"
|
FILES="Archivos"
|
||||||
|
ADDBOOKMARK="Agregar a marcadores"
|
||||||
OPENDIR="Abrir Gestor de archivos aquí"
|
OPENDIR="Abrir Gestor de archivos aquí"
|
||||||
OPENTERM="Abrir terminal aquí"
|
OPENTERM="Abrir terminal aquí"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
DIRECTORIES="Directories"
|
DIRECTORIES="Directories"
|
||||||
FILES="Files"
|
FILES="Files"
|
||||||
|
ADDBOOKMARK="Add to Bookmarks"
|
||||||
OPENDIR="Open filemanager here"
|
OPENDIR="Open filemanager here"
|
||||||
OPENTERM="Open terminal here"
|
OPENTERM="Open terminal here"
|
||||||
;;
|
;;
|
||||||
|
@ -54,6 +57,8 @@ else
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
printf "%b\n" "^sep(<small><i>${DIRECTORY:-/}</i></small>)"
|
printf "%b\n" "^sep(<small><i>${DIRECTORY:-/}</i></small>)"
|
||||||
|
printf "%b\n" " ${ADDBOOKMARK},\"\"\"echo \" ${DIRECTORY##*/},^pipe(jgbrowser ${DIRECTORY:-/})\" >> $HOME/.config/mabox/places.csv;mb-places -s\"\"\""
|
||||||
|
printf "%b\n" "^sep()"
|
||||||
printf "%b\n" " $OPENDIR,${JGMENU_RESOURCE_OPENER} \"${DIRECTORY:-/}\""
|
printf "%b\n" " $OPENDIR,${JGMENU_RESOURCE_OPENER} \"${DIRECTORY:-/}\""
|
||||||
printf "%b\n" "<big></big> $OPENTERM,exo-open --launch TerminalEmulator --working-directory=\"${DIRECTORY:-/}\""
|
printf "%b\n" "<big></big> $OPENTERM,exo-open --launch TerminalEmulator --working-directory=\"${DIRECTORY:-/}\""
|
||||||
#printf "%b\n" " $OPENTERM,terminator --working-directory=\"${DIRECTORY:-/}\""
|
#printf "%b\n" " $OPENTERM,terminator --working-directory=\"${DIRECTORY:-/}\""
|
||||||
|
|
Loading…
Reference in New Issue