Waybar/src/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.cpp feature: created sway language submodule; added styles & config part for a sway language submodule 2020-10-10 19:09:18 +03:00
mode.cpp Merge branch 'master' into on-update 2020-04-12 18:32:19 +02:00
window.cpp Add option to rewrite sway/window title 2021-04-21 12:24:47 +02:00
workspaces.cpp Add a configuration entry to disable auto_back_and_forth on Sway workspaces 2021-02-02 21:58:26 +01:00