@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
SCRIPTSDIR=$HOME/.config/hypr/scripts
@ -6,7 +6,7 @@ SCRIPTSDIR=$HOME/.config/hypr/scripts
_ps=(waybar rofi)
for _prs in "${_ps[@]}"; do
if pidof "${_prs}" >/dev/null; then
killall "${_prs}"
pkill "${_prs}"
fi
done
@ -16,6 +16,6 @@ waybar &
# Relaunch dunst with pywal-borders
${SCRIPTSDIR}/PywalDunst.sh &
## trying to figure out how to restart Rainbow borders
# Relaunching rainbow borders
#sleep 1
sleep 1
#${SCRIPTSDIR}/RainbowBorders.sh &
${SCRIPTSDIR}/RainbowBorders.sh &
@ -28,7 +28,7 @@
"custom/separator#line",
"backlight#peony",
"temperature#peony",
"temperature",
"battery#peony",
"network#peony"],
@ -60,15 +60,6 @@
"format-icons": ["", "", "", "", "", "", "", "", ""],
},
"temperature#peony": {
// "thermal-zone": 2,
"hwmon-path": ["/sys/class/hwmon/hwmon1/temp1_input", "/sys/class/thermal/thermal_zone0/temp"],
"critical-threshold": 80,
// "format-critical": "{temperatureC}°C ",
"format": "{temperatureC}°C "
"network#peony": {
"format": "{ifname}",
"format-wifi": "{icon}",
@ -54,21 +54,6 @@
"format-icons": ["", "", "", ""],
"backlight#peony": {
"device": "intel_backlight",
"format": "{percent}% {icon}",