diff options
author | Calvin Morrison <mutantturkey@gmail.com> | 2019-04-08 13:16:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-08 13:16:22 -0400 |
commit | 6c646d43094fdb13030afd9d12877d32e3a31c2c (patch) | |
tree | c00787a0d54748c0a6ad69be0e2cd45bf33fd087 | |
parent | 03893d39d5adaf3372f77e9ca22f988d79f113c5 (diff) |
work with new default i3 location
i3 config is now in ~/.config/i3/ so update the path to make this work again OOTB
-rwxr-xr-x | rename_workspace | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rename_workspace b/rename_workspace index adfda65..75bdea6 100755 --- a/rename_workspace +++ b/rename_workspace @@ -2,5 +2,5 @@ OLD=$(i3-msg -t 'get_workspaces' | sed -e 's/{"num/\n{"num/g' | grep \"focused\":true | sed -e 's/,"/\n/g' | grep name | cut -d\" -f 3) NEW=$(zenity --text="Enter new name:" --entry --title="Rename workspace $OLD" --entry-text="$OLD") i3-msg "rename workspace \"$OLD\" to \"$NEW\"" -sed ~/.i3/config -i -e "s,^set \$\(ws[0-9]\+\) \"$OLD\",set \$\1 \"$NEW\"," +sed ~/.config/i3/config -i -e "s,^set \$\(ws[0-9]\+\) \"$OLD\",set \$\1 \"$NEW\"," i3-msg reload |