2018-11-02 12:55:25 +00:00
|
|
|
# sm
|
|
|
|
|
|
|
|
> Displays a short message fullscreen.
|
2019-06-03 01:06:36 +01:00
|
|
|
> More information: <https://github.com/nomeata/screen-message>.
|
2018-11-02 12:55:25 +00:00
|
|
|
|
2019-05-12 15:33:55 +01:00
|
|
|
- Display a message in full-screen:
|
2018-11-02 12:55:25 +00:00
|
|
|
|
2019-05-12 15:33:55 +01:00
|
|
|
`sm "{{Hello World!}}"`
|
2018-11-02 12:55:25 +00:00
|
|
|
|
|
|
|
- Display a message with inverted colors:
|
|
|
|
|
2019-05-12 15:33:55 +01:00
|
|
|
`sm -i "{{Hello World!}}"`
|
2018-11-02 12:55:25 +00:00
|
|
|
|
2019-05-12 15:33:55 +01:00
|
|
|
- Display a message with a custom foreground color:
|
2018-11-02 12:55:25 +00:00
|
|
|
|
2019-05-12 15:33:55 +01:00
|
|
|
`sm -f {{blue}} "{{Hello World!}}"`
|
2018-11-02 12:55:25 +00:00
|
|
|
|
2019-05-12 15:33:55 +01:00
|
|
|
- Display a message with a custom background color:
|
2018-11-02 12:55:25 +00:00
|
|
|
|
2019-05-12 15:33:55 +01:00
|
|
|
`sm -b {{#008888}} "{{Hello World!}}"`
|
2018-11-02 12:55:25 +00:00
|
|
|
|
2019-05-12 15:33:55 +01:00
|
|
|
- Display a message rotated 3 times (in steps of 90 degrees, counterclockwise):
|
2018-11-02 12:55:25 +00:00
|
|
|
|
2019-05-12 15:33:55 +01:00
|
|
|
`sm -r {{3}} "{{Hello World!}}"`
|
2018-11-02 12:55:25 +00:00
|
|
|
|
2019-05-12 15:33:55 +01:00
|
|
|
- Display a message using the output from another command:
|
2018-11-02 12:55:25 +00:00
|
|
|
|
2019-05-12 15:33:55 +01:00
|
|
|
`{{echo "Hello World!"}} | sm -`
|