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

This commit is contained in:
punkfairie 2024-04-21 10:23:53 -07:00
parent 6f3c871b41
commit f6a7a21962
No known key found for this signature in database
GPG key ID: 284B78B49C058673

View file

@ -74,3 +74,9 @@ end
function cdls -d "CD into a directory and list its contents"
cd "$argv" && ls
end
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Check battery.
upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep -E "state|time to|percentage"