diff --git a/config.jsonc b/config.jsonc index 204f85c..1152e3d 100644 --- a/config.jsonc +++ b/config.jsonc @@ -6,7 +6,7 @@ "passthrough": false, "gtk-layer-shell": true, "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-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-right": "swaync-client -d -sw", "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" + } }