bf0057011777b91ef5af005fb4e984b4b9b71c7b
sxmo_wm.sh uses the `SXMO_WORKSPACE_WRAPPING` variable to control relative movements. for example, set this to "5" and then the "Next Workspace" option in the switch menu will cycle WS 1 -> 2 ... -> 5 -> 1. same for one- and two-finger left/right swipe to switch/move workspaces. however, absolute movements (via the move menu) only allowed moving to WS 1-4. a user with non-default `SXMO_WORKSPACE_WRAPPING` could move a window from WS 5 to WS 4 with this menu, but not from WS 4 back to WS 5. this patch brings consistency by using `SXMO_WORKSPACE_WRAPPING` anywhere we would otherwise assume the number of possible workspaces.
sxmo-utils
This repository contains scripts and C programs to support Sxmo.
Note all scripts pass shellcheck and are tab-idented.
<Various scripts and small C programs that glue the Sxmo environment together>
Copyright (C) <2022> <Sxmo Contributors>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, version 3 of the License only.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Description
Languages
Shell
97.5%
Makefile
1.3%
C
1.2%