Waybar/include/modules/sway
Matthias Richter b16c8972c7 Add option to rewrite sway/window title
Rewrites window title according to config option "rewrite".
"rewrite" is an object where keys are regular expressions and values are
rewrite rules if the expression matches. Rules may contain references to
captures of the expression. Regex and replacement follow ECMA-script
rules. If no regex matches, the title is left unchanged.

example:
"sway/window": {
  "rewrite": {
    "(.*) - Mozilla Firefox": " $1",
    "(.*) - zsh": " $1",
  }
}
2021-04-21 12:24:47 +02:00
..
ipc fix(sway): resolve destruction dependency between Ipc and SleeperThread 2020-02-04 23:22:43 -08:00
language.hpp feature: created sway language submodule; added styles & config part for a sway language submodule 2020-10-10 19:09:18 +03:00
mode.hpp fix(sway): resolve destruction dependency between Ipc and SleeperThread 2020-02-04 23:22:43 -08:00
window.hpp Add option to rewrite sway/window title 2021-04-21 12:24:47 +02:00
workspaces.hpp Add a configuration entry to disable auto_back_and_forth on Sway workspaces 2021-02-02 21:58:26 +01:00