Dynamically switch between sway and sway-nvidia based on active gpu.
LICENSE | ||
PKGBUILD | ||
README.md | ||
sway-dynamic | ||
sway-dynamic.desktop |
sway-dynamic
Dynamically switch between sway and sway-nvidia based on active gpu.
Usage
When booting a GPU set the environment variable GPUMODE=<driver>
with something
like systemd.setenv=GPUMODE=<driver>
. The script will decide how to
launch sway depending on this variable. Possible values:
nvidia
nouveau