Go to file
Daniel Barlow c980f7fe20 initial support for touch events
Calls lua handlers, then passes the event to the appropriate client

Doesn't do pointer emulation (unlike sway) because in the
GNOME/Gtk worldview that's done client-side, so my assumption is
anything else that wants to co-exist with GNOME also has to
do it client-side

Still to do:

- verify whether return value of the lua handler will affect whether
event passed to child

- clean up the hacky int we use to track whether to set touch
seat capability
2022-07-12 23:16:44 +00:00
blinkenlicht merge blinkenlicht, add modeline 2022-04-26 22:13:37 +01:00
crier add crier, bodge relative pathnames 2022-04-27 10:07:33 +01:00
just add Just Browsing 2022-04-27 13:26:54 +01:00
kiwmi initial support for touch events 2022-07-12 23:16:44 +00:00
saturn add dependencies for saturn 2022-04-26 23:01:30 +01:00
LICENSE Create LICENSE 2022-04-27 13:33:17 +01:00
README.md we don't need a Makefile any more 2022-07-01 22:39:59 +01:00
build.nix add kiwmi as git subtree and derivation to build it 2022-04-26 15:52:14 +01:00
carousel.png add some very professional icons 2022-05-08 22:38:44 +01:00
close-window.png add some very professional icons 2022-05-08 22:38:44 +01:00
default.nix kiwmi debug build 2022-05-18 10:33:37 +01:00
fennelrun.lua add crier, bodge relative pathnames 2022-04-27 10:07:33 +01:00
init.lua add Fennel support 2022-04-26 21:14:46 +01:00
kiwmi.nix kiwmi debug build 2022-05-18 10:33:37 +01:00
launcher.png add some very professional icons 2022-05-08 22:38:44 +01:00
lua-dbus-proxy.nix add dependencies for saturn 2022-04-26 23:01:30 +01:00
matrix.fnl add some matrix functions 2022-07-03 23:08:33 +01:00
modeline.css merge blinkenlicht, add modeline 2022-04-26 22:13:37 +01:00
modeline.fnl resize and show view on creation 2022-04-26 22:14:15 +01:00
module.nix nixos module to start kiwmi at boot 2022-07-03 23:08:33 +01:00
pinephone.nix some generally (I hope) useful config for the Pinephone 2022-07-03 23:08:33 +01:00
rc.fnl choose view by clicking it in overview 2022-07-07 12:17:46 +01:00
refresh-bootfs.nix some generally (I hope) useful config for the Pinephone 2022-07-03 23:08:33 +01:00
run.sh nixos module to start kiwmi at boot 2022-07-03 23:08:33 +01:00
shell.nix nixos module to start kiwmi at boot 2022-07-03 23:08:33 +01:00
socket-repl.fnl extract function 2022-07-03 11:09:02 +01:00
texture.fnl extract texture-from-file into module 2022-07-03 23:08:33 +01:00

README.md

eufon

euphony: noun Harmonious arrangement of sounds in composition; a smooth and agreeable combination of articulate elements in any piece of writing.

A mostly Fennel-based graphical environment tailored for the Pinephone (other Linux-based mobile devices exist). The principles we aspire to are

  • "habitable software" - build the system in such a way that a technically competent user may change it to serve their needs, potentially even in ways that weren't anticipated in the original design. Emacs has this quality.

  • optimised for touchscreens. My phone has no hardware keyboard and few hardware buttons, let's play to its strengths instead of compensating for its weaknesses

As of 2022 these principles are more aspirational than actual.

Running it

 $ nix-shell --run "kiwmi -c init.lua"

shell.nix sets LUA_PATH and LUA_CPATH settings appropriately - if you want to write a real derivation (I'll get to it eventually) you'll need to sort that out yourself. Nix generates a wrapper script for the Lua interpreter itself, but it doesn't do the same for kiwmi.

Connecting to the repl

If you are using the example rc.fnl, it opens a Unix socket that you can connect to and interact with a Fennel REPL. I use socat for this purpose:

$ socat - unix-connect:${XDG_RUNTIME_DIR}/kiwmi-repl.wayland-1.socket

TODO

Packages

  • notifications (crier)
  • web browser (just)
  • keyboard
  • wifi network chooser
  • settings: toggle network interfaces, change volume & screen brightness

Other

  • better window management

    • gestures to switch view
    • gesture to launch terminal?
    • some way to kill an app
    • kiwmi may or may not have touch support
  • some way to add launcher shortcuts for Fennel functions

  • hook up system to session bus, to handle incoming calls

  • kiwmi: support reloading config or otherwise making live changes

  • why are overlay windows overlapping regular view?

  • screen lock