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