Add number to rename_workspaces prompt
This commit is contained in:
parent
6f572962ce
commit
f63ffa5ad5
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
num=`i3-msg -t get_workspaces | jq 'map(select(.focused == true))[0].num'`
|
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'`
|
name=`i3-msg -t get_workspaces | jq 'map(select(.focused == true))[0].name'`
|
||||||
# If empty name was set
|
# If empty name was set
|
||||||
|
Loading…
Reference in New Issue
Block a user