Guile Swayer
I am an Emacs user and previously used StumpWM , an X11 window manager written in Common Lisp . I believe window managers should be scriptable because the level of workflow customization required by users often exceeds what can be achieved with simple configuration parameters (see my workflow below for a clearer understanding of why this is the case). Unfortunately, Sway/i3 lacks a straightforward programmable interface for customization. This project provides complete control over Sway/i3 using Guile !
Why Sway?
I had to migrate to Wayland at some point. Being a big fan of StumpWM , I tried to replicate a similar environment in one of the Wayland window managers. I made some progress with hyprland using a set of Guile bindings I developed called hypripc , but I found that Hyprland isn’t as stable as Sway .
Quick Test
Note: refer to the github wiki for more documentation.
After cloning this repository, you can immediately test it using the provided examples/playground/example.scm file in the directory, which demonstrates some of the features available in this package.
The examples/playground/example.scm file will:
Print the current focused workspace
Add a keybinding (Super+t) that launches Alacritty
... continue reading