diff --git a/.config/i3/rename_workspace.sh b/.config/i3/rename_workspace.sh index a34389a..5cbfe98 100755 --- a/.config/i3/rename_workspace.sh +++ b/.config/i3/rename_workspace.sh @@ -1,7 +1,7 @@ #!/bin/bash num=`i3-msg -t get_workspaces | jq 'map(select(.focused == true))[0].num'` -i3-input -F "rename workspace to \"$num:%s\"" -P 'New name: ' +i3-input -F "rename workspace to \"$num:%s\"" -P "New name: $num:" name=`i3-msg -t get_workspaces | jq 'map(select(.focused == true))[0].name'` # If empty name was set