STW(1)
STW(1) β simple X text window β¨
okay so bestie, welcome to the General Commands Manual page for stw, aka STW(1) β the tiny X text window that is literally main character energy π
π«Ά
πΈ NAME πΈ
stw β simple X text window
β¨ SYNOPSIS β¨
stw [-t] [-x pos] [-y pos] [-X pos] [-Y pos] [-a align] [-f foreground]
[-b background] [-F font] [-B borderpx] [-p period] [-A alpha] command
[arg...]
π DESCRIPTION π
stw is a simple X text window. Thatβs the whole plot, bestie β it runs your command and displays the output in a window. Iconic. β¨
π OPTIONS π
-tβ place window on top π-xpos β window x position-ypos β window y position-Xpos β window X position-Ypos β window Y position-aalign β text alignment. Must be one of{lrc}for left, right and centered-fforeground β foreground window color in hex or as a color name-bbackground β background window color in hex or as a color name-Ffont β text font in format, supported byfontconfig-Bborderpx β gap between window border and text in pixels-pperiod β period between command runs in seconds.0will completely disable subcommand restarts and-1will make them instant. In any case a click on a window will still immediately restart subcommand-Aalpha β window background alpha valuecommand [arg...]β command will be started with provided arguments and itβs output will be displayed in the window
π¦ POSITION π¦
Use -x, -y options to position stw window corner. Use -X, -Y options to position window relative to width and height. For example you can use
-x 50% -y 50% -X -50% -Y -50%
to position stw in the center of the screen. Slay π
π EXAMPLES π
Show current date in the center of the screen:
$ stw -p 1 -x 50% -y 50% -X -50% -Y -50% -F monospace:size=20 date
Show updated packages:
$ stw -p 0 sh -c 'xbps-install -nSu | cut -d" " -f1 | head -n 20'
π AUTHORS π
See the LICENSE file for the authors.
π§ LICENSE π§
See the LICENSE file for the terms of redistribution.
β SEE ALSO β
cute footer sign-off, bestie: source/version stw, manual STW(1), and the date was not shown in the original footer β so weβre not inventing one, periodt ππ
π«Ά
π¦ where this page comes from
- nixos 26.05: stw-unstable 2022-02-04
- nixpkgs unstable: stw-unstable 2022-02-04
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms