prepare and append.csv
parent
4f6edc2236
commit
2e68df3289
|
@ -120,15 +120,15 @@ MENU_HEIGHT_MIN=$(xdpyinfo | awk '/^ +dimensions/ {print $2}' | cut -d 'x' -f2)
|
||||||
mkconfigfile
|
mkconfigfile
|
||||||
|
|
||||||
cat <<EOF > ${MENU_ITEMS}
|
cat <<EOF > ${MENU_ITEMS}
|
||||||
@icon,,10,20,48,48,4,left,top,,,/usr/share/icons/hicolor/48x48/apps/mbcc.png
|
@icon,,270,10,48,48,4,left,top,,,/usr/share/icons/hicolor/48x48/apps/distributor-logo-mabox.png
|
||||||
@text,,70,10,200,20,4,left,top,#EEEEEE,#111111,<big>$OSNAME $OSVERSION</big> <sup> $OSCODE</sup>
|
@text,,10,10,200,20,4,left,top,#EEEEEE,#111111,<big>$OSNAME $OSVERSION</big> <sup> $OSCODE</sup>
|
||||||
@text,,70,30,200,20,4,left,top,#666666,#444444,<small>Jądro:</small> $KERNEL $HOSTTYPE
|
@text,,10,30,200,20,4,left,top,#666666,#444444,<small>Jądro:</small> $KERNEL $HOSTTYPE
|
||||||
@text,,70,50,200,20,4,left,top,#666666,#444444,<small>$USER@$HOSTNAME</small>
|
@text,,10,50,200,20,4,left,top,#666666,#444444,<small>$USER@$HOSTNAME</small>
|
||||||
#@rect,,40,70,262,20,0,left,top,#666666,#262626,
|
#@rect,,40,70,262,20,0,left,top,#666666,#262626,
|
||||||
@text,,44,70,20,20,0,left,top,auto,#222222,<big></big>
|
@text,,14,70,20,20,0,left,top,auto,#222222,<big></big>
|
||||||
@search,,60,70,292,20,4,left,top,auto,#262626,""" <i>pisz, aby wyszukać</i>"""
|
@search,,30,70,292,20,4,left,top,auto,#262626,""" <i>pisz, aby wyszukać</i>"""
|
||||||
|
|
||||||
|
|
||||||
|
. $HOME/.config/mabox/right-prepend.csv
|
||||||
^sep(Zarządzanie oprogramowaniem)
|
^sep(Zarządzanie oprogramowaniem)
|
||||||
Aktualizacja systemu (Pamac),pamac-manager --updates
|
Aktualizacja systemu (Pamac),pamac-manager --updates
|
||||||
Aktualizacja systemu (cli),^term(sudo pacman -Syyu)
|
Aktualizacja systemu (cli),^term(sudo pacman -Syyu)
|
||||||
|
@ -157,6 +157,8 @@ cat <<EOF > ${MENU_ITEMS}
|
||||||
Wyłącz,systemctl poweroff
|
Wyłącz,systemctl poweroff
|
||||||
Zablokuj ekran, betterlockscreen -l
|
Zablokuj ekran, betterlockscreen -l
|
||||||
|
|
||||||
|
. $HOME/.config/mabox/right-append.csv
|
||||||
|
|
||||||
^tag(system)
|
^tag(system)
|
||||||
|
|
||||||
^sep(System i sprzęt)
|
^sep(System i sprzęt)
|
||||||
|
@ -248,7 +250,7 @@ cat <<EOF > ${MENU_ITEMS}
|
||||||
|
|
||||||
^sep(Szybka nawigacja)
|
^sep(Szybka nawigacja)
|
||||||
Katalog główny,^pipe(jgmenu_run ob --cmd='obbrowser /')
|
Katalog główny,^pipe(jgmenu_run ob --cmd='obbrowser /')
|
||||||
Katalog domowy,^pipe(jgmenu_run ob --cmd='mabox-places-pipemenu')
|
Katalog domowy,^pipe(places)
|
||||||
|
|
||||||
$(basename $(xdg-user-dir DESKTOP)),^pipe(places $(xdg-user-dir DESKTOP))
|
$(basename $(xdg-user-dir DESKTOP)),^pipe(places $(xdg-user-dir DESKTOP))
|
||||||
$(basename $(xdg-user-dir DOWNLOAD)),^pipe(places $(xdg-user-dir DOWNLOAD))
|
$(basename $(xdg-user-dir DOWNLOAD)),^pipe(places $(xdg-user-dir DOWNLOAD))
|
||||||
|
|
|
@ -24,12 +24,13 @@ ${shortname},^pipe(places '${path}/${shortname}')"
|
||||||
${shortname},${JGMENU_RESOURCE_OPENER} ${path}/${shortname}"
|
${shortname},${JGMENU_RESOURCE_OPENER} ${path}/${shortname}"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
printf "%b\n" "^sep(${path})"
|
printf "%b\n" "^sep(<small><i>${path}</i></small>)"
|
||||||
printf "%b\n" "Browse here...,${JGMENU_RESOURCE_OPENER} ${path}"
|
printf "%b\n" " Otwórz w menadżerze plików,${JGMENU_RESOURCE_OPENER} ${path}"
|
||||||
|
printf "%b\n" " Otwórz w termianlu,terminator --working-directory=${path}"
|
||||||
printf "%b\n" "^sep()"
|
printf "%b\n" "^sep()"
|
||||||
printf "%b\n" "^sep(Katalogi)"
|
#printf "%b\n" "^sep(Katalogi)"
|
||||||
printf "%b\n" "${directories_menu}"
|
printf "%b\n" "${directories_menu}"
|
||||||
printf "%b\n" "^sep(Katalogi)"
|
#printf "%b\n" "^sep(Pliki)"
|
||||||
printf "%b\n" "${files_menu}"
|
printf "%b\n" "${files_menu}"
|
||||||
|
|
||||||
if test -z "${directories_menu}" && test -z "${files_menu}"
|
if test -z "${directories_menu}" && test -z "${files_menu}"
|
||||||
|
|
Loading…
Reference in New Issue