x11-example

master

A simple example that shows how to write a X11 app on Linux in Swift using the new package manager
terhechte/swift-x11-example

x11-example

A simple example that shows how to write a X11 app on Linux in Swift

Requirements

  • Swift needs to be installed on your Linux system.

Running

To use this, simply check out the repo (preferrably on Linux) and do the following in the folder:

swift build

This will clone the X11 package and build the binary

Run it via:

.build/debug/x11-example

This will execute the binary, and a small X11 Window should appear on your desktop:

Ubuntu Screenshot

Description

  • Swift Tools 4.0.0
View More Packages from this Author

Dependencies

Last updated: Sun Mar 17 2024 14:19:41 GMT-0900 (Hawaii-Aleutian Daylight Time)