Just a regular Joe.

  • 0 Posts
  • 18 Comments
Joined 1 year ago
cake
Cake day: July 7th, 2023

help-circle


  • It is possible to wrap something like python into a single file, which is extracted (using standard shell tools) into a tmpdir at runtime.

    You might also consider languages that can compile to static binaries - something like nim (python like syntax), although you could also make use of nimscript. Imagine nimscript as your own extensible interpreter.

    Similarly, golang has some extensible scripting languages like https://github.com/traefik/yaegi - go has the advantage of easy cross compiling if you need to support different machine architectures.













  • Joe@discuss.tchncs.detoLinux@lemmy.mlRectangle for Linux?
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    8 months ago

    As a primary Linux user who wrote his own X tool to do exactly this and has been missing this functionality on Mac - thank you!

    I’ll send my unpublished code your way soon. It’s just Go, relying on the WM (run command shortcuts) to call it. Move+Resize and Focus functionality.

    It won’t work on Wayland, which seems to require native compositor support - labWC is halfway there.

    edit: check your PMs