actions: Use #name.action[.data] format

This looks a bit nicer than #name#action[.data]
This commit is contained in:
patrick96
2020-05-24 01:29:38 +02:00
committed by Patrick Ziegler
parent bc1b86c584
commit 6618320947
2 changed files with 7 additions and 7 deletions

View File

@ -6,7 +6,7 @@ POLYBAR_NS
namespace actions_util {
string get_action_string(const modules::input_handler& handler, string action, string data) {
string str = "#" + handler.input_handler_name() + "#" + action;
string str = "#" + handler.input_handler_name() + "." + action;
if (!data.empty()) {
str += "." + data;
}