power menu, redshift, polybar

This commit is contained in:
azpsen
2024-01-28 16:37:10 -06:00
parent 89516a6ce1
commit 319b44ecbd
307 changed files with 7642 additions and 5 deletions

View File

@@ -0,0 +1,21 @@
# Script: system-ati-radeontop
A script that outputs gpu usage for amd cards using radeontop.
![system-ati-radeontop](screenshots/1.png)
## 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>%"
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 895 B

View File

@@ -0,0 +1,3 @@
#!/bin/sh
radeontop -d - -i 1 | grep --line-buffered -oP "gpu \K\d{1,3}"