Last active
October 22, 2021 16:11
-
-
Save ha7ilm/4712e38bdfdb81d53264c011a7f867e5 to your computer and use it in GitHub Desktop.
Prompt to rename current workspace in i3 so that the new name starts with the number of the current workspace, e.g. "1:term"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bindsym $mod+u exec i3-input -F "rename workspace to \"$(i3-msg -t get_workspaces | jq -r \"map(select(.focused))[0].num\"):%s\"" -P 'New name for this workspace: ' |
I'm using this. Thank you.
this is really slick, thanks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Requires
jq
.