Skip to content

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

License

Notifications You must be signed in to change notification settings

terhechte/swift-x11-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages