From 9f7677f89b34aa8fe0e61aa4c84ae556b66dd05a Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 30 Nov 2023 01:58:25 +0900 Subject: [PATCH] Restart of Rainbow Borders fixed :) --- config/hypr/scripts/Refresh.sh | 10 +++++----- config/hypr/{v2.1.12 => v2.1.11} | 0 config/waybar/configs/Peony [Bottom] | 11 +---------- config/waybar/configs/Peony [TOP] | 17 +---------------- 4 files changed, 7 insertions(+), 31 deletions(-) rename config/hypr/{v2.1.12 => v2.1.11} (100%) 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}",