diff --git a/.config/i3/rename_workspace.py b/.config/i3/rename_workspace.py index 85fd0f8..de6e5e8 100755 --- a/.config/i3/rename_workspace.py +++ b/.config/i3/rename_workspace.py @@ -15,6 +15,7 @@ if len(focused) == 1: # I have no idea when it wouldn't be, but whatever # basically either take raw input, allow clearing text part of a name, # or add input to current number + # TODO: handle renaming of workspace without number to another name without a number newName = inputName if re.match('^[0-9]+:', inputName) is not None else \ oldNum if inputName == "" else \ oldNum + ':' + inputName