aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaster4385 <venkatesh@tablaster.dev>2024-12-01 00:02:40 +0530
committerBlaster4385 <venkatesh@tablaster.dev>2024-12-01 00:02:40 +0530
commit1f825cbc5e545f1e3df14af2b7b0d244e930c764 (patch)
treeb2de4d66eeef880ca2d8abf93c08ae1b5488ec20
parent45a707c844fac7b41b572d7359cb41f65a268c3c (diff)
feat: updated polybar config
- Update cpu temp path - Update monitor
-rw-r--r--polybar/config.ini2
-rwxr-xr-xpolybar/launch.sh6
2 files changed, 4 insertions, 4 deletions
diff --git a/polybar/config.ini b/polybar/config.ini
index 7b90932..edc67ed 100644
--- a/polybar/config.ini
+++ b/polybar/config.ini
@@ -411,7 +411,7 @@ thermal-zone = 0
; to find path to desired file
; Default reverts to thermal zone setting
;;hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
-hwmon-path = /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon4/temp1_input
+hwmon-path = ${env:CPU_TEMP_PATH:/sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon4/temp1_input}
warn-temperature = 65
format = <label>
diff --git a/polybar/launch.sh b/polybar/launch.sh
index 11e6018..0ce431a 100755
--- a/polybar/launch.sh
+++ b/polybar/launch.sh
@@ -1,7 +1,7 @@
#!/bin/bash
killall -q polybar
-
+# sleep 1
+MONITOR=DP-4 polybar --config=$HOME/.config/polybar/config.ini top
+sleep 2
MONITOR=DP-2 polybar --config=$HOME/.config/polybar/config.ini top
-sleep 1
-MONITOR=DP-0 polybar --config=$HOME/.config/polybar/config.ini top