1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-08-20 08:11:03 +02:00

refactor: couple of tiny changes

This commit is contained in:
Jake Stanger 2025-05-19 15:29:44 +01:00
parent 7b220cb2ae
commit 09ba3816d6
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61
2 changed files with 3 additions and 3 deletions

View file

@ -248,7 +248,7 @@ impl BindModeClient for Client {
self.add_listener::<swayipc_async::ModeEvent>(move |mode| {
tracing::trace!("mode: {:?}", mode);
// when no bindind is active the bindmode is named "default", but we must display
// when no binding is active the bindmode is named "default", but we must display
// nothing in this case.
let name = if mode.change == "default" {
String::new()