Update .config/fish/conf.d/20-aliases.fish
This commit is contained in:
parent
8382b6dd7b
commit
551c1f0ef1
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue