diff --git a/config/hypr/scripts/Refresh.sh b/config/hypr/scripts/Refresh.sh index cd399b0..b411c24 100755 --- a/config/hypr/scripts/Refresh.sh +++ b/config/hypr/scripts/Refresh.sh @@ -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 -#sleep 1 -#${SCRIPTSDIR}/RainbowBorders.sh & \ No newline at end of file +# Relaunching rainbow borders +sleep 1 +${SCRIPTSDIR}/RainbowBorders.sh & \ No newline at end of file diff --git a/config/hypr/v2.1.12 b/config/hypr/v2.1.11 similarity index 100% rename from config/hypr/v2.1.12 rename to config/hypr/v2.1.11 diff --git a/config/waybar/configs/Peony [Bottom] b/config/waybar/configs/Peony [Bottom] index 0caa4ea..159cf34 100644 --- a/config/waybar/configs/Peony [Bottom] +++ b/config/waybar/configs/Peony [Bottom] @@ -28,7 +28,7 @@ "custom/separator#line", "backlight#peony", "custom/separator#line", - "temperature#peony", + "temperature", "custom/separator#line", "battery#peony", "network#peony"], @@ -59,15 +59,6 @@ "format": "{percent}% {icon}", "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}", diff --git a/config/waybar/configs/Peony [TOP] b/config/waybar/configs/Peony [TOP] index ade9f2c..c9e5fce 100644 --- a/config/waybar/configs/Peony [TOP] +++ b/config/waybar/configs/Peony [TOP] @@ -28,7 +28,7 @@ "custom/separator#line", "backlight#peony", "custom/separator#line", - "temperature#peony", + "temperature", "custom/separator#line", "battery#peony", "network#peony"], @@ -53,22 +53,7 @@ "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", "format-icons": ["", "", "󰕾", ""], }, - -"backlight#peony": { - "device": "intel_backlight", - "format": "{percent}% {icon}", - "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}",