(https://github.com/Bugswriter/tuxi) is a suckless shell script that get you information.
- Create two scripts file.
- The first will have the following bash script. This is to load the output of tuxi. Let's call it
loadtuxi.sh
#!/bin/bash
O="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cat "$O/lecture.tuxi" | tr '\n' ' ' | cut -c 1-50
# You can adjust the cut to how many characters you want...
# Or remove the tr to get only the first line.