Dynamically switch between sway and sway-nvidia based on active gpu.
Find a file
2024-04-15 17:47:15 +02:00
.gitignore Automatically detect loaded module. 2024-04-15 17:47:15 +02:00
LICENSE Initial commit 2024-04-15 17:19:38 +02:00
PKGBUILD Automatically detect loaded module. 2024-04-15 17:47:15 +02:00
README.md Automatically detect loaded module. 2024-04-15 17:47:15 +02:00
sway-dynamic Automatically detect loaded module. 2024-04-15 17:47:15 +02:00
sway-dynamic.desktop Initial implementation. 2024-04-15 17:32:35 +02:00

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.