/wblocks2

Scriptable taskbar blocks for Windows

Primary LanguageC++GNU General Public License v3.0GPL-3.0

wblocks2

Scriptable taskbar blocks

Functions

Exposes both std and os from QuickJS.

But also

  • createBlock() - Creates a new block
  • defaultBlock - 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()

License

GNU General Public License v3.0. See LICENSE file for more details.