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