Waybar: add window title module and mouse scroll support for workspaces

This commit is contained in:
Harzo 2023-09-07 18:15:36 +02:00
parent 98fec09a6c
commit e57958790b
1 changed files with 9 additions and 6 deletions

View File

@ -7,6 +7,7 @@
"clock", "clock",
"custom/weather", "custom/weather",
"custom/pacman", "custom/pacman",
"hyprland/window",
"hyprland/submap" "hyprland/submap"
], ],
"modules-center": [ "modules-center": [
@ -18,11 +19,6 @@
"pulseaudio", "pulseaudio",
"tray" "tray"
], ],
"hyprland/window": {
"format": "{}",
"separate-outputs": true,
"max-length": 50
},
"hyprland/workspaces": { "hyprland/workspaces": {
"format": "{icon}", "format": "{icon}",
"on-click": "activate", "on-click": "activate",
@ -47,7 +43,9 @@
"14": ["DP-3"], "14": ["DP-3"],
"15": ["DP-3"], "15": ["DP-3"],
"16": ["DP-3"] "16": ["DP-3"]
} },
"on-scroll-down": "hyprctl dispatch workspace m-1",
"on-scroll-up": "hyprctl dispatch workspace m+1"
}, },
"tray": { "tray": {
"icon-size": 16, "icon-size": 16,
@ -117,6 +115,11 @@
"deactivated": "" "deactivated": ""
} }
}, },
"hyprland/window": {
"format": "󱂬 <small>{}</small>",
"separate-outputs": true,
"max-length": 50
},
"hyprland/submap": { "hyprland/submap": {
"format": "{}", "format": "{}",
"tooltip": false "tooltip": false