4 lines
198 B
Bash
Executable file
4 lines
198 B
Bash
Executable file
#!/bin/bash
|
|
|
|
icon=""
|
|
echo "${icon} $(upower -d | grep 'percentage' | awk '{print $2}' | head -n 1) ($(upower -d | grep 'time to empty' | awk -F: '{print $2}' | awk '{print $1,$2}' | head -n 1))"
|