mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
fix(Network): format-alt
This commit is contained in:
@ -43,8 +43,8 @@ bool waybar::ALabel::handleToggle(GdkEventButton* const& e) {
|
||||
} else if (config_["on-click-right"].isString() && e->button == 3) {
|
||||
waybar::util::command::forkExec(config_["on-click-right"].asString());
|
||||
} else {
|
||||
alt = !alt;
|
||||
if (alt) {
|
||||
alt_ = !alt_;
|
||||
if (alt_) {
|
||||
format_ = config_["format-alt"].asString();
|
||||
} else {
|
||||
format_ = default_format_;
|
||||
|
Reference in New Issue
Block a user