Skip to content

Instantly share code, notes, and snippets.

View mattfbacon's full-sized avatar

Matt Fellenz mattfbacon

View GitHub Profile
@mattfbacon
mattfbacon / mfetch.sh
Created August 22, 2021 18:17
MFetch system fetch. All I need for my shell.
#!/bin/sh
printf "\033[1m$(whoami)@$(hostname)\033[0m with "
upower -i /org/freedesktop/UPower/devices/battery_BAT0 | awk '/percentage/{print $2}'
fortune | fmt -44 -s