Stw Save

simple text widget for X

Project README

stw

stw is a simple text window for X.

Here stw runs pstree and renders its output above desktop wallpaper.

$ stw -F 'monospace:size=8' pstree -U

stw mostly resembles watch command:

  • stw creates an unmanaged X window at specified position and starts subcommand.
  • if subcommand terminates, stw sleeps specified number of seconds and restarts it.
  • if stw X window is clicked, stw terminates subcommand and restarts it immediately.
  • stw buffers subcommand output.
  • when output line matches specified delimeter line or subcommand terminates, stw renders collected output.
  • each time stw renders, it clears both collected output and X window.
  • stw hides X window on start and when subcommand output is empty.

It is possible to specify font, text align, text color, background color, opacity, window position, border width, sleep period via command line arguments or config.h file.

Open Source Agenda is not affiliated with "Stw" Project. README Source: sineemore/stw
Stars
86
Open Issues
0
Last Commit
1 year ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating