2025-03-14 21:59:59 -06:00
|
|
|
# sm
|
|
|
|
|
|
|
|
|
|
> Display a short message fullscreen.
|
|
|
|
|
> More information: <https://github.com/nomeata/screen-message>.
|
|
|
|
|
|
|
|
|
|
- Display a message in full-screen:
|
|
|
|
|
|
|
|
|
|
`sm "{{Hello World!}}"`
|
|
|
|
|
|
|
|
|
|
- Display a message with inverted colors:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`sm {{[-i|--invert]}} "{{Hello World!}}"`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display a message with a custom foreground color:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`sm {{[-f|--foreground]}} {{blue}} "{{Hello World!}}"`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display a message with a custom background color:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`sm {{[-b|--background]}} {{#008888}} "{{Hello World!}}"`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display a message rotated 3 times (in steps of 90 degrees, counterclockwise):
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`sm {{[-r|--rotate]}} {{3}} "{{Hello World!}}"`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display a message using the output from another command:
|
|
|
|
|
|
|
|
|
|
`{{echo "Hello World!"}} | sm -`
|