fetch

MSYS2-compatible system info prompt
git clone https://git.torresjrjr.com/fetch.git
Log | Files | Refs | README | LICENSE

README.md (1012B)


      1 # fetch
      2 
      3 A small, colourful systems info prompt, written in hackable POSIX sh.
      4 Originally for [MSYS2][1] on Windows, compatible with UNIX-likes.
      5 
      6 	$ fetch
      7 	      ~       user@host Tue, 20 Apr 2021 14:00:00 +0100
      8 	     .-.      os      Msys
      9 	    /`v`\     kernel  MSYS_NT-10.0-19042 3.1.7-340.x86_64
     10 	   (/   \)    shell   /usr/bin/bash
     11 	====="="===<  sshd    user@pts/4   user@pts/12
     12 	     |_|      tmux    meh:4   astro:2   gmni:1   comm:2
     13 
     14 Overwrite functions locally at `$XDG_CONFIG_HOME/fetch/config.sh`.
     15 
     16 	# ~/.config/fetch/config.sh
     17 	graphic() {
     18 		# see formatters()
     19 		env printf "${c4}%s\n" \
     20 			'      .      ' \
     21 			'     / \     ' \
     22 			'    /\  \    ' \
     23 			'   /     \   ' \
     24 			'  /  .-. `\  ' \
     25 			' /.-    `-.\ '
     26 	}
     27 
     28 Send patches and questions to <~torresjrjr/public-inbox@lists.sr.ht>
     29 (see [mailing list etiquette][2] and [git-send-email.io][3]).
     30 
     31 License: GNU General Public License
     32 
     33 
     34   [1]: https://www.msys2.org/
     35   [2]: https://man.sr.ht/lists.sr.ht/etiquette.md
     36   [3]: https://git-send-email.io/