mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-13 22:52:30 +02:00
Merge pull request #2917 from alttabber/master
Add always on option for hyprland/submap
This commit is contained in:
@ -19,12 +19,15 @@ class Submap : public waybar::ALabel, public EventHandler {
|
||||
auto update() -> void override;
|
||||
|
||||
private:
|
||||
auto parseConfig(const Json::Value&) -> void;
|
||||
void onEvent(const std::string& ev) override;
|
||||
|
||||
std::mutex mutex_;
|
||||
const Bar& bar_;
|
||||
util::JsonParser parser_;
|
||||
std::string submap_;
|
||||
bool always_on_ = false;
|
||||
std::string default_submap_ = "Default";
|
||||
};
|
||||
|
||||
} // namespace waybar::modules::hyprland
|
||||
|
Reference in New Issue
Block a user