modified waybar config for hyprland

This commit is contained in:
Mike G 2024-10-05 18:10:24 -04:00
parent da27987793
commit f8bb38dd0b

View file

@ -9,11 +9,11 @@
"disk", "disk",
"memory", "memory",
"temperature", "temperature",
"sway/window" "hyprland/window"
], ],
"modules-center": "modules-center":
[ [
"sway/workspaces" "hyprland/workspaces"
], ],
"modules-right": "modules-right":
[ [
@ -98,13 +98,15 @@
] ]
}, },
"sway/workspaces": { "hyprland/workspaces": {
"format": "{icon}", "format": "{icon}",
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1",
"on-click": "activate", "on-click": "activate",
"format-icons": { "format-icons": {
"persistent": "", "persistent": "",
"urgent": "", "urgent": "",
"default": "" "active": ""
}, },
"sort-by-number": true, "sort-by-number": true,
"persistent-workspaces": { "persistent-workspaces": {
@ -115,7 +117,7 @@
"5": [] } "5": [] }
}, },
"sway/window": { "hyprland/window": {
"format": "{app_id} - {title}", "format": "{app_id} - {title}",
"max-length": 30, "max-length": 30,
"icon": true "icon": true