mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-01 02:31:04 +02:00
style: run fmt
This commit is contained in:
parent
2cd59ef5ff
commit
006c242f49
1 changed files with 3 additions and 1 deletions
|
@ -170,7 +170,9 @@ impl Module<gtk::Box> for WorkspacesModule {
|
||||||
}
|
}
|
||||||
WorkspaceUpdate::Update(event) if event.change == WorkspaceChange::Init => {
|
WorkspaceUpdate::Update(event) if event.change == WorkspaceChange::Init => {
|
||||||
if let Some(workspace) = event.current {
|
if let Some(workspace) = event.current {
|
||||||
if self.all_monitors || workspace.output.unwrap_or_default() == output_name {
|
if self.all_monitors
|
||||||
|
|| workspace.output.unwrap_or_default() == output_name
|
||||||
|
{
|
||||||
let name = workspace.name.unwrap_or_default();
|
let name = workspace.name.unwrap_or_default();
|
||||||
let item = create_button(
|
let item = create_button(
|
||||||
&name,
|
&name,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue