rofi call bug fixe, minor changes
This commit is contained in:
@@ -18,5 +18,7 @@ if [ $1 -gt 0 ] && [ $1 -lt 43 ]; then
|
||||
else
|
||||
usage; exit 1
|
||||
fi
|
||||
NEXT_WORKSPACE_NAME=$(i3-msg -t get_workspaces | jq -r ".[] | select(.num==${NEXT_WORKSPACE}).name")
|
||||
if [ -z "${NEXT_WORKSPACE_NAME}" ]; then NEXT_WORKSPACE_NAME=${NEXT_WORKSPACE}; fi
|
||||
|
||||
i3-msg -q "move container to workspace ${NEXT_WORKSPACE}"
|
||||
i3-msg -q "move container to workspace ${NEXT_WORKSPACE_NAME}"
|
||||
|
||||
Reference in New Issue
Block a user