Commit graph

179 commits

Author SHA1 Message Date
1f2e333846
Merge branch 'mez_remote_lua' into dev 2025-12-10 20:21:10 -05:00
64713dc0c3
fix repl evaluations 2025-12-10 20:05:52 -05:00
60a8466fe8
copy with sentinel instead of manually adding it 2025-12-10 14:09:44 -05:00
41865d11ab
send evaluation of statements to remote lua clients 2025-12-10 13:44:38 -05:00
6fcb13741a
rework how remote lua clients are stored in the server 2025-12-10 13:43:12 -05:00
Harrison DiAmbrosio
87368dbc66 basic layer keyboard 2025-12-07 19:03:37 -05:00
814daf0f2e
Create popups when a view recieves an event...
This is currently incomplete and needs work to make sure that popups
stay inside their parents current output.

fixing popups, wip
2025-12-07 14:42:34 -05:00
Harrison DiAmbrosio
3203839a58 alt-p for wmenu and alt-b for background (works on my machine_ 2025-12-07 11:44:59 -05:00
Harrison DiAmbrosio
1a5051236e Merge branch 'dev' of https://github.com/MezzalunaWM/Mezzaluna into dev
merge
2025-12-07 11:27:06 -05:00
Harrison DiAmbrosio
e5a36b4d0b starting at keyboard exclusivity 2025-12-07 11:26:55 -05:00
a45d534839
arrange the layers in the correct order 2025-12-06 23:10:54 -05:00
Harrison DiAmbrosio
a8e77be43b layer shell backgrounds now render behind views 2025-12-05 21:29:28 -05:00
Harrison DiAmbrosio
7265fecfaf Merge branch 'layer_shell' into dev
merge
2025-12-05 21:12:08 -05:00
Harrison DiAmbrosio
4c88d42929 layers mostly implemented 2025-12-05 21:10:34 -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
98dbdc1570
add another marker 2025-12-05 20:10:35 -05:00
9d5240aaa5
try to not crash on keymap callbacks 2025-12-05 20:09:41 -05:00
Harrison DiAmbrosio
9186aeecd3 viewById works again, layer still ontop of other things 2025-12-04 23:50:39 -05:00
94295d3d69
up the xdg_wm_base version to a more modern version 2025-11-30 23:55:21 -05:00
028485d68f
more lua docs for zlua functions 2025-11-30 23:49:39 -05:00
Harrison DiAmbrosio
3ccf47e0be I should really put this layer shell stuff on another branch 2025-11-30 23:41:55 -05:00
1e31875670
redirect stdout/stderr in remote lua states 2025-11-30 23:34:26 -05:00
605c4c4a37
don't reload the runtime config and personal config on remote lua connect 2025-11-30 23:02:25 -05:00
7ed5c4840d
actually setup the remote_lua protocol on the server 2025-11-30 22:43:45 -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
8dbaae8d03 going to try to add tags 2025-11-28 11:25:31 -05:00
ffbe496599
implement the zmez_remote_lua_v1 protocol 2025-11-27 20:14:06 -05:00
Harrison DiAmbrosio
53b9ba2f88 dwm binds 2025-11-27 11:54:17 -05:00
Harrison DiAmbrosio
c8b4606f53 what is this stupid test i added, im going to bed 2025-11-27 00:23:00 -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
ffec7db766
add protocol file 2025-11-25 23:52:31 -05:00
Harrison DiAmbrosio
bc7a76cdd0 Merge branch 'dev' of https://github.com/EggbertFluffle/Mezzaluna into dev
merge
2025-11-25 23:31:30 -05:00
Harrison DiAmbrosio
d34db37589 basic data retrieval output api and some more view api 2025-11-25 23:31:23 -05:00
a8f63b15ba
add license 2025-11-25 19:44:48 -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
0bb1ba2963
we can now pass arbitrary zig data to lua through hooks 2025-11-25 16:50:17 -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
08d7f1f176
default view moving shouldn't clamp to the visible area 2025-11-25 16:49:37 -05:00
96865dcfa3
remove duplicate function 2025-11-25 16:49:37 -05:00
514db29d7e
update log statement 2025-11-25 16:49:37 -05:00
e142b6027f
fix crashing when a view is resized too small
this is done by limiting to a minimum of 10x10 pixels, we may make this
configurable using lua in the future
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