Guile bindings for Sway window manager

github.com

76 points by ducktective 5 days ago


goku12 - 2 days ago

Neat! I'm going to try this one for sure. I really like the use of a programming language to configure and control WMs and software in general. I just find it easier to write programs than to write complex configurations. Even better if the WM just provides an IPC/API and a few language bindings to use them. River WM takes this approach. And in case anyone wants to have a traditional configuration, an application may be provided to translate such config files to API calls.

Obviously a lot of people are going to have (not unjustified) complaints about a Turing complete configuration. I haven't yet used any new generation config languages like dhall, kdl, pkl or jsonnet. Can anybody share any insight on how they perform for complicated configs?

dannyobrien - 2 days ago

See also https://github.com/engstrand-config/dwl-guile -- Guile bindings for DWL, the even more minimalistic Wayland compositor https://codeberg.org/dwl/dwl

gsibble - 2 days ago

Hyprland > Sway