Skip to content

Commit

Permalink
minor formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
justbuchanan committed Jul 19, 2018
1 parent b714cbb commit 7570a3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions autoname_workspaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ def icon_for_window(window):
cls = cls.lower() # case-insensitive matching
if cls in WINDOW_ICONS:
return WINDOW_ICONS[cls]
logging.info(
'No icon available for window with classes: %s' % str(classes))
logging.info('No icon available for window with classes: %s' %
str(classes))
return DEFAULT_ICON


Expand Down
4 changes: 1 addition & 3 deletions i3splat.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ def __init__(self, xClass, xInstance=None, command=None):
super().__init__()
self.command = command

self.swallows = [{
'class': '^%s$' % xClass,
}]
self.swallows = [{'class': '^%s$' % xClass}]
if xInstance != None:
self.swallows[0]['instance'] = '^%s$' % xInstance

Expand Down

0 comments on commit 7570a3e

Please sign in to comment.