Update .chezmoiignore

Add .config/fish/functions/batt.fish
This commit is contained in:
punkfairie 2024-04-27 19:26:05 -07:00
parent b64f47f965
commit e077bcf3a3
Signed by: punkfairie
GPG key ID: A86AF57F837E320F
2 changed files with 10 additions and 0 deletions

View file

@ -1,6 +1,10 @@
README.md
tags*
{{- if ne .chezmoi.hostname "archbaby" }}
.config/fish/functions/batt.fish
{{- end }}
{{- if not .isServer }}
.config/composer
.config/firefox

View file

@ -0,0 +1,6 @@
#!/usr/bin/env fish
function batt -d "Check battery percentage"
upower -i /org/freedesktop/UPower/devices/battery_BAT0 \
| grep -E "state|time to|percentage"
end