This is my sway configuration, together with scripts and assets required to make it work.
I use ubuntu 20.04, and as such any package installation stuff on the scripts are for ubuntu 20.04. I don't recommend you use these as they're tailored to my specific use case.
- install_base.sh will install the minimum requirements to build sway from my repo https://github.com/luispabon/sway-ubuntu-build
- install_exclusive.sh is meant to be used on an ubuntu minimal ISO install, and will install the minimum requirements to run sway with a native wayland file manager, terminal, connection manager and pulseaudio
- install.sh installs all the apps and tools I use daily, sets up sway session on the system and any other work necessary for the whole thing to work.
- install_xps9560.sh installs system services for things like extra powersaving, undervolt etc. Tailored to my specific system.
To make it all work you need to add ~/bin
to your path as some of the scripts install in there. You also need a build of waybar (again you can compile by yourself from the repo above).
Make sure you pull submodules as you'll need https://github.com/vlevit/notify-send.sh to make notifications work.
There are notification scripts for volume and brightness, and sway bindings for these on fn keys (but not waybar).