From e7bb3cbff42ccbc1e6cd4a15c70b0e6e25f103a3 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Wed, 28 Feb 2018 22:06:56 -0500 Subject: [PATCH] Add a TODO note in rename_workspace.py --- .config/i3/rename_workspace.py | 1 + 1 file changed, 1 insertion(+) 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