Add workspaces to waybar
This commit is contained in:
13
config.jsonc
13
config.jsonc
@@ -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"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user