diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index 7d602f9..b529606 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -17,9 +17,10 @@ "modules": [ "cpu", "custom/gpu", + "temperature", "memory", "disk", ], }, "include": "~/.config/waybar/modules.jsonc", -} +} \ No newline at end of file diff --git a/.config/waybar/modules.jsonc b/.config/waybar/modules.jsonc index 2997106..a8ae0b4 100644 --- a/.config/waybar/modules.jsonc +++ b/.config/waybar/modules.jsonc @@ -67,6 +67,11 @@ }, "title-len": 30, }, + "temperature": { + "interval": 2, + "format": " {temperatureC} C", + "hwmon-path": "/sys/class/hwmon/hwmon3/temp1_input" + }, "wireplumber": { "format": "{icon} {volume}%", "format-muted": "", @@ -115,4 +120,4 @@ "Firefox Web Browser": "Firefox", }, }, -} +} \ No newline at end of file diff --git a/.config/waybar/style.css b/.config/waybar/style.css index e27732c..a287627 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -35,6 +35,7 @@ #memory, #mpris, #network, +#temperature, #window, #wireplumber, #custom-gpu, @@ -116,4 +117,4 @@ #clock { background: rgb(90%, 90%, 90%); -}*/ +}*/ \ No newline at end of file