Run shell and show results on your dock or panel on Deepin V20
Put the content below in file ~/.config/dde-shelloutput/dde-shelloutput.conf
, and restart dde-dock
[config]
fontColor=#FFFFFF
width=250
autoWidth=true
[shell]
test\command=date
test\interval=1
test\intervalType=0
test\name=test
test\regExp=\\d{2}:\\d{2}:\\d{2}
[shell]
: the group holds all your shell configautoWidth
: auto set the width according to the width of the outputtest
: the config about the shell configtest
(the same as the name)test\interval
: execution repeat interval, integertest\intervalType
: interval unit, 0 is second, 1 is minute, 2 is hourtest\regExp
: output regexp. Use \ for , like\\b
instead of\b
test\command
: the command you want to run repeatlytest\name
: shell config name