1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-10-13 05:16:40 -04:00
polybar/include/utils/actions.hpp
patrick96 bc1b86c584 actions: Separate data from action string
Modules now no longer need to manually parse the action string and
extract data from it.
2020-11-26 20:53:53 +01:00

12 lines
256 B
C++

#pragma once
#include "common.hpp"
#include "modules/meta/input_handler.hpp"
POLYBAR_NS
namespace actions_util {
string get_action_string(const modules::input_handler& handler, string action, string data);
} // namespace actions_util
POLYBAR_NS_END