master
Daniel Napora 2022-12-16 22:33:26 +01:00
parent 510e36fe0f
commit da26aab9e2
2 changed files with 30 additions and 21 deletions

View File

@ -693,31 +693,31 @@ MENU_PADDING_TOP=$((jgtools_padding + 60))
if [ $places_quicknav == true ];then if [ $places_quicknav == true ];then
cat <<EOF > ${QNAV} cat <<EOF > ${QNAV}
^sep($QUICK_NAV) ^sep($QUICK_NAV)
<tt><big></big></tt> $ROOTDIR,^pipe(jgbrowser /),folder <tt><big></big></tt> $ROOTDIR,^pipe(jgbrowser /),folder
<tt><big></big></tt> $HOME_DIR,^pipe(jgbrowser),folder-home <tt><big></big></tt> $HOME_DIR,^pipe(jgbrowser),folder-home
<big> </big> $(basename $(xdg-user-dir DOWNLOAD)),^pipe(jgbrowser $(xdg-user-dir DOWNLOAD)),folder-download <big> </big> $(basename $(xdg-user-dir DOWNLOAD)),^pipe(jgbrowser $(xdg-user-dir DOWNLOAD)),folder-download
<big> </big> $(basename $(xdg-user-dir DOCUMENTS)),^pipe(jgbrowser $(xdg-user-dir DOCUMENTS)),folder-documents <big> </big> $(basename $(xdg-user-dir DOCUMENTS)),^pipe(jgbrowser $(xdg-user-dir DOCUMENTS)),folder-documents
<big> </big> $(basename $(xdg-user-dir MUSIC)),^pipe(jgbrowser $(xdg-user-dir MUSIC)),folder-music <big> </big> $(basename $(xdg-user-dir MUSIC)),^pipe(jgbrowser $(xdg-user-dir MUSIC)),folder-music
<big> </big> $(basename $(xdg-user-dir PICTURES)),^pipe(jgbrowser $(xdg-user-dir PICTURES)),folder-pictures <big> </big> $(basename $(xdg-user-dir PICTURES)),^pipe(jgbrowser $(xdg-user-dir PICTURES)),folder-pictures
<big> </big> $(basename $(xdg-user-dir VIDEOS)),^pipe(jgbrowser $(xdg-user-dir VIDEOS)),folder-video <big> </big> $(basename $(xdg-user-dir VIDEOS)),^pipe(jgbrowser $(xdg-user-dir VIDEOS)),folder-video
EOF EOF
else else
QNAV="" QNAV=""
fi fi
# PIPEMENUS # PIPEMENUS
[ $places_menusettingspipe == true ] && menusettingspipe="<big></big> $MENUPANELS,^pipe(jgmenusettings-pipe -r)" && pipesep="^sep($PIPEMENUS)" [ $places_menusettingspipe == true ] && menusettingspipe="<big></big> $MENUPANELS,^pipe(jgmenusettings-pipe -r)" && pipesep="^sep($PIPEMENUS)"
[ $places_tint2pipe == true ] && tint2pipe="<big></big> $TINT2SETTINGS,^pipe(jgtint2-pipe -r)" && pipesep="^sep($PIPEMENUS)" [ $places_tint2pipe == true ] && tint2pipe="<big></big> $TINT2SETTINGS,^pipe(jgtint2-pipe -r)" && pipesep="^sep($PIPEMENUS)"
[ $places_sysinfopipe == true ] && sysinfopipe="<big></big> $SYSINFO,^pipe(jgsysinfo-pipe -r)" && pipesep="^sep($PIPEMENUS)" [ $places_sysinfopipe == true ] && sysinfopipe="<big></big> $SYSINFO,^pipe(jgsysinfo-pipe -r)" && pipesep="^sep($PIPEMENUS)"
#[ $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,^pipe(jgconky-pipe -r)" && pipesep="^sep($PIPEMENUS)" [[ $places_conkypipe == true || -z ${places_conkypipe} ]] && conkypipe="<big></big> $CONKYSETTINGS,^pipe(jgconky-pipe -r)" && 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> $DESKGRID,^pipe(jgdeskgrid -r)" && pipesep="^sep($PIPEMENUS)" [[ $places_jgdeskgrid == true || -z ${places_jgdeskgrid} ]] && jgdeskgrid="<big></big> $DESKGRID,^pipe(jgdeskgrid -r)" && pipesep="^sep($PIPEMENUS)"
[[ $places_jgwallpaperchanger == true || -z ${places_jgwallpaperchanger} ]] && jgwallpaperchanger="<big></big> $WALLCHANGER,^pipe(jgwallpaperchanger -r)" && pipesep="^sep($PIPEMENUS)" [[ $places_jgwallpaperchanger == true || -z ${places_jgwallpaperchanger} ]] && jgwallpaperchanger="<big></big> $WALLCHANGER,^pipe(jgwallpaperchanger -r)" && pipesep="^sep($PIPEMENUS)"
[[ $places_jglockscreen == true || -z ${places_jglockscreen} ]] && jglockscreen="<big></big> $LOCKSCREEN,^pipe(jglockscreen -r)" && pipesep="^sep($PIPEMENUS)" [[ $places_jglockscreen == true || -z ${places_jglockscreen} ]] && jglockscreen="<big></big> $LOCKSCREEN,^pipe(jglockscreen -r)" && pipesep="^sep($PIPEMENUS)"
# VBOXES # VBOXES
if [[ -x "$(command -v VBoxManage)" ]]; then if [[ -x "$(command -v VBoxManage)" ]]; then
@ -763,7 +763,7 @@ cat <<EOF > ${MENU_ITEMS}
$(gtkbookmarks) $(gtkbookmarks)
$pipesep $pipesep
<big></big> $MBHELPER,mbhelper -s <big></big> $MBHELPER,mbhelper -s
$menusettingspipe $menusettingspipe
$jgwallpaperchanger $jgwallpaperchanger
$jglockscreen $jglockscreen

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
# Daniel Napora 2021-22 <napcok@gmail.com> # Daniel Napora 2021-22 <napcok@gmail.com>
#: mb-reset - reset/update user config files to current defaults. #: mb-reset - reset/update user config files to (current) distro defaults.
#: It only affects files shipped with Mabox. #: It only affects files shipped with Mabox.
#: Be aware that you may loose your own customizations (if any). #: Be aware that you may loose your own customizations (if any).
#: #:
@ -18,6 +18,7 @@
#: bashrc - bash config file (~/.bashrc) #: bashrc - bash config file (~/.bashrc)
#: terminator - terminator config #: terminator - terminator config
#: conky - overwrite conky config files in ~/.config/conky/ #: conky - overwrite conky config files in ~/.config/conky/
#: glyphicons - override font settings for glyphicons
#: tint2 - overwrite tint2 panel config files in ~/.config/tint2/ #: tint2 - overwrite tint2 panel config files in ~/.config/tint2/
#: jgthemes - overwrite menu/sidepanels color schemes in ~/.config/mabox/jgobthemes/ #: jgthemes - overwrite menu/sidepanels color schemes in ~/.config/mabox/jgobthemes/
#: mainmenu - overwrite main menu files (favorites.csv) #: mainmenu - overwrite main menu files (favorites.csv)
@ -25,7 +26,7 @@
#: rightpanel - right panel custom commands #: rightpanel - right panel custom commands
#: allmenus - overvrite all menus, panels and exit dialog #: allmenus - overvrite all menus, panels and exit dialog
#: logout - logout dialog #: logout - logout dialog
#: wrappers - nitrogen and xrandr Mabox wrappers #: wrappers - nitrogen, xrandr and lxappearance Mabox wrappers
@ -111,6 +112,13 @@ __logout() {
rsync -a /usr/share/mabox/lang/$LNGDIR/.config/mabox/exit.csv $HOME/.config/mabox/ rsync -a /usr/share/mabox/lang/$LNGDIR/.config/mabox/exit.csv $HOME/.config/mabox/
} }
__glyphicons () {
rm $HOME/.local/share/fonts/lucide.ttf
mkdir -p $HOME/.config/fontconfig/conf.d
rsync -a /usr/share/mabox/common/66-symbols.conf $HOME/.config/fontconfig/conf.d/
fc-cache
}
__tint2() { __tint2() {
rm $HOME/.local/share/fonts/lucide.ttf rm $HOME/.local/share/fonts/lucide.ttf
mkdir -p $HOME/.config/fontconfig/conf.d mkdir -p $HOME/.config/fontconfig/conf.d
@ -177,6 +185,7 @@ case "$1" in
"leftpanel") __leftpanel ;; "leftpanel") __leftpanel ;;
"rightpanel") __rightpanel ;; "rightpanel") __rightpanel ;;
"logout") __logout ;; "logout") __logout ;;
"glyphicons") __glyphicons ;;
"tint2") __tint2 ;; "tint2") __tint2 ;;
"jgthemes") __jgthemes ;; "jgthemes") __jgthemes ;;
"conky") __conky ;; "conky") __conky ;;