From 49ff9ba6f4d6450275042963abd3167e4e061f43 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 13 Nov 2023 09:34:28 +0900 Subject: [PATCH] Made a small mistake on last commit --- config/waybar/modules | 53 ++++++++++--------- .../waybar/style/style-catppuccin-latte.css | 4 ++ .../waybar/style/style-catppuccin-mocha.css | 4 ++ 3 files changed, 37 insertions(+), 24 deletions(-) diff --git a/config/waybar/modules b/config/waybar/modules index 529a83d..eb7c367 100644 --- a/config/waybar/modules +++ b/config/waybar/modules @@ -1,69 +1,75 @@ +//* ---- 💫 https://github.com/JaKooLit 💫 ---- *// + { -// HYPRLAND WORKSPACES. CHOOSE as required +// HYPRLAND WORKSPACES. CHOOSE as desired and place on waybar configs // CIRCLES Style - "hyprland/workspaces": { - "all-outputs": true, +"hyprland/workspaces": { + "active-only": false, + "all-outputs": true, "format": "{icon}", + "show-special": false, "on-click": "activate", -"on-scroll-up": "hyprctl dispatch workspace e+1", + "on-scroll-up": "hyprctl dispatch workspace e+1", "on-scroll-down": "hyprctl dispatch workspace e-1", "persistent_workspaces": { "1": [], "2": [], "3": [], "4": [], - "5": [] + "5": [], }, "format-icons": { "active": "", "default": "", + }, }, - "active-only": false, - "all-outputs": true -}, - // ROMAN Numerals style "hyprland/workspaces#2": { "active-only":false, "all-outputs": true, "format": "{icon}", + "show-special": false, "on-click": "activate", + "on-scroll-up": "hyprctl dispatch workspace e+1", + "on-scroll-down": "hyprctl dispatch workspace e-1", "persistent_workspaces":{ "1": [], "2": [], "3": [], "4": [], - "5": [] + "5": [], }, "format-icons": { "1": "I", "2": "II", "3": "III", "4": "IV", - "5": "V" + "5": "V", - } + }, }, - // PACMAN Style "hyprland/workspaces#3": { "active-only":false, "all-outputs": true, "format": "{icon}", "on-click": "activate", + "on-scroll-up": "hyprctl dispatch workspace e+1", + "on-scroll-down": "hyprctl dispatch workspace e-1", + "show-special": false, "persistent_workspaces":{ "1": [], "2": [], "3": [], "4": [], - "5": [] + "5": [], }, "format": "{icon}", "format-icons": { "active": " 󰮯 ", "default": "  ", - "persistent":"󰑊" - } + "persistent":"󰑊", + }, }, // NUMBERS and ICONS style @@ -73,6 +79,8 @@ //"format": " {icon} ", "show-special": false, "on-click": "activate", + "on-scroll-up": "hyprctl dispatch workspace e+1", + "on-scroll-down": "hyprctl dispatch workspace e-1", "all-outputs": true, "sort-by-number": true, "format-icons": { @@ -88,11 +96,8 @@ "10": "10", "focused": "", "default": "", - }, - "on-scroll-up": "hyprctl dispatch workspace e+1", - "on-scroll-down": "hyprctl dispatch workspace e-1", + }, }, - "backlight": { "interval": 2, "align": 0, @@ -327,8 +332,8 @@ "temperature": { "interval": 10, "tooltip": false, - "hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input", - //"thermal-zone": 0, + //"hwmon-path": "/sys/class/hwmon/hwmon5/temp1_input", + "thermal-zone": 0, "critical-threshold": 82, "format-critical": "{temperatureC}°C {icon}", "format": "{temperatureC}°C {icon}", @@ -552,8 +557,8 @@ "temperature#vertical": { "interval": 10, "tooltip": true, - "hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input", - //"thermal-zone": 0, + //"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input", + "thermal-zone": 0, "critical-threshold": 80, "format-critical": "{icon}\n{temperatureC}°C", "format": " {icon}", diff --git a/config/waybar/style/style-catppuccin-latte.css b/config/waybar/style/style-catppuccin-latte.css index 80636d5..6419148 100644 --- a/config/waybar/style/style-catppuccin-latte.css +++ b/config/waybar/style/style-catppuccin-latte.css @@ -141,6 +141,10 @@ window#waybar.hidden { color: @teal; } +#temperature.critical { + background-color: @red; +} + #tray > .passive { -gtk-icon-effect: dim; } diff --git a/config/waybar/style/style-catppuccin-mocha.css b/config/waybar/style/style-catppuccin-mocha.css index 23ee293..856271e 100644 --- a/config/waybar/style/style-catppuccin-mocha.css +++ b/config/waybar/style/style-catppuccin-mocha.css @@ -139,6 +139,10 @@ window#waybar.hidden { color: @teal; } +#temperature.critical { + background-color: @red; +} + #tray > .passive { -gtk-icon-effect: dim; }