cross-posted from: https://lemmy.stad.social/post/7193

Most of my workspaces are tiling (bspwm), but I have one where all windows are floated.

This is showcasing my own (very minimalist; ~300 lines) unreleased desktop manager written in pure Ruby, using a Ruby font renderer and Ruby X11 client library (both on github), and showing a custom menu written in Ruby that auto-populates with actions based on directory contents, and showing my Ruby terminal showcasing double-width and double-height support (xterm has it, but few others), and a window showing me editing my Ruby text editor with itself…

Oh, and Polybar. One of the terminals is st - the Ruby terminal is a bit wobbly in a few respects still, though I use it more and more. So there are a few non-Ruby bits left. So far.

All of this is messy and buggy and may have dependencies on my environment that haven’t been fixed yet, but I thought it’d be fun to show how much you can run on Ruby (I rely on most of these day to day)

The font renderer (used for the desktop manager, menu and the Ruby terminal, the lower left window is st using FreeType; I should’ve excised that from the screenshot :-) ) https://github.com/vidarh/skrift

The X11 bindings (no xlib; pure Ruby) https://github.com/vidarh/ruby-x11

X bindings for the font renderer: https://github.com/vidarh/skrift-x11

This is not what the terminal code looks like any more; that version used a C-extension, but that’s the repo the current version will eventually get pushed to: https://github.com/vidarh/rubyterm

The menu is not on Github yet, but it’s fed menu items from a somewhat updated version of this gist - a new version will be up at some point: https://gist.github.com/vidarh/323204137de5293bfe216ec751646525

An out-of-date-and-probably-won’t-run-on-your-system version of my text editor (not least it depends on helper scripts I’ve not yet untangled from my personal setup). The repo will soon be updated: https://github.com/vidarh/re