Add workspaces to waybar
This commit is contained in:
parent
9e03ecea66
commit
ad4416b6d6
11
config.jsonc
11
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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue