Modify waybar for sway

This commit is contained in:
exu 2023-11-23 10:44:34 +01:00
parent 1fc1274ca8
commit 80f43743f7

View File

@ -4,7 +4,7 @@
"height": 25, "height": 25,
"spacing": 10, "spacing": 10,
"modules-left": ["wlr/workspaces", "hyprland/window", "hyprland/submap"], "modules-left": ["wlr/workspaces", "sway/window", "sway/mode"],
"modules-center": ["clock"], "modules-center": ["clock"],
"modules-right": ["mpris", "idle_inhibitor", "battery", "tray"], "modules-right": ["mpris", "idle_inhibitor", "battery", "tray"],
@ -17,12 +17,10 @@
}, },
"sort-by-number": true "sort-by-number": true
}, },
"hyprland/window": { "sway/window": {
"format": "{}", "max-length": 40
"separate-outputs": true
}, },
"hyprland/submap": { "sway/mode": {
"format": "{}",
"tooltip": false "tooltip": false
}, },
"mpris": { "mpris": {