Add reset behaviour of modifier key

Add an option to change the behaviour of the modifier key to reset the
visibility.
This commit is contained in:
Tobias Wölfel
2022-04-14 14:39:42 +02:00
parent 5a0e42cc76
commit 7763d50691
3 changed files with 16 additions and 4 deletions

View File

@ -44,6 +44,7 @@ class BarIpcClient {
Ipc ipc_;
swaybar_config bar_config_;
std::string modifier_reset_;
bool visible_by_mode_ = false;
bool visible_by_modifier_ = false;
bool visible_by_urgency_ = false;