expose font config

master
Daniel Napora 2024-09-26 01:31:26 +02:00
parent 55d32f5432
commit 724db5311e
1 changed files with 13 additions and 1 deletions

View File

@ -675,6 +675,7 @@ case $LANG in
HOME_DIR="Katalog Domowy" HOME_DIR="Katalog Domowy"
ROOTDIR="Katalog główny" ROOTDIR="Katalog główny"
PIPEMENUS="Narzędzia" PIPEMENUS="Narzędzia"
_CONFIG_FONTS="Konfiguruj <b>Czcionki</b>"
POPINSTALL="Instaluj popularne programy" POPINSTALL="Instaluj popularne programy"
SYSINFO="Informacje o systemie" SYSINFO="Informacje o systemie"
SHORTCUTS="Skróty klawiszowe" SHORTCUTS="Skróty klawiszowe"
@ -694,6 +695,7 @@ case $LANG in
HOME_DIR="Carpeta personal" HOME_DIR="Carpeta personal"
ROOTDIR="Directorio raíz" ROOTDIR="Directorio raíz"
PIPEMENUS="Menu con extras" PIPEMENUS="Menu con extras"
_CONFIG_FONTS="Configure <b>Fonts</b>"
POPINSTALL="Instalar Programas populares" POPINSTALL="Instalar Programas populares"
SYSINFO="System information" SYSINFO="System information"
SHORTCUTS="Atajos del teclado" SHORTCUTS="Atajos del teclado"
@ -713,6 +715,7 @@ case $LANG in
HOME_DIR="Home Directory" HOME_DIR="Home Directory"
ROOTDIR="Main Directory" ROOTDIR="Main Directory"
PIPEMENUS="Mabox Tools" PIPEMENUS="Mabox Tools"
_CONFIG_FONTS="Configure <b>Fonts</b>"
POPINSTALL="Install popular apps" POPINSTALL="Install popular apps"
SYSINFO="System information" SYSINFO="System information"
SHORTCUTS="Keyboard shortcuts" SHORTCUTS="Keyboard shortcuts"
@ -783,7 +786,7 @@ fi
#[ $places_keyspipe == true ] && keyspipe="<big></big> $SHORTCUTS,^pipe(jgkeys-pipe -r)" && pipesep="^sep($PIPEMENUS)" #[ $places_keyspipe == true ] && keyspipe="<big></big> $SHORTCUTS,^pipe(jgkeys-pipe -r)" && pipesep="^sep($PIPEMENUS)"
[ $places_sshpipe == true ] && sshpipe="<big></big> $SSH_CONN,^pipe(jgssh -r)" && pipesep="^sep($PIPEMENUS)" [ $places_sshpipe == true ] && sshpipe="<big></big> $SSH_CONN,^pipe(jgssh -r)" && pipesep="^sep($PIPEMENUS)"
[ $places_softwarepipe == true ] && softwarepipe="<big></big> $POPINSTALL,^pipe(jgsoftware-pipe -r)" && pipesep="^sep($PIPEMENUS)" [ $places_softwarepipe == true ] && softwarepipe="<big></big> $POPINSTALL,^pipe(jgsoftware-pipe -r)" && pipesep="^sep($PIPEMENUS)"
[[ $places_conkypipe == true || -z ${places_conkypipe} ]] && conkypipe="<big></big> $CONKYSETTINGS,colorizer-conky -s" && pipesep="^sep($PIPEMENUS)" [[ $places_conkypipe == true || -z ${places_conkypipe} ]] && conkypipe="<big></big> $CONKYSETTINGS,colorizer-conky -s" && pipesep="^sep($PIPEMENUS)"
[[ $places_jgdeskmngr == true || -z ${places_jgdeskmngr} ]] && jgdeskmngr="<big></big> $DESKMNGR,^pipe(jgdeskmngr -r)" && pipesep="^sep($PIPEMENUS)" [[ $places_jgdeskmngr == true || -z ${places_jgdeskmngr} ]] && jgdeskmngr="<big></big> $DESKMNGR,^pipe(jgdeskmngr -r)" && pipesep="^sep($PIPEMENUS)"
[[ $places_jgdesktops == true || -z ${places_jgdesktops} ]] && jgdesktops="<big></big> $DESKTOPS,^pipe(jgdesktops -r)" && pipesep="^sep($PIPEMENUS)" [[ $places_jgdesktops == true || -z ${places_jgdesktops} ]] && jgdesktops="<big></big> $DESKTOPS,^pipe(jgdesktops -r)" && pipesep="^sep($PIPEMENUS)"
[[ $places_jgdeskgrid == true || -z ${places_jgdeskgrid} ]] && jgdeskgrid="<big></big> $SUPERCLICK,^pipe(jgdeskgrid -r)" && pipesep="^sep($PIPEMENUS)" [[ $places_jgdeskgrid == true || -z ${places_jgdeskgrid} ]] && jgdeskgrid="<big></big> $SUPERCLICK,^pipe(jgdeskgrid -r)" && pipesep="^sep($PIPEMENUS)"
@ -839,6 +842,7 @@ $(gtkbookmarks)
$pipesep $pipesep
$softwarepipe $softwarepipe
$tint2pipe $tint2pipe
<big></big> $_CONFIG_FONTS,colorizer-fonts -s
$conkypipe $conkypipe
$jgwallpaperchanger $jgwallpaperchanger
$jglockscreen $jglockscreen
@ -942,9 +946,17 @@ THUMBDIR="$HOME/.cache/colorizer/thumbs"
convert ${WALLPATH} -resize 270x150^ -gravity center -extent 270x150 ${THUMB} convert ${WALLPATH} -resize 270x150^ -gravity center -extent 270x150 ${THUMB}
fi fi
# system uptime
UPT="$(uptime -p)"
UPT="${UPT/up /}"
UPT="${UPT/ day?/d}"
UPT="${UPT/ hour?/h}"
UPT="${UPT/ minute?/m}"
cat <<EOF > ${MENU_ITEMS} cat <<EOF > ${MENU_ITEMS}
@icon,,$((jgtools_padding)),$((jgtools_padding)),270,150,4,left,top,,,$THUMB @icon,,$((jgtools_padding)),$((jgtools_padding)),270,150,4,left,top,,,$THUMB
@rect,,$((jgtools_padding + 140)),$((jgtools_padding + 4)),130,20,2,left,top,#222222 50,#222222 80,
@text,,$((jgtools_padding + 148)),$((jgtools_padding + 4)),122,20,4,left,top,#EEEEEE,##EEEEEE,"""<span size='9200' font_family='Ubuntu'><i>uptime $UPT</i></span>"""
@rect,,$((jgtools_padding + 0)),$((jgtools_padding + 120)),270,22,2,left,top,#222222 50,#222222 80, @rect,,$((jgtools_padding + 0)),$((jgtools_padding + 120)),270,22,2,left,top,#222222 50,#222222 80,
@text,,$((jgtools_padding + 8)),$((jgtools_padding + 120)),292,20,4,left,top,#EEEEEE,##EEEEEE,"""<span size='10400' font_family='Ubuntu'>$USER @ $HOSTNAME</span>""" @text,,$((jgtools_padding + 8)),$((jgtools_padding + 120)),292,20,4,left,top,#EEEEEE,##EEEEEE,"""<span size='10400' font_family='Ubuntu'>$USER @ $HOSTNAME</span>"""
@icon,,224,108,48,48,4,left,top,,,/usr/share/icons/hicolor/48x48/apps/mbcc.png @icon,,224,108,48,48,4,left,top,,,/usr/share/icons/hicolor/48x48/apps/mbcc.png