Update .config/fish/conf.d/20-aliases.fish

This commit is contained in:
punkfairie 2024-04-21 10:48:28 -07:00
parent 8382b6dd7b
commit 551c1f0ef1
No known key found for this signature in database
GPG key ID: 284B78B49C058673

View file

@ -79,4 +79,7 @@ end
# Check battery.
upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep -E "state|time to|percentage"
function batt -d "Check battery percentage"
upower -i /org/freedesktop/UPower/devices/battery_BAT0 \
| grep -E "state|time to|percentage"
end