Skip to content

Commit

Permalink
feat(swaybar-ipc): handle mode update
Browse files Browse the repository at this point in the history
  • Loading branch information
alebastr committed Nov 19, 2021
1 parent f4eb3d5 commit c503f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/sway/bar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ void BarIpcClient::onIpcEvent(const struct Ipc::ipc_response& res) {

void BarIpcClient::onConfigUpdate(const swaybar_config& config) {
spdlog::info("config update: {} {} {}", config.id, config.mode, config.position);
// TODO: pass config to bars
bar_.setMode(config.mode);
}

void BarIpcClient::onVisibilityUpdate(bool visible_by_modifier) {
Expand Down

0 comments on commit c503f06

Please sign in to comment.