AFAICT we restart lisgd because it learns the orientation via its `-o <orientation>` CLI argument. but we only pass that flag on dwm/x11, not sway. restarting it on sway is wasteful, and potentially racy (i'm able to get multiple lisgd's running just by enabling autorotate and flipping the phone rapidly), so don't do that.
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/>.