fix(docs): Updated README and configs
Use dash instead of underscore as parameter name separator Will break alot of configs but people like to work!
This commit is contained in:
parent
a891f3e53b
commit
2af0d0845d
18 changed files with 1138 additions and 260 deletions
include/modules
|
@ -86,7 +86,7 @@ namespace modules {
|
|||
// }}}
|
||||
// Add formats and create components {{{
|
||||
|
||||
for (auto workspace : m_conf.get_list<string>(name(), "workspace_icon", {})) {
|
||||
for (auto workspace : m_conf.get_list<string>(name(), "ws-icon", {})) {
|
||||
auto vec = string_util::split(workspace, ';');
|
||||
if (vec.size() == 2)
|
||||
m_icons->add(vec[0], icon_t{new icon{vec[1]}});
|
||||
|
@ -228,7 +228,7 @@ namespace modules {
|
|||
}
|
||||
|
||||
private:
|
||||
static constexpr auto DEFAULT_WS_ICON = "workspace_icon-default";
|
||||
static constexpr auto DEFAULT_WS_ICON = "ws-icon-default";
|
||||
static constexpr auto DEFAULT_WS_LABEL = "%icon% %name%";
|
||||
static constexpr auto TAG_LABEL_STATE = "<label-state>";
|
||||
static constexpr auto EVENT_CLICK = "i3-wsfocus-";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue