format code
This commit is contained in:
parent
aacce21e14
commit
27aa42b816
|
@ -21,10 +21,10 @@ def get_floating():
|
|||
def get_layouts():
|
||||
return [
|
||||
columns.Columns(
|
||||
**default_layout_theme,
|
||||
**default_layout_theme,
|
||||
border_on_single=True,
|
||||
margin_on_single=my_globals.gap_width,
|
||||
),
|
||||
),
|
||||
max.Max(**default_layout_theme),
|
||||
# Try more layouts by unleashing below layouts.
|
||||
# layout.Stack(num_stacks=2),
|
||||
|
|
|
@ -61,7 +61,7 @@ def _get_powerline_arrow(direction: _PowerLineDirection, accent: _Accent, end=Fa
|
|||
fontsize=22,
|
||||
padding=0,
|
||||
markup=False,
|
||||
max_chars = 1
|
||||
max_chars=1,
|
||||
)
|
||||
|
||||
|
||||
|
@ -145,10 +145,10 @@ _clock = widget.Clock(
|
|||
|
||||
_updates = widget.CheckUpdates(
|
||||
**get_defaults(),
|
||||
update_interval = 3600,
|
||||
update_interval=3600,
|
||||
distro="Debian",
|
||||
display_format=" {updates} updates",
|
||||
no_update_string= os.uname()[2] + " " + os.getlogin() + "@" + os.uname()[1]
|
||||
no_update_string=os.uname()[2] + " " + os.getlogin() + "@" + os.uname()[1],
|
||||
)
|
||||
|
||||
_volume = widget.Volume(
|
||||
|
@ -173,6 +173,7 @@ _mpris = widget.Mpris2(
|
|||
],
|
||||
)
|
||||
|
||||
|
||||
def _get_bar_contents(primary=False):
|
||||
l = [
|
||||
_get_powerline_arrow(_PowerLineDirection.LEFT, _Accent.A),
|
||||
|
|
Loading…
Reference in New Issue