From 551c1f0ef133c531e288c5a3f1dbd3159e4ab214 Mon Sep 17 00:00:00 2001 From: punkfairie <23287005+punkfairie@users.noreply.github.com> Date: Sun, 21 Apr 2024 10:48:28 -0700 Subject: [PATCH] Update .config/fish/conf.d/20-aliases.fish --- dot_config/fish/conf.d/20-aliases.fish | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dot_config/fish/conf.d/20-aliases.fish b/dot_config/fish/conf.d/20-aliases.fish index 469219e..2f4b58d 100644 --- a/dot_config/fish/conf.d/20-aliases.fish +++ b/dot_config/fish/conf.d/20-aliases.fish @@ -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