upd
This commit is contained in:
parent
510e36fe0f
commit
da26aab9e2
@ -693,31 +693,31 @@ MENU_PADDING_TOP=$((jgtools_padding + 60))
|
||||
if [ $places_quicknav == true ];then
|
||||
cat <<EOF > ${QNAV}
|
||||
^sep($QUICK_NAV)
|
||||
<tt><big></big></tt> $ROOTDIR,^pipe(jgbrowser /),folder
|
||||
<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 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 PICTURES)),^pipe(jgbrowser $(xdg-user-dir PICTURES)),folder-pictures
|
||||
<big> </big> $(basename $(xdg-user-dir VIDEOS)),^pipe(jgbrowser $(xdg-user-dir VIDEOS)),folder-video
|
||||
<tt><big></big></tt> $ROOTDIR,^pipe(jgbrowser /),folder
|
||||
<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 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 PICTURES)),^pipe(jgbrowser $(xdg-user-dir PICTURES)),folder-pictures
|
||||
<big> </big> $(basename $(xdg-user-dir VIDEOS)),^pipe(jgbrowser $(xdg-user-dir VIDEOS)),folder-video
|
||||
EOF
|
||||
else
|
||||
QNAV=""
|
||||
fi
|
||||
|
||||
# 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_sysinfopipe == true ] && sysinfopipe="<big></big> $SYSINFO,^pipe(jgsysinfo-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_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_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_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_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_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_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_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_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_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)"
|
||||
|
||||
# VBOXES
|
||||
if [[ -x "$(command -v VBoxManage)" ]]; then
|
||||
@ -763,7 +763,7 @@ cat <<EOF > ${MENU_ITEMS}
|
||||
|
||||
$(gtkbookmarks)
|
||||
$pipesep
|
||||
<big></big> $MBHELPER,mbhelper -s
|
||||
<big></big> $MBHELPER,mbhelper -s
|
||||
$menusettingspipe
|
||||
$jgwallpaperchanger
|
||||
$jglockscreen
|
||||
|
13
bin/mb-reset
13
bin/mb-reset
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
# 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.
|
||||
#: Be aware that you may loose your own customizations (if any).
|
||||
#:
|
||||
@ -18,6 +18,7 @@
|
||||
#: bashrc - bash config file (~/.bashrc)
|
||||
#: terminator - terminator config
|
||||
#: conky - overwrite conky config files in ~/.config/conky/
|
||||
#: glyphicons - override font settings for glyphicons
|
||||
#: tint2 - overwrite tint2 panel config files in ~/.config/tint2/
|
||||
#: jgthemes - overwrite menu/sidepanels color schemes in ~/.config/mabox/jgobthemes/
|
||||
#: mainmenu - overwrite main menu files (favorites.csv)
|
||||
@ -25,7 +26,7 @@
|
||||
#: rightpanel - right panel custom commands
|
||||
#: allmenus - overvrite all menus, panels and exit 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/
|
||||
}
|
||||
|
||||
__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() {
|
||||
rm $HOME/.local/share/fonts/lucide.ttf
|
||||
mkdir -p $HOME/.config/fontconfig/conf.d
|
||||
@ -177,6 +185,7 @@ case "$1" in
|
||||
"leftpanel") __leftpanel ;;
|
||||
"rightpanel") __rightpanel ;;
|
||||
"logout") __logout ;;
|
||||
"glyphicons") __glyphicons ;;
|
||||
"tint2") __tint2 ;;
|
||||
"jgthemes") __jgthemes ;;
|
||||
"conky") __conky ;;
|
||||
|
Loading…
Reference in New Issue
Block a user