aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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