mb-jgtools/bin/mb-jgtools

420 lines
14 KiB
Plaintext
Raw Normal View History

2020-01-21 23:00:04 +01:00
#!/bin/bash
# Get colors from config file
2020-01-28 23:28:23 +01:00
#. $HOME/.config/mb-jgtools/mb-jgtools.colorrc
2020-01-21 23:00:04 +01:00
2020-02-09 16:52:47 +01:00
JGWIDTH="280"
2020-01-21 23:00:04 +01:00
2020-02-09 16:52:47 +01:00
[ $(pidof picom) ] && RADIUS="4"
2020-01-21 23:00:04 +01:00
2020-02-09 16:52:47 +01:00
#SCREENWIDTH=$(xdpyinfo | awk '/^ +dimensions/ {print $2}' | cut -d 'x' -f1)
2020-01-21 23:00:04 +01:00
OSNAME=$(lsb_release -d | awk '{print $2}')
OSVERSION=$(lsb_release -r | awk '{print $2}')
OSCODE=$(lsb_release -c | awk '{print $2}')
KERNEL=$(uname -r)
mkconfigfile() {
cat <<EOF > ${CONFIG_FILE}
2020-01-28 23:28:23 +01:00
position_mode = ${POSITION_MODE:-fixed}
csv_cmd = lx
2020-01-21 23:00:04 +01:00
stay_alive = 0
2020-01-28 23:28:23 +01:00
hide_back_items = ${HIDE_BACK_ITEMS:-0}
2020-01-21 23:00:04 +01:00
terminal_exec = terminator
terminal_args = -e
2020-02-09 16:52:47 +01:00
tabs = ${TABS:-220}
menu_margin_x = 0
2020-01-21 23:00:04 +01:00
menu_margin_y = 0
menu_width = $JGWIDTH
menu_height_min = ${MENU_HEIGHT_MIN:-0}
menu_height_max = ${MENU_HEIGHT_MAX:-0}
2020-01-28 23:28:23 +01:00
menu_padding_top = ${MENU_PADDING_TOP:-90}
menu_padding_right = ${MENU_PADDING_RIGHT:-10}
menu_padding_bottom = ${MENU_PADDING_BOTTOM:-10}
menu_padding_left = ${MENU_PADDING_LEFT:-10}
menu_radius = ${MENU_RADIUS:-0}
2020-01-21 23:00:04 +01:00
menu_valign = ${MENU_VALIGN:-top}
2020-02-09 16:52:47 +01:00
menu_halign = ${MENU_HALIGN:-left}
2020-01-21 23:00:04 +01:00
item_height = ${ITEM_HEIGHT:-25}
item_halign = left
2020-02-09 16:52:47 +01:00
item_radius = 2
2020-01-21 23:00:04 +01:00
columns = ${COLUMNS:-1}
sep_markup = font="Noto Sans Bold 10" foreground="#FFFFFF"
2020-02-04 21:46:41 +01:00
font = ${FONT:-Noto Sans Medium 9}
2020-01-28 23:28:23 +01:00
icon_size = ${ICON_SIZE:-0}
2020-01-21 23:00:04 +01:00
color_menu_bg = ${COLOR_MENU_BG:-#222222 90}
color_menu_border = ${COLOR_MENU_BORDER:-#2f9b85 100}
2020-01-28 23:28:23 +01:00
color_norm_bg = ${COLOR_NORM_BG:-#000000 0}
2020-01-21 23:00:04 +01:00
color_norm_fg = ${COLOR_NORM_FG:-#CCCCCC 100}
2020-01-28 23:28:23 +01:00
color_sel_bg = ${COLOR_SEL_BG:-#169f6f 60}
2020-01-21 23:00:04 +01:00
color_sel_fg = ${COLOR_SEL_FG:-#f8f8f8 100}
color_sel_border = ${COLOR_SEL_BORDER:-#504e65 100}
2020-01-28 23:28:23 +01:00
color_sep_fg = ${COLOR_SEP_FG:-#4D4D4D 100}
2020-01-21 23:00:04 +01:00
color_sep_bg = ${COLOR_SEP_BG:-#262626 100}
color_scroll_ind = ${COLOR_SCROLL_IND:-#504e65 100}
EOF
}
2020-01-28 23:28:23 +01:00
#MENU GŁÓWNE
main() {
CONFIG_FILE=$(mktemp)
MENU_ITEMS=$(mktemp)
trap "rm -f ${CONFIG_FILE} ${MENU_ITEMS}" EXIT
POSITION_MODE=pointer
HIDE_BACK_ITEMS=1
MENU_PADDING_TOP=30
MENU_PADDING_RIGHT=0
MENU_PADDING_BOTTOM=0
MENU_PADDING_LEFT=0
JGWIDTH=0
ITEM_HEIGHT=20
ICON_SIZE=16
2020-02-03 20:50:31 +01:00
MENU_RADIUS=${RADIUS:-0}
2020-01-28 23:28:23 +01:00
mkconfigfile
#jgmenu --config-file=${CONFIG_FILE} --csv-file=${MENU_ITEMS} 2>/dev/null
jgmenu --config-file=${CONFIG_FILE} 2>/dev/null
}
2020-01-21 23:00:04 +01:00
# PANEL PO PRAWEJ AKTUALIZACE-USTAWIENIA-POMOC
right() {
CONFIG_FILE=$(mktemp)
MENU_ITEMS=$(mktemp)
trap "rm -f ${CONFIG_FILE} ${MENU_ITEMS}" EXIT
2020-02-09 16:52:47 +01:00
MENU_HALIGN="right"
2020-01-21 23:00:04 +01:00
MENU_HEIGHT_MIN=$(xdpyinfo | awk '/^ +dimensions/ {print $2}' | cut -d 'x' -f2)
mkconfigfile
cat <<EOF > ${MENU_ITEMS}
2020-02-09 16:52:47 +01:00
@icon,,225,10,48,48,4,left,top,,,/usr/share/icons/hicolor/48x48/apps/distributor-logo-mabox.png
@text,,20,10,200,20,4,left,top,#EEEEEE,#111111,<big>$OSNAME $OSVERSION</big> <sup> $OSCODE</sup>
2020-02-09 21:47:44 +01:00
@text,,20,30,200,20,4,left,top,#666666,#444444,<small>$USER@$HOSTNAME</small>
@text,,20,50,200,20,4,left,top,#666666,#444444,
2020-01-30 01:02:29 +01:00
#@rect,,40,70,262,20,0,left,top,#666666,#262626,
@text,,74,70,20,20,0,left,top,auto,#222222,<big></big>
@search,,90,70,292,20,4,left,top,auto,#262626,""" <i>pisz, aby wyszukać</i>"""
2020-01-21 23:00:04 +01:00
2020-02-02 17:51:13 +01:00
. $HOME/.config/mabox/right-prepend.csv
2020-02-03 20:50:31 +01:00
2020-01-21 23:00:04 +01:00
^sep(Zarządzanie oprogramowaniem)
2020-01-23 17:31:17 +01:00
 Aktualizacja systemu (Pamac),pamac-manager --updates
 Aktualizacja systemu (cli),^term(sudo pacman -Syyu)
 Menadżer pakietów - Pamac,pamac-manager
 Odnawianie kluczy,^term(sudo pacman -Sy archlinux-keyring manjaro-keyring mabox-keyring)
 Ranking mirrorów,^checkout(mirrory)
2020-01-21 23:00:04 +01:00
^sep(Ustawienia)
2020-01-23 17:31:17 +01:00
 System i sprzęt,^root(system)
 Wygląd i zachowanie,^root(wyglad)
2020-01-21 23:00:04 +01:00
^sep(Pomoc)
2020-02-09 21:47:44 +01:00
 Skróty klawiszowe,
2020-01-30 01:02:29 +01:00
 Zasoby online,^root(weblinks)
2020-01-21 23:00:04 +01:00
2020-01-28 23:28:23 +01:00
^sep(Inne)
 Zrzut ekranu,mb-jgtools screenshot
2020-01-21 23:00:04 +01:00
^sep(Wyjście)
 Wyloguj,openbox --exit
 Uśpij,systemctl suspend
 Hibernuj,systemctl hibernate,
 Uruchom ponownie,systemctl reboot
 Wyłącz,systemctl poweroff
 Zablokuj ekran, betterlockscreen -l
2020-02-09 21:47:44 +01:00
# Niestety CSV nie obsługuke Unikodu
#. $HOME/.config/mabox/logout.csv
2020-02-02 17:51:13 +01:00
. $HOME/.config/mabox/right-append.csv
2020-01-21 23:00:04 +01:00
^tag(system)
^sep(System i sprzęt)
Język i formaty,manjaro-settings-manager -m msm_locale,
Pakiety językowe,manjaro-settings-manager -m msm_language_packages,
Jądro systemowe,manjaro-settings-manager -m msm_kernel,
Konta użytkowników,manjaro-settings-manager -m msm_users,
Data i Czas,manjaro-settings-manager -m msm_timedate,
Ustawienia klawiatury,manjaro-settings-manager -m msm_keyboard,
Konfiguracja sprzętowa,manjaro-settings-manager -m msm_mhwd,
 wróć,^back()
^tag(mirrory)
Wszystkie,^term(sudo pacman-mirrors -i -c all)
Najbliższe (wg GEOIP),term(sudo pacman-mirrors -i --geoip)
 wróć,^back()
^tag(wyglad)
^sep(Wygląd i zachowanie)
Wystrój i ikony,lxappearance,
Wybór tapety,nitrogen,
Menadżer konfiguracji OpenBox,obconf,
2020-01-30 01:02:29 +01:00
Konfiguracja powiadomień,xfce4-notifyd-config
Preferowane aplikacje,exo-preferred-applications
2020-01-31 13:54:41 +01:00
Ustawienia Menedżera logowania,pkexec lightdm-settings,
2020-01-30 01:02:29 +01:00
Ustawienia zasilania,xfce4-power-manager-settings
^sep(Elementy pulpitu Mabox)
Conky,^pipe(jgmenu_run ob --cmd=mabox-conky-pipemenu)
Panele Tint2,^pipe(jgmenu_run ob --cmd=mabox-tint2-pipemenu)
2020-01-21 23:00:04 +01:00
Kompozytor,^pipe(jgmenu_run ob --cmd='mabox-compositor' --tag='Kompo'),compton
2020-01-30 01:02:29 +01:00
^sep(Predefiniowane konfiguracje pulpitu)
Menadżer schematów,mb-obthemes
2020-01-21 23:00:04 +01:00
 wróć,^back()
2020-01-30 01:02:29 +01:00
^tag(weblinks)
2020-02-09 21:47:44 +01:00
^sep(Zasoby online)
2020-01-30 01:02:29 +01:00
^sep()
^sep(Mabox)
Mabox - pierwsze kroki,exo-open --launch WebBrowser https://pl.maboxlinux.org/przewodnik-uzytkownika/
2020-02-09 21:47:44 +01:00
Forum Maboxa,exo-open --launch WebBrowser https://forum.maboxlinux.org/
2020-01-30 01:02:29 +01:00
^sep(Manjaro)
Strona domowa,exo-open --launch WebBrowser https://manjaro.org
Wiki,exo-open --launch WebBrowser https://wiki.manjaro.org
Forum,exo-open --launch WebBrowser https://forum.manjaro.org
Manjaro PL,exo-open --launch WebBrowser https://manjaro.pl
Forum Manjaro PL,exo-open --launch WebBrowser https://forum.manjaro.pl
^sep(ArchLinux)
2020-02-09 21:47:44 +01:00
ArchWiki,exo-open --launch WebBrowser https://wiki.archlinux.org/
2020-01-30 01:02:29 +01:00
^sep()
^sep(Openbox)
^sep(Dokumentacja Tint2)
^sep(Dokumentacja Conky)
 wróć,^back()
2020-02-03 20:50:31 +01:00
2020-01-21 23:00:04 +01:00
EOF
jgmenu --config-file=${CONFIG_FILE} --csv-file=${MENU_ITEMS} 2>/dev/null
}
places() {
CONFIG_FILE=$(mktemp)
MENU_ITEMS=$(mktemp)
trap "rm -f ${CONFIG_FILE} ${MENU_ITEMS}" EXIT
MENU_HEIGHT_MIN=$(xdpyinfo | awk '/^ +dimensions/ {print $2}' | cut -d 'x' -f2)
2020-02-09 21:47:44 +01:00
JGWIDTH=240
2020-01-21 23:00:04 +01:00
mkconfigfile
cat <<EOF > ${MENU_ITEMS}
@icon,,10,20,48,48,4,left,top,,,/usr/share/icons/hicolor/48x48/apps/mbcc.png
@text,,70,10,200,20,4,left,top,#EEEEEE,#111111,<big>$OSNAME $OSVERSION</big> <sup> $OSCODE</sup>
2020-02-09 21:47:44 +01:00
@text,,70,30,200,20,4,left,top,#666666,#444444,<small>$USER@$HOSTNAME</small>
@text,,70,50,200,20,4,left,top,#666666,#444444,
2020-01-21 23:00:04 +01:00
2020-02-07 15:03:27 +01:00
. $HOME/.config/mabox/places-prepend.csv
2020-01-21 23:00:04 +01:00
^sep(Szybka nawigacja)
 Katalog główny,^pipe(jgbrowser /)
 Katalog domowy,^pipe(jgbrowser)
 $(basename $(xdg-user-dir DESKTOP)),^pipe(jgbrowser $(xdg-user-dir DESKTOP))
 $(basename $(xdg-user-dir DOWNLOAD)),^pipe(jgbrowser $(xdg-user-dir DOWNLOAD))
#  $(basename $(xdg-user-dir TEMPLATES)),^pipe(jgbrowser $(xdg-user-dir TEMPLATES))
#  $(basename $(xdg-user-dir PUBLICSHARE)),^pipe(jgbrowser $(xdg-user-dir PUBLICSHARE))
 $(basename $(xdg-user-dir DOCUMENTS)),^pipe(jgbrowser $(xdg-user-dir DOCUMENTS))
 $(basename $(xdg-user-dir MUSIC)),^pipe(jgbrowser $(xdg-user-dir MUSIC))
 $(basename $(xdg-user-dir PICTURES)),^pipe(jgbrowser $(xdg-user-dir PICTURES))
 $(basename $(xdg-user-dir VIDEOS)),^pipe(jgbrowser $(xdg-user-dir VIDEOS))
2020-02-07 15:03:27 +01:00
#^sep(Zakładki)
2020-01-21 23:00:04 +01:00
^sep()
2020-02-07 15:03:27 +01:00
<big></big> Wyszukiwarka plików, fsearch
. $HOME/.config/mabox/places-append.csv
2020-01-21 23:00:04 +01:00
EOF
jgmenu --config-file=${CONFIG_FILE} --csv-file=${MENU_ITEMS} 2>/dev/null
}
mblogout() {
2020-02-01 02:00:57 +01:00
2020-01-21 23:00:04 +01:00
CONFIG_FILE=$(mktemp)
MENU_ITEMS=$(mktemp)
2020-02-01 02:00:57 +01:00
trap "rm -f ${CONFIG_FILE} ${MENU_ITEMS};wmctrl -k off" EXIT
2020-02-09 16:52:47 +01:00
2020-01-21 23:00:04 +01:00
JGWIDTH="340"
MENU_HALIGN="center"
MENU_VALIGN="center"
2020-01-31 13:54:41 +01:00
MENU_PADDING_TOP=213
2020-01-21 23:00:04 +01:00
TABS="280"
2020-01-31 13:54:41 +01:00
ITEM_HEIGHT="30"
2020-02-04 21:46:41 +01:00
FONT="Noto Sans Medium 10"
2020-02-01 02:00:57 +01:00
MENU_RADIUS=${RADIUS:-0}
2020-01-21 23:00:04 +01:00
mkconfigfile
2020-02-01 02:00:57 +01:00
wmctrl -k on
THUMB="$(DISPLAY=:0 scrot -t 340x213 -o /tmp/mblogout.png -e 'echo $m')"
2020-01-21 23:00:04 +01:00
cat <<EOF > ${MENU_ITEMS}
2020-01-31 13:54:41 +01:00
@icon,,0,0,340,100,4,left,top,,,$THUMB
2020-01-21 23:00:04 +01:00
@icon,,10,20,48,48,4,left,top,,,/usr/share/icons/hicolor/48x48/apps/mbcc.png
2020-02-01 02:00:57 +01:00
@text,,180,170,220,20,4,left,top,#EEEEEE,#111111,$OSNAME $OSVERSION <sup> $OSCODE</sup>
@text,,180,190,200,20,4,left,top,#DDDDDD,#DDDDDD,<small>$USER@$HOSTNAME</small>
2020-01-31 13:54:41 +01:00
^sep(Wylogować?)
2020-01-21 23:00:04 +01:00
 Wyloguj,openbox --exit
 Uśpij,systemctl suspend
 Hibernuj,systemctl hibernate
 Uruchom ponownie,systemctl reboot
 Wyłącz,systemctl poweroff
 Zablokuj ekran, betterlockscreen -l
2020-01-31 13:54:41 +01:00
^sep()
2020-01-28 23:28:23 +01:00
 Anuluj <small>esc</small>,exit 1
2020-01-21 23:00:04 +01:00
EOF
2020-02-01 02:00:57 +01:00
2020-01-21 23:00:04 +01:00
jgmenu --config-file=${CONFIG_FILE} --csv-file=${MENU_ITEMS} 2>/dev/null
}
2020-01-28 23:28:23 +01:00
screenshot() {
CONFIG_FILE=$(mktemp)
MENU_ITEMS=$(mktemp)
trap "rm -f ${CONFIG_FILE} ${MENU_ITEMS}" EXIT
#Lokalne zmienne;
JGWIDTH="340"
2020-01-31 13:54:41 +01:00
MENU_PADDING_TOP=213
2020-01-28 23:28:23 +01:00
MENU_HALIGN="center"
MENU_VALIGN="center"
TABS="280"
ITEM_HEIGHT="25"
FONT="Noto Sans Medium 10"
2020-02-01 02:00:57 +01:00
MENU_RADIUS=${RADIUS:-0}
2020-01-28 23:28:23 +01:00
IMG="$(xdg-user-dir PICTURES)/Mabox_%Y-%m-%d-%H:%M:%s.png"
VIEW="'viewnior $IMG'"
2020-01-31 13:54:41 +01:00
THUMB="$(DISPLAY=:0 scrot -t 340x213 -o /tmp/jgscrot.png -e 'echo $m')"
2020-01-28 23:28:23 +01:00
mkconfigfile
cat <<EOF > ${MENU_ITEMS}
2020-01-31 13:54:41 +01:00
@icon,,0,0,340,100,4,left,top,,,$THUMB
^sep(Zrzuty ekranu)
2020-01-28 23:28:23 +01:00
 Pełny ekran,^root(full)
 Aktywne okno,^root(window)
 Aktywne okno (bez dekoracji),^root(borderless)
 Zaznaczony obszar lub okno,scrot -s $IMG -e $VIEW
 Multimonitor, scrot -m $IMG -e $VIEW
^sep()
 Anuluj <small>esc</small>,exit 1
^tag(full)
^sep(Pełny ekran )
 Teraz,scrot $IMG -e $VIEW
 Za 5 sekund,scrot -d 5 $IMG -e $VIEW
 Za 10 sekund,scrot -d 10 $IMG -e $VIEW
 wróć,^back()
^tag(window)
^sep(Aktywne Okno )
 Teraz,scrot -d 1 -u -b $IMG -e $VIEW
 Za 5 sekund,scrot -d 5 -u -b $IMG -e $VIEW
 Za 10 sekund,scrot -d 10 -u -b $IMG -e $VIEW
 wróć,^back()
^tag(borderless)
^sep(Aktywne Okno - bez dekoracji)
 Teraz,scrot -d 1 -u $IMG -e $VIEW
 Za 5 sekund,scrot -d 5 -u $IMG -e $VIEW
 Za 10 sekund,scrot -d 10 -u $IMG -e $VIEW
 wróć,^back()
EOF
jgmenu --config-file=${CONFIG_FILE} --csv-file=${MENU_ITEMS} 2>/dev/null
}
2020-01-21 23:00:04 +01:00
panels() {
CONFIG_FILE=$(mktemp)
MENU_ITEMS=$(mktemp)
trap "rm -f ${CONFIG_FILE} ${MENU_ITEMS}" EXIT
#Lokalne zmienne;
2020-02-01 16:40:35 +01:00
JGWIDTH="300"
2020-01-21 23:00:04 +01:00
MENU_HALIGN="center"
MENU_VALIGN="center"
MENU_HEIGHT_MIN="210"
2020-02-01 16:40:35 +01:00
#MENU_HEIGHT_MAX="210"
2020-01-21 23:00:04 +01:00
TABS="280"
ITEM_HEIGHT="50"
FONT="Noto Sans Medium 12"
2020-02-01 16:40:35 +01:00
COLUMNS="1"
2020-01-21 23:00:04 +01:00
mkconfigfile
cat <<EOF > ${MENU_ITEMS}
@icon,,10,20,48,48,4,left,top,,,/usr/share/icons/hicolor/48x48/apps/mbcc.png
@text,,70,10,220,20,4,left,top,#EEEEEE,#111111,$OSNAME $OSVERSION <sup> $OSCODE</sup>
2020-02-01 16:40:35 +01:00
@text,,70,30,240,20,4,left,top,#666666,#444444,<small>$USER@$HOSTNAME</small>
@text,,70,50,200,20,4,left,top,#666666,#444444,<i>Panele dla Maboxa</i>
2020-01-21 23:00:04 +01:00
 Szybka nawigacja,mb-jgtools places
 System panel,mb-jgtools right
2020-02-01 16:40:35 +01:00
 Menu główne,mb-jgtools main
2020-01-30 01:02:29 +01:00
 Zrzuty ekranu,mb-jgtools screenshot
2020-02-01 16:40:35 +01:00
 Wylogowanie,mb-jgtools mblogout
2020-01-21 23:00:04 +01:00
EOF
jgmenu --config-file=${CONFIG_FILE} --csv-file=${MENU_ITEMS} 2>/dev/null
}
#--------------------------------------------------------------------+
#Color picker, usage: printf $BLD$CUR$RED$BBLU'Hello World!'$DEF |
#-------------------------+--------------------------------+---------+
# Text color | Background color | |
#-----------+-------------+--------------+-----------------+ |
# Base color|Lighter shade| Base color | Lighter shade | |
#-----------+-------------+--------------+-----------------+ |
BLK='\e[30m'; blk='\e[90m'; BBLK='\e[40m'; bblk='\e[100m' #| Black |
RED='\e[31m'; red='\e[91m'; BRED='\e[41m'; bred='\e[101m' #| Red |
GRN='\e[32m'; grn='\e[92m'; BGRN='\e[42m'; bgrn='\e[102m' #| Green |
YLW='\e[33m'; ylw='\e[93m'; BYLW='\e[43m'; bylw='\e[103m' #| Yellow |
BLU='\e[34m'; blu='\e[94m'; BBLU='\e[44m'; bblu='\e[104m' #| Blue |
MGN='\e[35m'; mgn='\e[95m'; BMGN='\e[45m'; bmgn='\e[105m' #| Magenta |
CYN='\e[36m'; cyn='\e[96m'; BCYN='\e[46m'; bcyn='\e[106m' #| Cyan |
WHT='\e[37m'; wht='\e[97m'; BWHT='\e[47m'; bwht='\e[107m' #| White |
#----------------------------------------------------------+---------+
# Effects |
#--------------------------------------------------------------------+
DEF='\e[0m' #Default color and effects |
BLD='\e[1m' #Bold\brighter |
DIM='\e[2m' #Dim\darker |
CUR='\e[3m' #Italic font |
UND='\e[4m' #Underline |
INV='\e[7m' #Inverted |
COF='\e[?25l' #Cursor Off |
CON='\e[?25h' #Cursor On |
#--------------------------------------------------------------------+
case "$1" in
2020-01-28 23:28:23 +01:00
main) main;;
2020-01-21 23:00:04 +01:00
right) right;;
mblogout) mblogout;;
places) places;;
2020-01-28 23:28:23 +01:00
screenshot) screenshot;;
2020-01-21 23:00:04 +01:00
panels) panels;;
*)
echo -e "
2020-01-28 23:28:23 +01:00
${GRN}Kolekcja narzędzi dla Mabox-a stworzonych z pomocą Jgmenu
2020-01-21 23:00:04 +01:00
Użycie:
${DEF} $(basename "$0")${YLW} [${RED} OPCJA${YLW} ]
${GRN} Opcje:
2020-01-28 23:28:23 +01:00
${YLW} >${RED} main ${YLW} -${DEF} main menu - replaces OB menu
2020-01-21 23:00:04 +01:00
${YLW} >${RED} panels ${YLW} -${DEF} all panel access
${YLW} >${RED} right ${YLW} -${DEF} run right panel
${YLW} >${RED} places ${YLW} -${DEF} places menu
${YLW} >${RED} mblogout ${YLW} -${DEF} run logout script
2020-01-28 23:28:23 +01:00
${YLW} >${RED} screenshot ${YLW} -${DEF} run screenshot script
2020-01-21 23:00:04 +01:00
" >&2
exit 1
;;
esac
exit 0