mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-02 01:04:26 +02:00
i3-companion: don't crash on windows without a class
This commit is contained in:
parent
caac6d6a5c
commit
8b7bdb3038
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ async def workspace_rename(i3, event):
|
|||
if window.sticky:
|
||||
continue
|
||||
icon = application_icons.get(
|
||||
window.window_class.lower(), application_icons_nomatch
|
||||
(window.window_class or "").lower(), application_icons_nomatch
|
||||
)
|
||||
if icon is not None:
|
||||
icons.add(icon)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue