Bring zsh and fish back in sync
This commit is contained in:
parent
84a7f938fb
commit
fe8461f4b8
9 changed files with 81 additions and 46 deletions
5
fish/functions/power_now.fish
Normal file
5
fish/functions/power_now.fish
Normal file
|
@ -0,0 +1,5 @@
|
|||
if test -f /sys/class/power_supply/BAT0/power_now
|
||||
function power_now
|
||||
awk '{ print $1*10^-6 " W" }' /sys/class/power_supply/BAT0/power_now
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue