Commit graph

788 commits

Author SHA1 Message Date
Ottatop
b2dd05fd1e Dedup layout logic 2024-03-14 21:06:09 -05:00
Ottatop
94cd2e53aa Add corner layout 2024-03-14 20:44:08 -05:00
Ottatop
e86f242330 Impl Layout.request_layout 2024-03-14 19:42:08 -05:00
Ottatop
e1f2706428 Add layout cycling, dwindle, remove old layout stuff 2024-03-14 19:21:51 -05:00
Ottatop
b3ba9f9393 Add new master stack layout
Currently only this layout for the Lua client works, and there's no cycling layouts yet
2024-03-14 17:31:32 -05:00
Ottatop
13ea0a683b Change TagId back to struct 2024-03-12 19:18:27 -05:00
Ottatop
9f187aba65 Extract window api impls 2024-03-12 19:09:54 -05:00
Ottatop
e3830e9c26 Fix compile errors 2024-03-12 18:40:12 -05:00
Ottatop
77a3ae85a5 Add layout proto defs 2024-03-12 18:20:13 -05:00
Ottatop
e6f6a55d18
Update README
Fix README ToC links
2024-03-12 18:15:42 -05:00
Ottatop
9cdb662bbb Don't handle resizes when not resizing 2024-03-11 21:38:24 -05:00
Ottatop
4b509b5bc1 Recurse through lua window rule cond to extract id 2024-03-11 19:57:06 -05:00
Ottatop
eea10c60a3
Merge pull request #174 from pinnacle-comp/integration_testing
Add some Lua API integration/unit tests

Ok they're more like unit tests tbh
2024-03-11 19:45:09 -05:00
Ottatop
140b0200aa Add some tests
First ever squash no clue what I'm doing
2024-03-11 19:39:41 -05:00
Ottatop
e3504038ee Update CI for API testing
I like the part where he said "it's squashin' time" and squashed all
over the git history

Add xwayland to CI

Add libegl to CI

Add debug for test

Don't run regular test when debugging

Remove a dash

Ya know I'd love to get act working so I don't have to push these every time I want to work on workflows but it always hangs when installing apt dependencies

Add foot to CI

Truly a genius at work here, I know
2024-03-11 19:38:36 -05:00
Ottatop
6d83e34868 Setup Lua API integration tests 2024-03-06 18:50:45 -06:00
Ottatop
f4a5328c2c Move all mods into lib
For future testing
2024-03-05 23:25:04 -06:00
Ottatop
86eb5f90db Make icon transparent 2024-03-05 23:17:51 -06:00
Ottatop
ecd08f6023 Add minor winit improvements 2024-03-05 23:14:33 -06:00
Ottatop
8bbb36f512 Rename and move stuff around 2024-03-04 20:38:20 -06:00
Ottatop
d02c138414 Fix focused_window not returning None if no window is focused 2024-03-04 19:34:00 -06:00
Ottatop
a83d8275fa Bump dependencies 2024-03-04 19:22:02 -06:00
Ottatop
9b5b242aea Fix pointer not moving on udev
oops
2024-03-04 19:17:21 -06:00
Ottatop
c96b01f733 Clean up stuff 2024-03-04 19:16:10 -06:00
Ottatop
2a25ab2319 Remove state.pointer_location 2024-03-04 16:43:54 -06:00
Ottatop
d9116da20d Unify event loop running 2024-03-04 15:54:30 -06:00
Ottatop
96d5c9a70f
Merge pull request #172 from pinnacle-comp/cli
Make a better CLI
2024-03-04 15:25:02 -06:00
Ottatop
f9ca886ed9 Change minor things 2024-03-04 14:44:33 -06:00
Ottatop
2a70ba4d69 Fix table of contents 2024-03-03 03:50:04 -06:00
Ottatop
a6820ce00e Add default dir for config gen, fix test 2024-03-03 03:38:45 -06:00
Ottatop
bfacbf6499 Update README 2024-03-03 03:21:54 -06:00
Ottatop
24696595af Finish better CLI 2024-03-03 02:25:19 -06:00
Ottatop
63c0ef1e85 Start on a better CLI 2024-03-02 01:23:31 -06:00
Ottatop
8d2c5d4dcb
Merge pull request #168 from pinnacle-comp/update_smithay_but_not_in_a_single_900_line_commit
Update Smithay but not in a single 900 line commit
2024-03-01 00:28:58 -06:00
Ottatop
8c429f4077 Split FocusTarget into keyboard and pointer variants 2024-03-01 00:07:01 -06:00
Ottatop
48cd3d0df9 Remove space_elements!
so uh when you impl SpaceElement you gotta actually remember to impl the geometry fn, which is why Alacritty was 44 pixels off in the other attempt at this
2024-02-29 20:10:23 -06:00
Ottatop
16fff3f7e3 Update Smithay 2024-02-29 16:28:25 -06:00
Ottatop
49908df38b Update MSRV 2024-02-24 15:45:26 -06:00
Ottatop
ba90e44711
Merge pull request #166 from pinnacle-comp/focus_rework
Rework focus and add `Window.set_focused`

Also omg I need tests, where are the tests
2024-02-24 15:31:06 -06:00
Ottatop
2e5853eabe Return from batch if requests is empty
Fixes a hang if you tried to close a window with the keybind with no windows open
2024-02-24 15:23:42 -06:00
Ottatop
e734a716c0 Set window focused only if it's on the focused output 2024-02-24 14:58:58 -06:00
Ottatop
1f909ac81b Remove unused import
QUICK BEFORE THE CI FAILS
2024-02-24 14:42:43 -06:00
Ottatop
14a36b9738 Rework focus and add Window.set_focused
This has to be one of the most unreviewable commits I think I've created yet
2024-02-24 14:41:52 -06:00
Ottatop
67ee5021bd Port Lua client fix 2024-02-23 18:10:28 -06:00
Ottatop
556294d4ef
Merge pull request #164 from pinnacle-comp/signal_minimal
Scaffold a signal system
2024-02-23 18:02:13 -06:00
Ottatop
b7c60a9e79 Fixup Lua docs again 2024-02-23 17:54:53 -06:00
Ottatop
3959a87019 Fixup Lua docs 2024-02-23 17:49:09 -06:00
Ottatop
d1e7c92774 Add Lua docs 2024-02-23 17:36:55 -06:00
Ottatop
1abc17b5b4 Add docs 2024-02-23 17:15:55 -06:00
Ottatop
2427ba620e Yield after running signal callbacks 2024-02-23 16:51:56 -06:00