power menu, redshift, polybar
This commit is contained in:
20
.config/polybar/scripts/system-cpu-temppercore/README.md
Normal file
20
.config/polybar/scripts/system-cpu-temppercore/README.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# Script: system-cpu-temppercore
|
||||
|
||||
A script that displays the temperature for each core.
|
||||
|
||||

|
||||
|
||||
|
||||
## Dependencies
|
||||
|
||||
* `lm_sensors`
|
||||
|
||||
|
||||
## Module
|
||||
|
||||
```ini
|
||||
[module/system-cpu-temppercore]
|
||||
type = custom/script
|
||||
exec = ~/polybar-scripts/system-cpu-temppercore.sh
|
||||
interval = 60
|
||||
```
|
||||
BIN
.config/polybar/scripts/system-cpu-temppercore/screenshots/1.png
Normal file
BIN
.config/polybar/scripts/system-cpu-temppercore/screenshots/1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
sensors | grep Core | awk '{print substr($3, 2, length($3)-5)}' | tr "\\n" " " | sed 's/ /°C /g' | sed 's/ $//'
|
||||
Reference in New Issue
Block a user