Skip to content

Commit

Permalink
ruff format
Browse files Browse the repository at this point in the history
  • Loading branch information
linkfrg committed Dec 8, 2024
1 parent b5bd993 commit 7c407f3
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions examples/bar/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,9 @@ def power_menu() -> Widget.Button:
]
)
return Widget.Button(
child=Widget.Box(child=[Widget.Icon(image="system-shutdown-symbolic", pixel_size=20), menu]),
child=Widget.Box(
child=[Widget.Icon(image="system-shutdown-symbolic", pixel_size=20), menu]
),
on_click=lambda x: menu.popup(),
)

Expand All @@ -359,7 +361,14 @@ def center() -> Widget.Box:

def right() -> Widget.Box:
return Widget.Box(
child=[tray(), keyboard_layout(), speaker_volume(), speaker_slider(), clock(), power_menu()],
child=[
tray(),
keyboard_layout(),
speaker_volume(),
speaker_slider(),
clock(),
power_menu(),
],
spacing=10,
)

Expand Down

0 comments on commit 7c407f3

Please sign in to comment.