power menu, redshift, polybar
This commit is contained in:
21
.config/polybar/scripts/system-ati-radeontop/README.md
Normal file
21
.config/polybar/scripts/system-ati-radeontop/README.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# Script: system-ati-radeontop
|
||||
|
||||
A script that outputs gpu usage for amd cards using radeontop.
|
||||
|
||||

|
||||
|
||||
|
||||
## Dependencies
|
||||
|
||||
* [`radeontop`](https://github.com/clbr/radeontop)
|
||||
|
||||
|
||||
## Module
|
||||
|
||||
```ini
|
||||
[module/system-ati-radeontop]
|
||||
type = custom/script
|
||||
exec = ~/polybar-scripts/system-ati-radeontop.sh
|
||||
tail = true
|
||||
format="<label>%"
|
||||
```
|
||||
BIN
.config/polybar/scripts/system-ati-radeontop/screenshots/1.png
Normal file
BIN
.config/polybar/scripts/system-ati-radeontop/screenshots/1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 895 B |
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
radeontop -d - -i 1 | grep --line-buffered -oP "gpu \K\d{1,3}"
|
||||
Reference in New Issue
Block a user