Commit Graph

242 Commits (main)

Author SHA1 Message Date
Daniel Barlow c485e59c3a explain how to start eufon on ssh connection 2022-08-14 14:45:41 +00:00
Daniel Barlow a19eb2c8de Merge branch 'main' of gti.telent.net:dan/eufon 2022-08-14 14:07:49 +00:00
Daniel Barlow 771d80c70d stuff 2022-08-14 14:07:29 +00:00
Daniel Barlow 32e78a24db fudging to make it work as buildable derivation
a bit too much path shenanigans going on here to be entirely happy
2022-08-14 15:05:05 +01:00
Daniel Barlow 4c4bd9e997 make an installable derivation
untested as yet
2022-08-14 10:48:18 +00:00
Daniel Barlow cba4549304 update README to describe configuration.nix 2022-08-02 23:24:05 +00:00
Daniel Barlow 7dac09a17a emacs magic to use eufonctl as inferior lisp 2022-07-12 23:16:45 +00:00
Daniel Barlow 2975908e81 kiwmi verbose log and sensible syslog identifier 2022-07-12 23:16:45 +00:00
Daniel Barlow 5a5e1de965 add eufonctl script 2022-07-12 23:16:45 +00:00
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
Daniel Barlow 2c51676436 choose view by clicking it in overview 2022-07-07 12:17:46 +01:00
Daniel Barlow 36496ad126 pointer focus needs to account for view transform matrix 2022-07-07 11:58:40 +01:00
Daniel Barlow 41b72f95c1 hook up overview button, first part
- co-ordinates hardcoded, need to adjust for screen size
- confuses the pointer x/y mapping for underlying views
- can't click on windows
- can't spin the carousel
2022-07-03 23:36:17 +01:00
Daniel Barlow 9110280373 rename local 2022-07-03 23:17:39 +01:00
Daniel Barlow b34a43897a remove many hard-coded co-ordinates 2022-07-03 23:08:33 +01:00
Daniel Barlow bd18a20251 some generally (I hope) useful config for the Pinephone 2022-07-03 23:08:33 +01:00
Daniel Barlow 27b28e997b nixos module to start kiwmi at boot
this is here for my convenience, I make no claims of practicality
or beauty (it uses nix-shell and hardcodes pathnames)
2022-07-03 23:08:33 +01:00
Daniel Barlow ee2730f757 only resize output when using wayland backend
surprisingly enough, real hardware complains
2022-07-03 23:08:33 +01:00
Daniel Barlow 8683fce4aa use output width/height instead of hardcoding 2022-07-03 23:08:33 +01:00
Daniel Barlow 1875b87592 use output width/height instead of hardcoding 2022-07-03 23:08:33 +01:00
Daniel Barlow 69753c2345 add some matrix functions 2022-07-03 23:08:33 +01:00
Daniel Barlow 07fd321f94 extract texture-from-file into module 2022-07-03 23:08:33 +01:00
Daniel Barlow 67e03c6736 extract function 2022-07-03 11:09:02 +01:00
Daniel Barlow 60d4466857 terminate repl & cleanup when eof 2022-07-02 23:17:00 +01:00
Daniel Barlow 6ed0e63a8f we don't need a Makefile any more 2022-07-01 22:39:59 +01:00
Daniel Barlow 798dd9ed5c fennel repl on a unix socket 2022-07-01 22:28:41 +01:00
Daniel Barlow 03b32ffa7e make event_loop_add_fd available to Lua on kiwmi singleton
CAUTION - the implementation is unfinished, as it doesn't
clean up when the fd is closed
2022-07-01 22:17:41 +01:00
Daniel Barlow 49229c75f3 add per-view transformation matrices
Note that this breaks output layout. Would prefer to deal with that
stuff ("monitor 1 is left of monitor 2") in Lua for more flexibility
2022-05-21 20:30:54 +01:00
Daniel Barlow 3628e93d18 kiwmi debug build 2022-05-18 10:33:37 +01:00
Daniel Barlow b346323d0b detect mouse clicks in bottom bar (hacky) 2022-05-08 22:48:44 +01:00
Daniel Barlow 7ea1e9a0e7 add some very professional icons 2022-05-08 22:38:44 +01:00
Daniel Barlow 7c061624c7 output render callback accepts { : output : renderer } 2022-05-05 23:38:39 +01:00
Daniel Barlow b804bb1c1f add "render" callback on output 2022-05-05 23:23:49 +01:00
Daniel Barlow f626324825 new lua bindings for textures
- output:renderer
- renderer:texture_from_pixels
- renderer:draw_texture

We need to be able to access the renderer outside of the post_render
hook (hence output:renderer) because we can't call
wlr_texture_from_pixels while rendering

texture_from_pixels accepts a string as the data argument not a
userdata, because that matches what we getk from GdkPixbuf.Pixbuf
new_from_file when using gobject-introspection.
2022-04-28 20:27:09 +01:00
Daniel Barlow 12d0e93a3e
Merge pull request #1 from telent/add-license-1
Create LICENSE
2022-04-27 13:33:33 +01:00
Daniel Barlow 303f50a734
Create LICENSE 2022-04-27 13:33:17 +01:00
Daniel Barlow 74dea6bc57 more to do 2022-04-27 13:27:06 +01:00
Daniel Barlow 07ccbe1131 add Just Browsing 2022-04-27 13:26:54 +01:00
Daniel Barlow 119f9f2427 just: enable tls 2022-04-27 10:14:10 +01:00
Daniel Barlow 0fc08474e7 add an icon 2022-04-27 10:14:10 +01:00
Daniel Barlow 417e443ed3 create and document build.nix 2022-04-27 10:14:10 +01:00
Daniel Barlow 4ee558f906 Merge pull request #4 from telent/simplify-and-add-shortness
Simplify and add shortness
2022-04-27 10:14:10 +01:00
Daniel Barlow 084c6440cd update TODO 2022-04-27 10:14:10 +01:00
Daniel Barlow aa2c23a48e rudimentary support for downloads 2022-04-27 10:14:10 +01:00
Daniel Barlow da435b0667 restore adblock (rather messy) 2022-04-27 10:14:10 +01:00
Daniel Barlow b7956d70bb hook up the "new tab" button 2022-04-27 10:14:10 +01:00
Daniel Barlow ad69c88486 update TODO 2022-04-27 10:14:10 +01:00
Daniel Barlow 75811b6d6c remove debug output 2022-04-27 10:14:10 +01:00
Daniel Barlow 400124570d add completions to text entry 2022-04-27 10:14:10 +01:00
Daniel Barlow a16d1a46e3 handle ESC in text entry to revert changes to current url 2022-04-27 10:14:10 +01:00