add wifi widget
This commit is contained in:
30
config.py
30
config.py
@@ -48,7 +48,7 @@ for vt in range(1, 8):
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Add groups
|
# Add groups
|
||||||
group_names = "abcdefghij"
|
group_names = "αβγδεζηθικ"
|
||||||
group_keys = "1234567890"
|
group_keys = "1234567890"
|
||||||
groups = [Group(name) for name in group_names]
|
groups = [Group(name) for name in group_names]
|
||||||
|
|
||||||
@@ -99,17 +99,17 @@ screens = [
|
|||||||
# top bar
|
# top bar
|
||||||
top=bar.Bar(
|
top=bar.Bar(
|
||||||
[
|
[
|
||||||
|
widget.CurrentLayoutIcon(background="000000", padding=10),
|
||||||
widget.GroupBox(background="111111", **powerline),
|
widget.GroupBox(background="111111", **powerline),
|
||||||
widget.WindowName(background="000000", **powerline),
|
widget.WindowName(background="000000", **powerline),
|
||||||
widget.HDD(background="111111", device="/dev/nvme0n1p4", **powerline),
|
widget.Wlan(background="333333", format=" {ipaddr} {essid} {percent:2.0%}", interface="wlp0s20f3", **powerline),
|
||||||
widget.Clock(background="333333", format=" %a", **powerline),
|
widget.Volume(background="111111", fmt=" {}", **powerline),
|
||||||
widget.Clock(background="444444", format="%H:%M:%S", **powerline),
|
widget.Battery(background="222222", empty_char="", discharge_char="", charge_char="", full_char="", format="{char} {percent:2.0%}", **powerline),
|
||||||
widget.QuickExit(background="666666", default_text=" x ", countdown_format=" {} ", **powerline),
|
widget.Clock(background="333333", format=" %a", **powerline),
|
||||||
widget.CurrentLayoutIcon(background="000000", **powerline),
|
widget.Clock(background="444444", format=" %H:%M:%S", **powerline),
|
||||||
|
widget.QuickExit(background="666666", default_text=" ", countdown_format=" {} ", **powerline),
|
||||||
],
|
],
|
||||||
24,
|
24,
|
||||||
# border_width=[2, 0, 2, 0], # Draw top and bottom borders
|
|
||||||
# border_color=["ff00ff", "000000", "ff00ff", "000000"] # Borders are magenta
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
@@ -142,22 +142,8 @@ floating_layout = layout.Floating(
|
|||||||
auto_fullscreen = True
|
auto_fullscreen = True
|
||||||
focus_on_window_activation = "smart"
|
focus_on_window_activation = "smart"
|
||||||
reconfigure_screens = True
|
reconfigure_screens = True
|
||||||
|
|
||||||
# If things like steam games want to auto-minimize themselves when losing
|
|
||||||
# focus, should we respect this or not?
|
|
||||||
auto_minimize = True
|
auto_minimize = True
|
||||||
# When using the Wayland backend, this can be used to configure input devices.
|
|
||||||
wl_input_rules = None
|
wl_input_rules = None
|
||||||
# xcursor theme (string or None) and size (integer) for Wayland backend
|
|
||||||
wl_xcursor_theme = None
|
wl_xcursor_theme = None
|
||||||
wl_xcursor_size = 24
|
wl_xcursor_size = 24
|
||||||
|
|
||||||
# XXX: Gasp! We're lying here. In fact, nobody really uses or cares about this
|
|
||||||
# string besides java UI toolkits; you can see several discussions on the
|
|
||||||
# mailing lists, GitHub issues, and other WM documentation that suggest setting
|
|
||||||
# this string if your java app doesn't work correctly. We may as well just lie
|
|
||||||
# and say that we're a working one by default.
|
|
||||||
#
|
|
||||||
# We choose LG3D to maximize irony: it is a 3D non-reparenting WM written in
|
|
||||||
# java that happens to be on java's whitelist.
|
|
||||||
wmname = "qtile"
|
wmname = "qtile"
|
||||||
|
|||||||
Reference in New Issue
Block a user