dwlb.1 (5283B) - View raw
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324.TH DWLB 1 2023 Linux "User's Reference Manuals" . .SH NAME dwlb \- feature-complete bar for dwl . .SH SYNOPSIS . .SY dwlb .RI [ OPTIONS\~ \&.\|.\|.\&] .YS . .SH DESCRIPTION . .B dwlb is a feature-complete status bar for .IR dwl . . .SH USAGE . Pass .B dwlb as an argument to .IR dwl 's .B -s flag. This will populate each connected output with a bar. . .PP For example: .IP .EX dwl \-s \(aqdwlb \-font "monospace:size=16"\(aq .EE . .SS IPC . .PP If .I dwl is patched appropriately, .B dwlb is capable of communicating directly with .IR dwl . When IPC is enabled with .BR \-ipc , .B dwlb does not read from .IR stdin , and clicking tags functions as you would expect. IPC can be disabled with .BR \-no\-ipc . . .SS Commands . Command options send instructions to existing instances of .BR dwlb . All commands take at least one argument to specify a bar on which to operate. This may be .I zxdg_output_v1 name, "all" to affect all outputs, or "selected" for the current output. . .PP The .B \-status and .B \-title commands are used to write status text. The text may contain in-line commands in the following format: .IR \(hacmd(argument) . . .TP .BR \(hafg \c .BI ( HEXCOLOR ) Sets foreground color to .IR HEXCOLOR . .TP .BR \(habg \c .BI ( HEXCOLOR ) Sets background color to .IR HEXCOLOR . .TP .BR \(halm \c .BI ( SHELLCOMMAND ) Begins or terminates left mouse button region with action .IR SHELLCOMMAND . .TP .BR \(hamm \c .BI ( SHELLCOMMAND ) Begins or terminates middle mouse button region with action .IR SHELLCOMMAND . .TP .BR \(harm \c .BI ( SHELLCOMMAND ) Begins or terminates right mouse button region with action .IR SHELLCOMMAND . . .PP In this example, clicking the text highlighted in red will spawn the foot terminal. . .IP .EX dwlb \-status all \(aqtext \(habg(ff0000)\(halm(foot)text\(habg()\(halm() text\(aq .EE . .PP A color command with no argument reverts to the default value. .B \(ha\(ha represents a single .B \(ha character. Status commands can be disabled with .BR \-no\-status\-commands . . .SS Scaling . .PP If you use scaling in Wayland, you can specify .B buffer_scale through config file or by passing it as an option (only integer values): . .IP .EX dwlb \-scale 2 .EE . .PP This will render both surface and a cursor with 2\(mu detail. If your monitor is set to 1.25 or 1.5 scaling, setting scale to 2 will also work as compositor will downscale the buffer properly. . .SS Someblocks . .PP To use .IR someblocks , or any program that outputs to .IR stdout , with .BR dwlb , use this one-liner: . .IP .EX someblocks \-p | dwlb \-status\-stdin all .EE . .SH OPTIONS . .SS IPC . .TP .B \-ipc Allow commands to be sent to .I dwl .RI ( dwl Must be patched) .TP .B \-no\-ipc Disable ipc . .SS Configuration . .TP .B \-hidden Bars will initially be hidden .TP .B \-no\-hidden Bars will not initially be hidden .TP .B \-bottom Bars will initially be drawn at the bottom .TP .B \-no\-bottom Bars will initially be drawn at the top .TP .B \-hide\-vacant\-tags Do not display empty and inactive tags .TP .B \-no\-hide\-vacant\-tags Display empty and inactive tags .TP .B \-status\-commands Enable in-line commands in status text .TP .B \-no\-status\-commands Disable in-line commands in status text .TP .B \-center\-title Center title text on bar .TP .B \-no\-center\-title Do not center title text on bar .TP .B \-custom\-title Do not display window title and Treat the area as another status text element; see .B \-title command .TP .B \-no\-custom\-title Display current window title as normal .TP .BR \-font \~\c .I FONT Specify a font .TP .BR \-tags \~\c .IR NUMBER \~\c .IR FIRST \&.\|.\|.\& LAST If ipc is disabled, specify custom tag names .TP .BR \-vertical\-padding \~\c .I PIXELS Specify vertical pixel padding above and below text .TP .BR \-active\-fg\-color \~\c .I COLOR Specify text color of active tags or monitors .TP .BR \-active\-bg\-color \~\c .I COLOR Specify background color of active tags or monitors .TP .BR \-occupied\-fg\-color \~\c .I COLOR Specify text color of occupied tags .TP .BR \-occupied\-bg\-color \~\c .I COLOR Specify background color of occupied tags .TP .BR \-inactive\-fg\-color \~\c .I COLOR Specify text color of inactive tags or monitors .TP .BR \-inactive\-bg\-color \~\c .I COLOR Specify background color of inactive tags or monitors .TP .BR \-urgent\-fg\-color \~\c .I COLOR Specify text color of urgent tags .TP .BR \-urgent\-bg\-color \~\c .I COLOR Specify background color of urgent tags .TP .BR \-scale \~\c .I BUFFER_SCALE Specify buffer scale value for integer scaling . .SS Commands . .TP .BR \-status \~\c .I OUTPUT\~TEXT Set status text .TP .BR \-status\-stdin \~\c .I OUTPUT Set status text from stdin .TP .BR \-title \~\c .I OUTPUT\~TEXT Set title text, if .B \-custom\-title Is enabled .TP .BR \-show \~\c .I OUTPUT Show bar .TP .BR \-hide \~\c .I OUTPUT Hide bar .TP .BR \-toggle\-visibility \~\c .I OUTPUT Toggle bar visibility .TP .BR \-set\-top \~\c .I OUTPUT Draw bar at the top .TP .BR \-set\-bottom \~\c .I OUTPUT Draw bar at the bottom .TP .BR \-toggle\-location \~\c .I OUTPUT Toggle bar location . .SS Others . .TP .B \-v Get version information .TP .B \-h View this help text . .SH SEE ALSO . .BR dwl (1), .BR someblocks (1) . .SH AUTHOR . .UR https://\:github\:.com/\:kolunmi kolumni .UE