Dynamically switch between sway and sway-nvidia based on active gpu.
.gitignore | ||
LICENSE | ||
PKGBUILD | ||
README.md | ||
sway-dynamic | ||
sway-dynamic.desktop |
sway-dynamic
Dynamically switch between sway and sway-nvidia based on active gpu.
Usage
Blacklist the module which should not be loaded on boot, the script
detects if the nvidia
or nouveau
driver is loaded and either calls
sway-nvidia
or sway
.