Commit graph

67 commits

Author SHA1 Message Date
Harrison DiAmbrosio
12fa725505 properly load all plugins to lua package path 2026-03-03 00:09:40 -05:00
87259f96cb
don't require the color and the width in mez.view.set_border 2026-03-01 22:38:25 -05:00
6be66b6a71
reformatted with zig fmt 2026-03-01 22:23:31 -05:00
e6a45f91b6
allow borders to be configured using lua 2026-03-01 21:37:11 -05:00
Harrison DiAmbrosio
5421f91f41 comments 2026-02-24 16:24:24 -05:00
f639a2f94e
keyboard repeat for compositor keybinds 2026-02-05 17:21:09 -05:00
Harrison DiAmbrosio
b37519369d got all window dragging, passthrough for mousemaps is still improper 2026-01-17 18:20:55 -05:00
Harrison DiAmbrosio
22e3553580 set x cursor type in lua 2026-01-07 21:43:49 -05:00
Harrison DiAmbrosio
9d8463255c basic add and del mousemaps work, drag is yet to be implemented 2026-01-05 15:49:29 -05:00
Harrison DiAmbrosio
64dccb248d basic mousemap stuff, probably needs to be changed 2026-01-04 22:26:55 -05:00
1215b8e5de
some changes to views...
- properly set wm capabilities
 - ensure the the client knows about our ssds before the initial commit
 - actually hook up the ack_configure event

This commit also comes with a regression. When trying to close a
non-existent view mez crashes.
2025-12-22 20:18:51 -05:00
e4fa0c4521
add two new lua api functions to interact with repeat info 2025-12-20 19:33:18 -05:00
9173cab6b9
a few changes here...
- foot no longer resizes by col,row because we've set every client to
  tiling
- stop using a seperate enum for tagging in SceneNodeData
- use enabling instead of positioning views out of the visible area
2025-12-18 22:05:31 -05:00
8e7423339c
lua api to interact with remote clients closes #10 2025-12-16 15:34:39 -05:00
Harrison DiAmbrosio
d4a0abe762 Merge branch 'bouncing' into dev 2025-12-15 23:15:49 -05:00
Harrison DiAmbrosio
a5f5bba78e fullscreen mostly implemented 2025-12-15 23:14:33 -05:00
Harrison DiAmbrosio
a90c106b8c focusing of surfaces or more streamlined 2025-12-15 20:00:49 -05:00
Harrison DiAmbrosio
4b3e1bbd5d ts don't work 2025-12-15 08:56:13 -05:00
8d980ad032
hooks can now be deleted 2025-12-15 00:37:22 -05:00
Harrison DiAmbrosio
49e0875a85 fullscreen 2025-12-14 20:35:07 -05:00
Harrison DiAmbrosio
44f694f916 layer shells do not appear 2025-12-14 10:25:02 -05:00
da4629a871
switch to luajit 2025-12-13 22:00:53 -05:00
7537778e23
add more safety in the lua api 2025-12-13 09:03:24 -05:00
bfdc8b8c9d
more safety in lua stuff 2025-12-13 08:53:50 -05:00
54c1a976c8
add a getter for a given views size and add some safety when setting the size 2025-12-13 08:43:22 -05:00
ced6189a64
add command line args 2025-12-12 12:46:39 -05:00
1e973eff94
fix lua oom errors 2025-12-10 22:42:54 -05:00
9553e3831f
fix internal struct name of Input.zig 2025-12-10 22:25:00 -05:00
ec8b86cbb7
clean up lua stuff a bit and add mez.inspect 2025-12-10 21:03:03 -05:00
1f2e333846
Merge branch 'mez_remote_lua' into dev 2025-12-10 20:21:10 -05:00
Harrison DiAmbrosio
7265fecfaf Merge branch 'layer_shell' into dev
merge
2025-12-05 21:12:08 -05:00
7cd6415a75
fix the docs on the output.get_name() lua function 2025-12-05 21:09:10 -05:00
63109e07da
setting the focused view shouldn't crash the compositor 2025-12-05 20:39:33 -05:00
Harrison DiAmbrosio
9186aeecd3 viewById works again, layer still ontop of other things 2025-12-04 23:50:39 -05:00
028485d68f
more lua docs for zlua functions 2025-11-30 23:49:39 -05:00
605c4c4a37
don't reload the runtime config and personal config on remote lua connect 2025-11-30 23:02:25 -05:00
Harrison DiAmbrosio
02b48c9952 im j trynna checkout, hope this code isn't broken 2025-11-30 22:24:51 -05:00
Harrison DiAmbrosio
acb95648e6 added view unfocusing 2025-11-29 22:07:25 -05:00
Harrison DiAmbrosio
689b48acd7 tags are like kinda done but not really, still need to switch focus 2025-11-29 21:59:14 -05:00
Harrison DiAmbrosio
a764be6af6 started to standardize and comment other apis 2025-11-27 00:10:25 -05:00
Harrison DiAmbrosio
3a0a29b55d refactored view and output to use the lua aux lib 2025-11-26 23:48:40 -05:00
Harrison DiAmbrosio
9fe54377df changed details to individual values 2025-11-26 18:08:23 -05:00
Harrison DiAmbrosio
d34db37589 basic data retrieval output api and some more view api 2025-11-25 23:31:23 -05:00
Harrison DiAmbrosio
d4ab71fb35 alt tab and odd -c no focus 2025-11-25 17:30:13 -05:00
1729e10e1d
fix duplicate imports 2025-11-25 16:58:40 -05:00
3f946d4f5c
Merge branch 'hook-w-arbitrary-args' into dev 2025-11-25 16:51:22 -05:00
91578d583a
rename mez.hook.add_hook -> mez.hook.add 2025-11-25 16:50:02 -05:00
d255f63ac7
generate if branching for modifier keys at comptime 2025-11-25 16:49:37 -05:00
Harrison DiAmbrosio
47bcce621d
lua position, size, focus and z-index (not really) 2025-11-25 16:49:31 -05:00
Harrison DiAmbrosio
b3b83fd287 w merge by me <3 2025-11-25 16:02:25 -05:00