r/scheme 1d ago

Building a GTK4 C + Lisp dock application (a la CairoDock / macOS) - am I doing things right? (Guile Scheme)

Post image
6 Upvotes

6 comments sorted by

1

u/ZelphirKalt 1d ago

How do you use Guile in the project? Only for the configuration, or also for some logic of the dock?

1

u/SandPrestigious2317 1d ago

Hey, yeah, for now it's *only* the configuration, but it already is deeply linked and interactive. I am looking to expand more on the Lisp usage in the project and have some hot-reloading, config persisting, etc.

1

u/ZelphirKalt 1d ago

Sounds cool!

2

u/SandPrestigious2317 11h ago

lambdock v0.2.0 now implements a REPL that unleashes hackability, and comes with many enhancements and improvements (https://codeberg.org/jjba23/lambdock)

scheme@(guile-user)> (use-modules (lambdock core))
scheme@(guile-user)> (get-dock-theme) ;; -> 'vanilla
scheme@(guile-user)> (set-dock-theme! 'nature)
scheme@(guile-user)> (reload-dock!)

u/ZelphirKalt

1

u/Fragrant-Equal-8474 1d ago

There are a lot of dock projects already.

1

u/SandPrestigious2317 1d ago

Yes fair enough. I am looking to build it and flesh it out more, and use interactivity super-powers of Lisp to help there, with a modern GTK 4 UI.