3 lines
107 B
Bash
Executable file
3 lines
107 B
Bash
Executable file
#!/usr/bin/env bash
|
|
{ upower -d; upower --monitor-detail; } \
|
|
| rg '\s*time to.*:\s*(\d.*)\s*$' -r '$1'
|