Closed Greatz08 closed 8 months ago
yes now (since you are using hyprland) you have to use hyprland/workspaces
Eg my config (don't judge)
"hyprland/window": {
"format": "{}"
},
"hyprland/workspaces": {
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1",
// Icons for 20 workspaces? Why wou may ask, Why not I anwser.
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"10": "10",
"11": "11",
"12": "12",
"13": "13",
"14": "14",
"15": "15",
"16": "16",
"17": "17",
"18": "18",
"19": "19",
"20": "20",
"all-outputs": true,
"on-click": "activate",
"format": "{icon}",
"format-icons": {
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"10": "10",
"11": "11",
"12": "12",
"13": "13",
"14": "14",
"15": "15",
"16": "16",
"17": "17",
"18": "18",
"19": "19",
"20": "20",
"urgent": "<span color='#dd532e'></span>", // The explamation point is now red to draw more attention to it
// "active": "",
"default": ""
}
},
@jernejmarcic thanks buddy now its showing workspace number :-))
{ "layer": "top", "position": "top", "mod": "dock", "exclusive": true, "passthrough": false, "gtk-layer-shell": true, "height": 50, "modules-left": ["custom/launch_wofi","wlr/workspaces","cpu","memory","disk","hyprland/window"], "modules-center": ["custom/lock_screen","custom/updates","clock","custom/power_btn"], "modules-right": ["temperature","battery","backlight","pulseaudio","pulseaudio#microphone","tray","cava","custom/light_dark","network"],
"custom/weather": { //shows the current weather and forecast "tooltip" : true, "format" : "{}", "interval" : 30, "exec" : "~/.config/waybar/scripts/waybar-wttr.py", "return-type" : "json" },
}
Previously could see workpsace number 1,2,3 etc in top left as per above conf but now i cant so please guide to fix it