This is a collection of scripts written for Matterhorn.
The scripts must be put in ~/.config/matterhorn/scripts/
, and all scripts must have execute permission for user (chmod u+x <script>
). Execute the scripts inside the Matterhorn message window with this command: /sh <script>
.
Requirements: Node
> /sh where
Result
Oslo, Oslo County, Norway https://www.google.com/maps/@59.905,10.7487,13z
Requirements: Python 3
> /sh announce Hello
Result:
#############
# #
# HELLO #
# #
#############
/sh announce Hi
Today is a new day
─[2/2]────────In multi-line mode. Press M-e to finish.────────
Result:
##########################
# #
# HI #
# TODAY IS A NEW DAY #
# #
##########################
/sh announce $
cash is the king
─[2/2]────────In multi-line mode. Press M-e to finish.────────
Result:
$$$$$$$$$$$$$$$$$$$$$$$$
$ $
$ CASH IS THE KING $
$ $
$$$$$$$$$$$$$$$$$$$$$$$$