yambar/modules
Daniel Eklöf a2cf05a64d
module/i3: add ‘strip-workspace-numbers’ option
This is a boolean option. When set, “N:” prefixes will be stripped
from the workspaces’ name tag, *after* having been sorted (if the
‘sort’ option is being used).

This makes it useful to arrange the workspaces in a fixed order, by
prefixing the names with a number in the Sway config:

  set $ws1 “1:xyz”
  set $ws2 “2:abc”

Then, in the yambar config:

  i3:
    sort: ascending
    strip-workspace-numbers: true
2022-02-11 21:44:43 +01:00
..
alsa.c module/alsa: add support for capture devices 2021-08-26 11:03:12 +02:00
backlight.c module/backlight: handle poll() failures 2021-12-17 11:23:59 +01:00
battery.c module/battery: handle poll() failures 2021-12-17 11:25:37 +01:00
clock.c module/clock: handle poll() failures 2021-12-17 11:55:31 +01:00
cpu.c modules: add cpu module 2021-12-21 18:44:36 +01:00
foreign-toplevel.c foreign-toplevel: refresh the bar when a top-level is closed 2021-10-17 09:52:28 +02:00
i3-common.c module/i3-common: fix compilation warning with asan 2020-07-07 14:06:29 +02:00
i3-common.h modules/sway-xkb: new module, uses sway 'input' events to expose kbd layout 2019-08-14 21:51:43 +02:00
i3-ipc.h module/i3: use our own copy of i3/ipc.h 2019-03-31 12:08:44 +02:00
i3.c module/i3: add ‘strip-workspace-numbers’ option 2022-02-11 21:44:43 +01:00
label.c modules: implement description() 2021-06-20 21:15:24 +02:00
mem.c modules: add mem module 2021-12-21 18:44:14 +01:00
meson.build modules: add cpu module 2021-12-21 18:44:36 +01:00
mpd.c module/mpd: handle poll() failures 2021-12-17 11:55:36 +01:00
network.c modules: verify: use conf_verify_unsigned() for options that should be >= 0 2021-11-15 18:17:29 +01:00
removables.c module/removables: audio CD support 2021-12-26 12:22:54 +01:00
river.c module/river: rename the ‘per-output’ option to ‘all-monitors’ 2021-08-25 18:47:33 +02:00
script.c modules: verify: use conf_verify_unsigned() for options that should be >= 0 2021-11-15 18:17:29 +01:00
sway-xkb.c modules: verify: use conf_verify_unsigned() for options that should be >= 0 2021-11-15 18:17:29 +01:00
xkb.c module/xkb: handle poll() failures 2021-12-17 11:55:38 +01:00
xwindow.c module/xwindow: handle poll() failures 2021-12-17 11:55:38 +01:00