add status try

This commit is contained in:
0x29a
2025-07-13 16:12:35 +02:00
parent ad8d781bb8
commit c96bef61cf

View File

@@ -27,7 +27,7 @@ keys = [
Key([mod, "shift"], "Return",lazy.layout.toggle_split(),desc="Toggle between split and unsplit sides of stack",), Key([mod, "shift"], "Return",lazy.layout.toggle_split(),desc="Toggle between split and unsplit sides of stack",),
Key([mod], "Return", lazy.spawn(terminal), desc="Launch terminal"), Key([mod], "Return", lazy.spawn(terminal), desc="Launch terminal"),
Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"), Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"),
Key([mod, "shift"], "q", lazy.window.kill(), desc="Kill focused window"), Key([mod], "q", lazy.window.kill(), desc="Kill focused window"),
Key([mod], "f", lazy.window.toggle_fullscreen(), desc="Toggle fullscreen on the focused window",), Key([mod], "f", lazy.window.toggle_fullscreen(), desc="Toggle fullscreen on the focused window",),
Key([mod], "t", lazy.window.toggle_floating(), desc="Toggle floating on the focused window"), Key([mod], "t", lazy.window.toggle_floating(), desc="Toggle floating on the focused window"),
Key([mod, "control"], "r", lazy.reload_config(), desc="Reload the config"), Key([mod, "control"], "r", lazy.reload_config(), desc="Reload the config"),
@@ -99,8 +99,8 @@ screens = [
# top bar # top bar
top=bar.Bar( top=bar.Bar(
[ [
widget.CurrentLayoutIcon(background="000000", padding=10), widget.CurrentLayoutIcon(background="111111", **powerline),
widget.GroupBox(background="111111", **powerline), widget.GroupBox(background="111111", highlight_method='line', hide_unused=True, **powerline),
widget.WindowName(background="000000", **powerline), widget.WindowName(background="000000", **powerline),
widget.Wlan(background="333333", format="{ipaddr} {essid} {percent:2.0%}", interface="wlp0s20f3", **powerline), widget.Wlan(background="333333", format="{ipaddr} {essid} {percent:2.0%}", interface="wlp0s20f3", **powerline),
widget.Volume(background="111111", fmt="{}", **powerline), widget.Volume(background="111111", fmt="{}", **powerline),
@@ -108,8 +108,9 @@ screens = [
widget.Clock(background="333333", format="󰃭 %a", **powerline), widget.Clock(background="333333", format="󰃭 %a", **powerline),
widget.Clock(background="444444", format="%H:%M:%S", **powerline), widget.Clock(background="444444", format="%H:%M:%S", **powerline),
widget.QuickExit(background="666666", default_text=" 󰐥 ", countdown_format=" {} ", **powerline), widget.QuickExit(background="666666", default_text=" 󰐥 ", countdown_format=" {} ", **powerline),
widget.StatusNotifier(background="000000", **powerline),
], ],
24, 25,
), ),
), ),
] ]