feat(bspwm,i3): Fuzzy-matching names for icons

Added support for fuzzy matching workspace names when assigning icons.
This feature is enabled/disabled through a new option, 'fuzzy-match'.
It is disabled by default.
This commit is contained in:
Patrick Yates
2017-01-20 15:35:52 +11:00
committed by Michael Carlberg
parent ca0d7345a1
commit 2dfdbd240e
6 changed files with 18 additions and 4 deletions

View File

@ -79,6 +79,7 @@ namespace modules {
bool m_pinworkspaces{true};
bool m_inlinemode{false};
string_util::hash_type m_hash{0U};
bool m_fuzzy_match{false};
// used while formatting output
size_t m_index{0U};

View File

@ -72,6 +72,7 @@ namespace modules {
bool m_indexsort{false};
bool m_pinworkspaces{false};
bool m_strip_wsnumbers{false};
bool m_fuzzy_match{false};
unique_ptr<i3_util::connection_t> m_ipc;
};