Commit graph

50 commits

Author SHA1 Message Date
0bb8c83300
resize windows when the monitor state changes
this may need more work later but for now this makes using mez in
another compositor smoother
2026-02-02 15:46:49 -05:00
3c65fd8339
add the minimum size back when resizing a view 2026-01-28 12:46:49 -05:00
Harrison DiAmbrosio
6875095560 removing debug logs 2026-01-19 10:47:33 -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
42204bc4d2 started letting/denying passthrough of mouse events 2026-01-07 01:18:39 -05:00
Harrison DiAmbrosio
973ea9d509 drag working, good callback arguments for moving and resizing views 2026-01-06 22:21:30 -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
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
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
Harrison DiAmbrosio
49e0875a85 fullscreen 2025-12-14 20:35:07 -05:00
Harrison DiAmbrosio
49a6ced28e tiling is working again, and surface at is mostly in 2025-12-13 23:38:29 -05:00
ced6189a64
add command line args 2025-12-12 12:46:39 -05:00
ec8b86cbb7
clean up lua stuff a bit and add mez.inspect 2025-12-10 21:03:03 -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
e5a36b4d0b starting at keyboard exclusivity 2025-12-07 11:26:55 -05:00
Harrison DiAmbrosio
4c88d42929 layers mostly implemented 2025-12-05 21:10:34 -05:00
Harrison DiAmbrosio
9186aeecd3 viewById works again, layer still ontop of other things 2025-12-04 23:50:39 -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
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
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
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
Harrison DiAmbrosio
47bcce621d
lua position, size, focus and z-index (not really) 2025-11-25 16:49:31 -05:00
2c130539f6
intial setup for passing arbitrary data to hooks 2025-11-25 16:48:49 -05:00
Harrison DiAmbrosio
b3b83fd287 w merge by me <3 2025-11-25 16:02:25 -05:00
Harrison DiAmbrosio
1eda05b7b3 lua position, size, focus and z-index (not really) 2025-11-25 16:01:38 -05:00
f9b9d41402
rename mez.hook.add_hook -> mez.hook.add 2025-11-23 21:05:29 -05:00
eeb6bf2278
rename WinMap{Pre,Post} to ViewMap{Pre,Post} cause View is better 2025-11-21 23:34:08 -05:00
b3322eeb90
inital support for hooks...
Currently the following hooks are available:
 - WinMapPre
 - WinMapPost
2025-11-21 23:30:21 -05:00
591aa73bed we can now switch vts 2025-10-26 12:53:44 -04:00
Harrison DiAmbrosio
976900ffa6 removed all windows decorations properly, added window closing and compositor exiting as well as view focusing 2025-10-25 18:50:06 -04:00
f636efdfe9
fix merge breaking stuff 2025-10-24 23:53:56 -04:00
Harrison DiAmbrosio
3cf05f2d9a merged 2025-10-24 23:45:11 -04:00
Harrison DiAmbrosio
2e2cfeebae added process spawning 2025-10-24 23:43:11 -04:00
cc0862adae
update keymap func 2025-10-24 22:48:22 -04:00
Harrison DiAmbrosio
36b89b04d0 very basic window movement bound to alt-left 2025-10-24 17:24:41 -04:00
faa44dc4af
implement keymaps! they still have quite a bit of work to be any good...
but now our key do stuff when pressed (at the compositor level)
2025-10-23 23:24:49 -04:00
8e4f56d147
add a basic filesystem library and use it for path concat 2025-10-22 22:40:19 -04:00
9e55195f8d
we're now loading a config file! 2025-10-22 14:23:30 -04:00
86a01bbcf2
load a runtime file where the prefix is determined at comptime 2025-10-20 22:53:17 -04:00