Update dot_config/i3/executable_on_i3_start.sh
This commit is contained in:
parent
12193e1ce9
commit
ea5d0d81d4
1 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@ function process_workspace () {
|
||||||
if [[ "$OUTPUT_NAME" != "$NEW_OUTPUT_NAME" ]]; then
|
if [[ "$OUTPUT_NAME" != "$NEW_OUTPUT_NAME" ]]; then
|
||||||
echo "WORKSPACE_NUMBER: $WORKSPACE_NUMBER | OUTPUT: $OUTPUT_NAME | NEW_OUTPUT: $NEW_OUTPUT_NAME"
|
echo "WORKSPACE_NUMBER: $WORKSPACE_NUMBER | OUTPUT: $OUTPUT_NAME | NEW_OUTPUT: $NEW_OUTPUT_NAME"
|
||||||
echo move workspace number $WORKSPACE_NUMBER to output $NEW_OUTPUT_NAME
|
echo move workspace number $WORKSPACE_NUMBER to output $NEW_OUTPUT_NAME
|
||||||
$MSG_COMMAND move workspace number \"$WORKSPACE_NUMBER\" to output $NEW_OUTPUT_NAME
|
$MSG_COMMAND move workspace number \"$WORKSPACE_NUMBER\" to output \"$NEW_OUTPUT_NAME\"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ function reconfigure_workspaces () {
|
||||||
INDEX=$(($i - 1))
|
INDEX=$(($i - 1))
|
||||||
SCREEN=${SCREENS[$INDEX]}
|
SCREEN=${SCREENS[$INDEX]}
|
||||||
echo workspace number $(($INDEX * 10)) to output $SCREEN
|
echo workspace number $(($INDEX * 10)) to output $SCREEN
|
||||||
$MSG_COMMAND workspace number \"$(($INDEX * 10))\" to output $SCREEN
|
$MSG_COMMAND workspace number \"$(($INDEX * 10))\" to output \"$SCREEN\"
|
||||||
done
|
done
|
||||||
|
|
||||||
$MSG_COMMAND -t get_workspaces \
|
$MSG_COMMAND -t get_workspaces \
|
||||||
|
@ -37,5 +37,5 @@ function reconfigure_workspaces () {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
# reconfigure_workspaces
|
reconfigure_workspaces
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue