waybar-wlr-workspaces(5)
π waybar-wlr-workspaces β the manual page (5) π
okay bestie, so this is the waybar-wlr-workspaces(5) page from the File Formats Manual, and it's literally just the waybar workspaces module but make it make sense. sit down, grab a strawberry, let's go π
β¨ NAME β¨
waybar β the wlr workspaces module, bestie. it's giving "your workspaces but cute".
πΈ DESCRIPTION πΈ
The workspaces module displays the currently used workspaces in wayland compositor. no cap, that's the whole job. it shows you your workspaces. iconic behaviour honestly π
π CONFIGURATION π
You address this thing by wlr/workspaces. that's the vibe check you gotta pass to get in here.
formatβ typeof:string, default:{name}. The format, how information should be displayed. this is the outfit your workspaces are wearing πformat-iconsβ typeof:array. Based on the workspace name and state, the corresponding icon gets selected. See icons. (yes, that's a lil teaser, scroll down bestie π«Ά)sort-by-nameβ typeof:bool, default:true. Should workspaces be sorted by name. alphabetically cute.sort-by-coordinatesβ typeof:bool, default:true. Should workspaces be sorted by coordinates.
Note that if bothsort-by-nameandsort-by-coordinatesare true sort-by name will be first. If both are false β sort by id will be performed. so like, one of them always wins, there's no chaos allowed π
sort-by-numberβ typeof:bool, default:false. If set totrue, workspace names will be sorted numerically. Takes precedence over any other sort-by option. it's the main character of sorting, periodt.all-outputsβ typeof:bool, default:false. If set tofalseworkspaces group will be shown only in assigned output. Otherwise, all workspace groups are shown. so flip it totrueif you want everybody everywhere πactive-onlyβ typeof:bool, default:false. If set totrueonly active or urgent workspaces will be shown. minimalism era β¨
π¦ FORMAT REPLACEMENTS π¦
these are the lil placeholders you can drop into your format, and they actually get replaced:
{name}β Name of workspace assigned by compositor{icon}β Icon, as defined informat-icons.
π CLICK ACTIONS π
activateβ Switch to workspace. one click, boom, you're there π«°closeβ Close the workspace. bye bestie π
π§ ICONS π§
In addition to workspace name matching, the following format-icons can be set:
defaultβ Will be shown, when no string match is found.activeβ Will be shown, when workspace is active
so like, name-match it OR use these fallbacks. both? both. π
β EXAMPLES β
look at her. she's gorgeous. no notes.
"wlr/workspaces": {
"format": "{name}: {icon}",
"format-icons": {
"1": "",
"2": "",
"3": "",
"4": "",
"5": "",
"active": "",
"default": ""
},
"sort-by-number": true
}
π Style π
the CSS hooks you get to play with, go off:
#workspaces#workspaces button#workspaces button.active#workspaces button.urgent#workspaces button.hidden
and that's the whole page bestie, you ate it π this was waybar-wlr-workspaces(5) from 2024-04-01, version/source stamped right there in the footer β so if you're reading this way later, hi, time traveller, still valid as of that date πΈ mwah, go configure something beautiful π«Άβ¨
π¦ where this page comes from
- ubuntu noble: waybar 0.9.24-1build3 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms