Gubar: A Sway Bar in Guile Scheme

News

Experimenting with Gubar

https://github.com/trevarj/gubar https://github.com/glenneth1/gubar

Here's the example configuration we were working with:

(use-modules (gubar gublock)
             (gubar blocks date-time)
             (gubar blocks battery)
             (gubar blocks label)
             (gubar blocks volume-pipewire)
             (gubar blocks network-manager-wifi)
             (gubar blocks system-resources)
             (gubar blocks xkb-layout)
             (gubar blocks workspaces)
             (gubar swaybar-protocol))

(list
 (workspaces #:names '(("0" . "chat")
                       ("1" . "dev")
                       ("2" . "browser"))
             #:min-width 500)
 (date-time #:interval 60 #:format "%a %b %d %Y %-I:%M %p")
 (network-manager-wifi)
 (volume-pipewire)
 (xkb-layout #:alias-pairs '((0 . "lang1") (1 . "lang2")))
 (cpu-monitor)
 (memory-monitor)
 (disk-monitor)
 (battery #:nerd-icons #f))

Enjoyed this stream? Explore our hands-on courses for deeper, structured learning on Guile Scheme and more.

Get the System Crafters Newsletter
Updates on open source tools, tutorials, and community projects. We'll also occasionally let you know about new courses and resources.
Name (optional)
Email Address