Files

20 lines
424 B
Plaintext

---
functions:
file-read:
- binary: false
code: |-
neofetch --ascii /path/to/input-file
comment: |-
The file content is used as the logo while some other information is displayed on its right.
contexts:
sudo:
unprivileged:
shell:
- code: |-
echo 'exec /bin/sh' >/path/to/temp-file
neofetch --config /path/to/temp-file
contexts:
sudo:
unprivileged:
...