Commit graph

640 commits

Author SHA1 Message Date
Ottatop
a8239f171e Add docs to new Lua API
1000% sure I'm gonna have to rewrite my LDoc generation tool to actually work
2024-01-14 18:01:41 -06:00
Ottatop
7fe56ed949 Gracefully shutdown after ctrl-c 2024-01-14 13:34:00 -06:00
Ottatop
3ff1f4e737 Filter threads from process count
Found like 85 sockets in /run/user/1000 that weren't getting cleaned up
2024-01-14 12:01:11 -06:00
Ottatop
1cdc6fe42d No clue
I'm sick and my brain is fried rn no clue what's in this commit
2024-01-13 23:15:14 -06:00
Ottatop
efa846d40b Remove re-exports 2024-01-13 15:42:15 -06:00
Ottatop
0c4fc3ad1d Start on new example config
TODO: write the docs, fix input keysym reading, make a luarocks module
2024-01-12 21:48:07 -06:00
Ottatop
f10bd933ca Write rest of new Lua API 2024-01-12 20:15:58 -06:00
Ottatop
97f9cf82d6 Write half of new Lua API 2024-01-12 17:20:34 -06:00
Ottatop
3b88b3ff11 Add working Lua gRPC client 2024-01-11 21:58:35 -06:00
Ottatop
b1109b57a7 Fix compile errors
Something something "build before you push" blah blah
2024-01-11 13:46:58 -06:00
Ottatop
3236f455b9 Impl remaining services 2024-01-11 13:40:17 -06:00
Ottatop
31d3ffc10d Impl services for input, tag, and process 2024-01-10 20:21:59 -06:00
Ottatop
46ba7d9ad0 Extract proto into crate, start impl'ing services 2024-01-09 19:25:51 -06:00
Ottatop
3d05338c82 Add tonic-reflection 2024-01-08 20:11:02 -06:00
Ottatop
e704766845 Remember to remove the old tonic_build compile
Ya dingus
2024-01-08 18:59:17 -06:00
Ottatop
48da903a0f Create proto files 2024-01-08 18:55:59 -06:00
Ottatop
b08b979fe9 Migrate all async to tokio 2024-01-08 13:43:38 -06:00
Ottatop
35a3f77ad7 Install protoc in workflow 2024-01-08 13:04:36 -06:00
Ottatop
23f80be22a Begin moving configuration to gRPC 2024-01-08 12:51:04 -06:00
Ottatop
186d435923 Update dependencies 2024-01-08 12:42:29 -06:00
Ottatop
ddb4b21720
Merge pull request #122 from pinnacle-comp/spawn_once
Move spawn_once logic into compositor
2023-12-25 21:07:27 -06:00
Ottatop
bfcfe99ccb Move spawn_once logic into compositor, add spawn_once to Rust API, bump tracing 2023-12-25 21:02:50 -06:00
Ottatop
1a085fab3f
Merge pull request #120 from pinnacle-comp/fix_outputs_udev
Fix output display on udev
2023-12-25 19:56:26 -06:00
Ottatop
e4df0f9488 Remove commented out code 2023-12-25 19:52:17 -06:00
Ottatop
f9e81d4c1d Use space_elements to remove boilerplate
Unsure if this helped or not because I had to add `_ => unreachable!()` everywhere I matched on `WindowElement`
2023-12-23 22:17:35 -06:00
Ottatop
31172c5a4e Fix multi-monitor fullscreen rendering and pointer input 2023-12-23 22:03:20 -06:00
Ottatop
f8d1e59c06 Correctly offset render elements 2023-12-21 21:15:21 -06:00
Ottatop
7106e2dd09
Merge pull request #119 from pinnacle-comp/fix_layout_udev
Schedule render on `SetLayout`
2023-12-21 19:13:09 -06:00
Ottatop
5ac7157f61 Scedule render on SetLayout 2023-12-21 19:00:21 -06:00
Ottatop
a69ab4eb94
Merge pull request #109 from pinnacle-comp/blocker_impl
Use a `Blocker` implementation instead of halting rendering

Introduces flickering when closing windows
2023-12-21 18:52:56 -06:00
Ottatop
e8702f9c0c Remove unused import 2023-12-21 18:50:28 -06:00
Ottatop
eb5d76f79b Wrap version in quotes
Aight either I'm going insane or this suddenly isn't working because www.lua.org isn't a valid website
2023-12-20 20:00:13 -06:00
Ottatop
ef4b1d3d51 Update workflow action
Evidently I was using a version from 2020 for some reason
2023-12-20 19:54:34 -06:00
Ottatop
24034e7051 Make blocker work on udev
Also apparently stylua updated or something cuz I formatted the example_config and it's different now. Also need to fix the slight flickering when closing windows
2023-12-20 19:48:49 -06:00
Ottatop
b1a97e81ed Fix clippy stuff 2023-12-19 15:32:33 -06:00
Ottatop
4dbf1a313b Fix compiler errors 2023-12-19 12:05:36 -06:00
Ottatop
59c33075cd Use a Blocker implementation 2023-12-19 12:05:36 -06:00
Ottatop
24c8356009
Merge pull request #115 from vnepogodin/patch-1
update dependencies by @vnepogodin
2023-12-19 12:04:13 -06:00
Vladislav Nepogodin
96930eb7e5
apply rustfmt 2023-12-19 15:09:36 +04:00
Vladislav Nepogodin
3fb0a744a2
update dependencies and adjust for smithay changes 2023-12-19 15:08:52 +04:00
Ottatop
85a0a8d677
Update README
Change package name
2023-12-18 13:42:26 -06:00
Ottatop
1774f2f268
Merge pull request #110 from pinnacle-comp/restructure
Attempt a codebase restructure, big emphasis on the "attempt" part, also not tested at all
2023-12-16 21:25:00 -06:00
Ottatop
e0f7e85b83 Clean up stuff and add more docs 2023-12-16 21:20:29 -06:00
Ottatop
3427fe5d7c Do other misc stuff
These are some horrible commit messages
2023-12-14 22:00:04 -06:00
Ottatop
93f601ca5c Fix prev commit not removing xwayland windows properly 2023-12-14 16:43:04 -06:00
Ottatop
b2ebda85f0 Simplify render elements
FIXME: evidently I no longer remove windows correctly from the main window vec because layouting takes into account a nonexistent window
2023-12-14 16:38:07 -06:00
Ottatop
76ef7580c2 Tidy up stuff 2023-12-14 15:23:37 -06:00
Ottatop
0acffbf79d Extract tagging new windows 2023-12-14 14:42:55 -06:00
Ottatop
79221d3c06 Extract libinput stuff 2023-12-13 20:33:16 -06:00
Ottatop
d7b783877f Merge override redirect windows into main window vec
I previously stuck all X11 override redirect windows in their own stack which is really lazy. Still need to make it so child OR windows will render above their parents, even when fullscreen.
2023-12-13 20:07:19 -06:00