parent
c06e722565
commit
0526302f3e
1 changed files with 6 additions and 0 deletions
@ -0,0 +1,6 @@ |
|||||||
|
#!/usr/bin/env bash |
||||||
|
|
||||||
|
acpi | \ |
||||||
|
sed 's/^.*Discharging,/🔋/' | \ |
||||||
|
sed 's/^.*Charging,/🔌/' | \ |
||||||
|
sed 's/, /\n/' | tr '\n' '\0' | xargs -0 notify-send |
Loading…
Reference in new issue