diff --git a/bin/mb-jgtools b/bin/mb-jgtools index 56b11b6..44de39f 100755 --- a/bin/mb-jgtools +++ b/bin/mb-jgtools @@ -3,6 +3,12 @@ # mb-jgtools: Menu, Sidepanels, Screenshot Tool and Exit Dialog for Mabox # Copyright (C) 2019-2023 Daniel Napora + +on_exit(){ + MSG=$(xdotool getmouselocation --shell) + notify-send.sh "Position" "${MSG}" +} + . $HOME/.config/mabox/mabox.conf jgmenu_theme=${jgmenu_theme:-obtheme} menu_font_size=${menu_font_size:-9} @@ -264,7 +270,7 @@ mkconfigfile jgmenu --config-file=${CONFIG_FILE} 2>/dev/null - +#trap 'on_exit' EXIT } # PANEL PO PRAWEJ AKTUALIZACE-USTAWIENIA-POMOC @@ -724,9 +730,9 @@ QNAV="" fi # PIPEMENUS -[ $places_menusettingspipe == true ] && menusettingspipe=" $MENUPANELS,^pipe(jgmenusettings-pipe -r)" && pipesep="^sep($PIPEMENUS)" +[ $places_menusettingspipe == true ] && menusettingspipe="󰍜 $MENUPANELS,^pipe(jgmenusettings-pipe -r)" && pipesep="^sep($PIPEMENUS)" [ $places_tint2pipe == true ] && tint2pipe=" $TINT2SETTINGS,^pipe(jgtint2-pipe -r)" && pipesep="^sep($PIPEMENUS)" -[ $places_sysinfopipe == true ] && sysinfopipe=" $SYSINFO,^pipe(jgsysinfo-pipe -r)" && pipesep="^sep($PIPEMENUS)" +[ $places_sysinfopipe == true ] && sysinfopipe=" $SYSINFO,^pipe(jgsysinfo-pipe -r)" && pipesep="^sep($PIPEMENUS)" #[ $places_keyspipe == true ] && keyspipe=" $SHORTCUTS,^pipe(jgkeys-pipe -r)" && pipesep="^sep($PIPEMENUS)" [ $places_sshpipe == true ] && sshpipe=" $SSH_CONN,^pipe(jgssh -r)" && pipesep="^sep($PIPEMENUS)" [ $places_softwarepipe == true ] && softwarepipe=" $POPINSTALL,^pipe(jgsoftware-pipe -r)" && pipesep="^sep($PIPEMENUS)"