Fix waybar

This commit is contained in:
2023-09-10 18:27:48 +01:00
parent cfb3d63efc
commit 1f6b51e3d8

View File

@@ -1,7 +1,12 @@
{ {
"layer": "top", "layer": "top",
"modules-left": ["wlr/workspaces", "hyprland/window"], "modules-left": [
"modules-center": ["clock"], "hyprland/workspaces",
"hyprland/window"
],
"modules-center": [
"clock"
],
"modules-right": [ "modules-right": [
"backlight", "backlight",
"pulseaudio", "pulseaudio",
@@ -36,9 +41,12 @@
}, },
"backlight": { "backlight": {
"format": "{percent}% {icon}", "format": "{percent}% {icon}",
"format-icons": ["", ""] "format-icons": [
"",
""
]
}, },
"wlr/workspaces": { "hyprland/workspaces": {
"on-scroll-up": "hyprctl dispatch workspace e+1", "on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1", "on-scroll-down": "hyprctl dispatch workspace e-1",
"on-click": "activate", "on-click": "activate",