From a0653c07ebdf1878ce151b267241604fad442e0d Mon Sep 17 00:00:00 2001 From: zachir Date: Tue, 2 Jan 2024 15:52:49 -0600 Subject: waybar: Fix to use upstream hyprland/workspaces Hyprland/workspaces has been upstreamed, so we're using that now. Also fix the css not showing persistent button status properly while we're at it. --- waybar/config | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'waybar/config') diff --git a/waybar/config b/waybar/config index 63ac30e..0590008 100644 --- a/waybar/config +++ b/waybar/config @@ -9,14 +9,14 @@ // Choose the order of the modules - "modules-left":[ "wlr/workspaces", "custom/launcher", "hyprland/window"], + "modules-left":[ "hyprland/workspaces", "custom/launcher", "hyprland/window"], "modules-center":[], "modules-right":[ "mpd", "idle_inhibitor", "pulseaudio", "cpu", "memory", "temperature#cpu", "temperature#gpu", "backlight", "network", "clock", "tray", "custom/power"], // Modules configuration - "wlr/workspaces": { - "format": "{name}", + "hyprland/workspaces": { + "format": "{icon}", "active-only": false, "all-outputs": false, "persistent_workspaces": { @@ -30,8 +30,8 @@ "8": [], "9": [] }, - "on-scroll-up": "hyprctl dispatch workspace e+1", - "on-scroll-down": "hyprctl dispatch workspace e-1", + "on-scroll-up": "hyprctl dispatch split-workspace e+1", + "on-scroll-down": "hyprctl dispatch split-workspace e-1", "on-click": "activate" }, "hyprland/window": { -- cgit v1.2.3