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"
ROOTDIR="Katalog główny"
PIPEMENUS="Narzędzia"
_CONFIG_FONTS="Konfiguruj <b>Czcionki</b>"
POPINSTALL="Instaluj popularne programy"
SYSINFO="Informacje o systemie"
SHORTCUTS="Skróty klawiszowe"
@ -694,6 +695,7 @@ case $LANG in
HOME_DIR="Carpeta personal"
ROOTDIR="Directorio raíz"
PIPEMENUS="Menu con extras"
_CONFIG_FONTS="Configure <b>Fonts</b>"
POPINSTALL="Instalar Programas populares"
SYSINFO="System information"
SHORTCUTS="Atajos del teclado"
@ -713,6 +715,7 @@ case $LANG in
HOME_DIR="Home Directory"
ROOTDIR="Main Directory"
PIPEMENUS="Mabox Tools"
_CONFIG_FONTS="Configure <b>Fonts</b>"
POPINSTALL="Install popular apps"
SYSINFO="System information"
SHORTCUTS="Keyboard shortcuts"
@ -839,6 +842,7 @@ $(gtkbookmarks)
$pipesep
$softwarepipe
$tint2pipe
<big></big> $_CONFIG_FONTS,colorizer-fonts -s
$conkypipe
$jgwallpaperchanger
$jglockscreen
@ -942,9 +946,17 @@ THUMBDIR="$HOME/.cache/colorizer/thumbs"
convert ${WALLPATH} -resize 270x150^ -gravity center -extent 270x150 ${THUMB}
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}
@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,
@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