From 23e102db15865611fec9e6f117a1fccd80261c84 Mon Sep 17 00:00:00 2001 From: SqrtMinusOne Date: Thu, 18 Jan 2024 16:29:11 +0300 Subject: [PATCH] polybar: add temp --- .config/polybar/config | 33 +++++++++++++++++++++++---------- Desktop.org | 14 ++++++++++++++ bin/polybar.sh | 14 +++++++------- 3 files changed, 44 insertions(+), 17 deletions(-) diff --git a/.config/polybar/config b/.config/polybar/config index a45f17a..319f367 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -27,16 +27,9 @@ gright =  ; Glyph settings:1 ends here ; [[file:../../Desktop.org::*Generating glyphs][Generating glyphs:3]] -[module/glyph-light-cyan--cyan] +[module/glyph-light-cyan--light-cyan] type = custom/text content-background = ${colors.light-cyan} -content-foreground = ${colors.cyan} -content = ${glyph.gright} -content-font = 5 - -[module/glyph-magenta--light-cyan] -type = custom/text -content-background = ${colors.magenta} content-foreground = ${colors.light-cyan} content = ${glyph.gright} content-font = 5 @@ -97,10 +90,17 @@ content-foreground = ${colors.light-green} content = ${glyph.gright} content-font = 5 -[module/glyph-magenta--cyan] +[module/glyph-light-cyan--cyan] +type = custom/text +content-background = ${colors.light-cyan} +content-foreground = ${colors.cyan} +content = ${glyph.gright} +content-font = 5 + +[module/glyph-magenta--light-cyan] type = custom/text content-background = ${colors.magenta} -content-foreground = ${colors.cyan} +content-foreground = ${colors.light-cyan} content = ${glyph.gright} content-font = 5 @@ -421,6 +421,19 @@ ramp-capacity-3 =  ramp-capacity-4 =  ; battery:1 ends here +; [[file:../../Desktop.org::*temperature][temperature:1]] +[module/temperature] +type = internal/temperature +interval = 10 + +format =