From 9d8ee2561d1de033fe52ddd92143d57ed90cce3d Mon Sep 17 00:00:00 2001 From: Bill Chamalidis Date: Sat, 20 Jul 2024 12:09:37 +0300 Subject: [PATCH 1/4] Fix Waybar not whowing workspaces --- waybar/config.jsonc | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/waybar/config.jsonc b/waybar/config.jsonc index 048cbae..78b693b 100644 --- a/waybar/config.jsonc +++ b/waybar/config.jsonc @@ -6,28 +6,19 @@ "passthrough": false, "gtk-layer-shell": true, "height": 50, - "modules-left": ["clock","custom/weather","wlr/workspaces"], + "modules-left": ["clock","custom/weather","hyprland/workspaces"], "modules-center": ["hyprland/window"], "modules-right": ["network", "bluetooth", "temperature","custom/power_profile","battery","backlight","pulseaudio","pulseaudio#microphone","tray"], "hyprland/window": { "format": "{}" }, - "wlr/workspaces": { - "disable-scroll": true, - "all-outputs": true, - "on-click": "activate", - "persistent_workspaces": { - "1": [], - "2": [], - "3": [], - "4": [], - "5": [], - "6": [], - "7": [], - "8": [], - "9": [], - "10": [] + "hyprland/workspaces": { + "format": "{name}", + + "persistent-workspaces": { + "*": 3, // 5 workspaces by default on every monitor + "HDMI-A-1": 3 // but only three on HDMI-A-1 } }, From 791d321f55c4cd0cdac22925d62f253d8a066b37 Mon Sep 17 00:00:00 2001 From: Bill Chamalidis Date: Sat, 20 Jul 2024 12:24:04 +0300 Subject: [PATCH 2/4] fix hyprland conf error master --- hypr/hyprland.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index dd15368..6c5a177 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -95,7 +95,10 @@ dwindle { master { # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more - new_is_master = true + #new_is_master = true + new_status = master + new_on_top = 1 + mfact = 0.5 } gestures { From 971b61a8df153caff99e6d6e3ac6a82d7b5678ae Mon Sep 17 00:00:00 2001 From: Bill Chamalidis Date: Sun, 21 Jul 2024 11:21:18 +0300 Subject: [PATCH 3/4] Fix waybar CPU temperature (Stuck at 32F) --- waybar/config.jsonc | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/waybar/config.jsonc b/waybar/config.jsonc index 78b693b..16c09cb 100644 --- a/waybar/config.jsonc +++ b/waybar/config.jsonc @@ -102,12 +102,17 @@ }, "temperature": { - "thermal-zone": 1, - "format": "{temperatureF}°F ", - "critical-threshold": 80, - "format-critical": "{temperatureC}°C " + "thermal-zone": 2, + "hwmon-path": [ + "/sys/class/hwmon/hwmon2/temp1_input", + "/sys/class/thermal/thermal_zone0/temp" + ], + "critical-threshold": 70, + "format-critical": " {temperatureC}°C", + "format": " {temperatureC}°C" }, + "network": { // "interface": "wlp2*", // (Optional) To force the use of this interface "format-wifi": " {signalStrength}%", From 708f596fabdfcb9279bc672d7fddcf193f05b64e Mon Sep 17 00:00:00 2001 From: Bill Chamalidis Date: Sun, 21 Jul 2024 11:24:28 +0300 Subject: [PATCH 4/4] Fix waybar CPU temperature (Stuck at 32F) --- waybar/config.jsonc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waybar/config.jsonc b/waybar/config.jsonc index 16c09cb..4133f01 100644 --- a/waybar/config.jsonc +++ b/waybar/config.jsonc @@ -107,7 +107,7 @@ "/sys/class/hwmon/hwmon2/temp1_input", "/sys/class/thermal/thermal_zone0/temp" ], - "critical-threshold": 70, + "critical-threshold": 80, "format-critical": " {temperatureC}°C", "format": " {temperatureC}°C" },