From a5719c3512790eb7850446039ed6d805665bb9be Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Fri, 28 May 2021 02:59:52 +0200 Subject: [PATCH] mbhelper remove --- bin/mbhelper | 56 ---------------------------------------------------- 1 file changed, 56 deletions(-) delete mode 100755 bin/mbhelper diff --git a/bin/mbhelper b/bin/mbhelper deleted file mode 100755 index a41da89..0000000 --- a/bin/mbhelper +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/bash -# mbhelper - command palette like menu, search and run, quick access to -# all important config tools, edit config files, show keybord shortcuts -# favorites, online resources and more. -# - -case $LANG in - pl*) - LNGDIR="pl" - TYPE_TO_SEARCH="pisz aby wyszukać" - - ;; - es*) - LNGDIR="en" - TYPE_TO_SEARCH="type to search" - ;; - *) - LNGDIR="en" - TYPE_TO_SEARCH="type to search" - ;; -esac - -[[ -f "$HOME/.config/mabox/mbhelper.csv" ]] && CSVFILE="$HOME/.config/mabox/mbhelper.csv" || CSVFILE="/usr/share/mabox/lang/${LNGDIR}/.config/mabox/mbhelper.csv" - - -### RUN -if [ $1 == "-s" ]; then -. /usr/bin/pipemenu-standalone.cfg -. $HOME/.config/mabox/mabox.conf -MENU_PADDING_TOP=24 -MENU_HALIGN="center" -MENU_VALIGN="top" -MENU_MARGIN_Y=40 -jgmenu_icon_size=0 -JGWIDTH=500 -MENU_HEIGHT_MAX=600 - - -[ $(pidof picom) ] && MENU_RADIUS=$jgtools_radius -[ -z $jgmenu_use_borders ] && menu_border=0 - -mkconfigfile - -cat < ${MENU_ITEMS} -@search,,10,5,292,20,4,left,top,auto,#262626,""" $TYPE_TO_SEARCH""" -. $CSVFILE -EOF - -jgmenu --config-file=${CONFIG_FILE} --csv-file=${MENU_ITEMS} 2>/dev/null - -exit 0 - -fi -printf '%s\n' "${out[@]}" - -