Skip to content

Commit

Permalink
fixes to the window icon
Browse files Browse the repository at this point in the history
  • Loading branch information
nwg-piotr committed Mar 25, 2021
1 parent 412cf63 commit ce90e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nwg_panel/modules/sway_workspaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def find_focused(self):
if ws.focused:
ws_num = ws.num

if self.settings["show-name"]:
if self.settings["show-name"] or self.settings["show-icon"]:
f = self.i3.get_tree().find_focused()
if f.type == "con" and f.name and str(f.parent.workspace().num) in self.settings["numbers"]:
win_name = f.name[:self.settings["name-length"]]
Expand Down

0 comments on commit ce90e72

Please sign in to comment.