btop or bpytop in mcc
parent
f06724ded5
commit
6e0e220f6c
8
bin/mcc
8
bin/mcc
|
@ -3,6 +3,12 @@
|
||||||
# Copyright (C) 2019-2021 napcok <napcok@gmail.com>
|
# Copyright (C) 2019-2021 napcok <napcok@gmail.com>
|
||||||
#
|
#
|
||||||
EDITOR=geany
|
EDITOR=geany
|
||||||
|
if hash btop 2>/dev/null; then
|
||||||
|
BTOP="btop"
|
||||||
|
else
|
||||||
|
BTOP="bpytop"
|
||||||
|
fi
|
||||||
|
|
||||||
case $LANG in
|
case $LANG in
|
||||||
pl*)
|
pl*)
|
||||||
TITLE="Centrum Sterowania Mabox"
|
TITLE="Centrum Sterowania Mabox"
|
||||||
|
@ -242,7 +248,7 @@ yad --plug=$KEY --tabnum=1 --text="$SYSTEM_DESC" --columns=2 --align="center" --
|
||||||
--field="LXRandR:FBTN" "lxrandr" \
|
--field="LXRandR:FBTN" "lxrandr" \
|
||||||
--field="<b>Info</b>:LBL" "" \
|
--field="<b>Info</b>:LBL" "" \
|
||||||
--field="Neofetch:FBTN" "terminator -x bash -c 'neofetch;bash'" \
|
--field="Neofetch:FBTN" "terminator -x bash -c 'neofetch;bash'" \
|
||||||
--field="BTOP:FBTN" "terminator -x btop" \
|
--field="$BTOP:FBTN" "terminator -x $BTOP" \
|
||||||
--field=" :LBL" \
|
--field=" :LBL" \
|
||||||
> $res1 &
|
> $res1 &
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue