waybar use default temperature module
This commit is contained in:
@@ -85,11 +85,10 @@
|
|||||||
"on-click": "footclient --app-id floating_shell --window-size-chars 120x45 -e btop"
|
"on-click": "footclient --app-id floating_shell --window-size-chars 120x45 -e btop"
|
||||||
},
|
},
|
||||||
|
|
||||||
"custom/cputemp": {
|
"temperature": {
|
||||||
"exec": "sensors | grep 'CPU:' | awk '{print substr($2,2); }'",
|
"critical-threshold": 80,
|
||||||
"format": " {}",
|
"format": " {temperatureC}°C",
|
||||||
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 80x45 watch sensors'",
|
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 80x45 -e watch sensors'"
|
||||||
"interval": 1
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"memory": {
|
"memory": {
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
"modules-right": [
|
"modules-right": [
|
||||||
"idle_inhibitor",
|
"idle_inhibitor",
|
||||||
"cpu",
|
"cpu",
|
||||||
"custom/cputemp",
|
"temperature",
|
||||||
"memory",
|
"memory",
|
||||||
"custom/nvidia",
|
"custom/nvidia",
|
||||||
"disk#root",
|
"disk#root",
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
"modules-right": [
|
"modules-right": [
|
||||||
"idle_inhibitor",
|
"idle_inhibitor",
|
||||||
"cpu",
|
"cpu",
|
||||||
"custom/cputemp",
|
"temperature",
|
||||||
"memory",
|
"memory",
|
||||||
"custom/nvidia",
|
"custom/nvidia",
|
||||||
"disk#root",
|
"disk#root",
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
"modules-right": [
|
"modules-right": [
|
||||||
"idle_inhibitor",
|
"idle_inhibitor",
|
||||||
"cpu",
|
"cpu",
|
||||||
"custom/cputemp",
|
"temperature",
|
||||||
"memory",
|
"memory",
|
||||||
"disk#root",
|
"disk#root",
|
||||||
"backlight",
|
"backlight",
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
"modules-right": [
|
"modules-right": [
|
||||||
"idle_inhibitor",
|
"idle_inhibitor",
|
||||||
"cpu",
|
"cpu",
|
||||||
"custom/cputemp",
|
"temperature",
|
||||||
"memory",
|
"memory",
|
||||||
"disk#root",
|
"disk#root",
|
||||||
"backlight",
|
"backlight",
|
||||||
|
|||||||
Reference in New Issue
Block a user