fetch

A MSYS2-compatible sys-info prompt
Log | Files | Refs | README | LICENSE

commit 8339971ea2349e800671d73c553fadc22f865bbe
parent 43afd8510718019b484f29c16e7dd542c93c1a6d
Author: Byron Torres <b@torresjrjr>
Date:   Fri, 19 Feb 2021 13:28:53 +0000

Feature: configurable graphic.sh

Diffstat:
MREADME.md | 6++----
Mfetch | 4++++
2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md @@ -14,10 +14,8 @@ $ fetch ``` -Configure the graphic and status by editing the source to your liking, -suckless style. - -Upcomming feature: local `~/.config/fetch/graphic.sh` files. +Configure the status by editing the source, suckless style. +Configure the graphic with `$XDG_CONFIG_HOME/fetch/graphic.sh`. Send patches and questions to <~torresjrjr/public-inbox@lists.sr.ht> (See [git-send-email.io][2]). diff --git a/fetch b/fetch @@ -7,6 +7,10 @@ main() { colours + + graphic="${XDG_CONFIG_HOME:-$HOME/.config}/fetch/graphic.sh" + [ -f "${graphic}" ] && . "${graphic}" + graphic reposition status