Scriptable taskbar blocks
Exposes both std
and os
from QuickJS.
But also
createBlock()
- Creates a new blockdefaultBlock
- Block that will be copied to newly created blocks$(cmd)
- Run a shell command and return its stdout through a Promise.
Block functions:
block.setFont(name, size)
block.setText(txt)
block.setColor(r, g, b)
block.setPadding(left, right)
block.setVisible(bool)
block.clone(keepVisibility=false)
block.remove()
GNU General Public License v3.0. See LICENSE file for more details.