Switch back to workspaces

This commit is contained in:
2026-02-04 01:15:49 -08:00
parent 1e3321c2b0
commit 239013386f
2 changed files with 27 additions and 9 deletions

View File

@@ -3,7 +3,7 @@
"height": 30, "height": 30,
"spacing": 4, "spacing": 4,
"modules-left": [ "modules-left": [
"wlr/taskbar", "hyprland/workspaces",
"hyprland/submap" "hyprland/submap"
], ],
"modules-center": [ "modules-center": [
@@ -82,14 +82,15 @@
"format-source-muted": "MIC muted", "format-source-muted": "MIC muted",
"on-click": "pavucontrol" "on-click": "pavucontrol"
}, },
"wlr/taskbar": { "hyprland/workspaces": {
"format": "{id}",
"on-click": "activate",
"workspace-taskbar": {
"enable": true,
"update-active-window": true,
"format": "{icon}", "format": "{icon}",
"icon-size": 16, "icon-size": 16,
"tooltip-format": "{title}", "on-click-window": "hyprctl dispatch focuswindow address:{address}"
"on-click": "activate", }
"on-click-middle": "close",
"ignore-list": [
"waybar"
]
} }
} }

View File

@@ -77,6 +77,23 @@ button:hover {
background-color: #eb4d4b; background-color: #eb4d4b;
} }
#workspaces .workspace-label {
padding: 0 6px;
}
#workspaces .taskbar-window {
padding: 0 4px;
}
#workspaces .taskbar-window.active {
background-color: #64727D;
box-shadow: inset 0 -3px #ffffff;
}
#workspaces .taskbar-window image {
margin: 0 2px;
}
#mode { #mode {
background-color: #64727D; background-color: #64727D;
box-shadow: inset 0 -3px #ffffff; box-shadow: inset 0 -3px #ffffff;