mirror of
https://github.com/polybar/polybar.git
synced 2026-02-16 09:46:01 +00:00
task(dsl): Replace colons with dashes
Colons break ini syntax highlighters and linters.
This commit is contained in:
@ -17,12 +17,12 @@ std::string TextModule::get_format() {
|
||||
|
||||
std::string TextModule::get_output()
|
||||
{
|
||||
auto click_left = config::get<std::string>(name(), "click:left", "");
|
||||
auto click_middle = config::get<std::string>(name(), "click:middle", "");
|
||||
auto click_right = config::get<std::string>(name(), "click:right", "");
|
||||
auto click_left = config::get<std::string>(name(), "click-left", "");
|
||||
auto click_middle = config::get<std::string>(name(), "click-middle", "");
|
||||
auto click_right = config::get<std::string>(name(), "click-right", "");
|
||||
|
||||
auto scroll_up = config::get<std::string>(name(), "scroll:up", "");
|
||||
auto scroll_down = config::get<std::string>(name(), "scroll:down", "");
|
||||
auto scroll_up = config::get<std::string>(name(), "scroll-up", "");
|
||||
auto scroll_down = config::get<std::string>(name(), "scroll-down", "");
|
||||
|
||||
if (!click_left.empty())
|
||||
this->builder->cmd(Cmd::LEFT_CLICK, click_left);
|
||||
|
||||
Reference in New Issue
Block a user