Add workspaces to waybar

This commit is contained in:
Yannick Reiß 2025-02-06 19:35:38 +01:00
parent 9e03ecea66
commit ad4416b6d6
1 changed files with 11 additions and 2 deletions

View File

@ -6,7 +6,7 @@
"passthrough": false, "passthrough": false,
"gtk-layer-shell": true, "gtk-layer-shell": true,
"height": 50, "height": 50,
"modules-left": ["custom/launch_wofi","wlr/workspaces","cpu","memory","disk","hyprland/window"], "modules-left": ["custom/launch_wofi","hyprland/workspaces","hyprland/window","cpu","memory","disk"],
"modules-center": ["custom/lock_screen","custom/updates","clock","custom/power_btn"], "modules-center": ["custom/lock_screen","custom/updates","clock","custom/power_btn"],
"modules-right": ["temperature","custom/power_profile","battery","backlight","pulseaudio","pulseaudio#microphone","tray","custom/weather","custom/notification","custom/light_dark"], "modules-right": ["temperature","custom/power_profile","battery","backlight","pulseaudio","pulseaudio#microphone","tray","custom/weather","custom/notification","custom/light_dark"],
@ -178,5 +178,14 @@
"on-click": "swaync-client -t -sw", "on-click": "swaync-client -t -sw",
"on-click-right": "swaync-client -d -sw", "on-click-right": "swaync-client -d -sw",
"escape": true "escape": true
} },
"hyprland/workspaces": {
"show-special": true,
"format": "{icon}",
"format-icons": {
},
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1"
}
} }