Commit graph

309 commits

Author SHA1 Message Date
Ottatop
35e7b73646 Attempt to salvage guaranteed-to-fail workflow 2024-01-14 19:35:54 -06:00
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
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
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
48da903a0f Create proto files 2024-01-08 18:55:59 -06:00
Ottatop
23f80be22a Begin moving configuration to gRPC 2024-01-08 12:51:04 -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
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
3427fe5d7c Do other misc stuff
These are some horrible commit messages
2023-12-14 22:00:04 -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
Ottatop
8d0598c678 Make TagProperties fields pub 2023-10-21 03:03:03 -05:00
Ottatop
3e36c7bea4 Remove pinnacle file 2023-10-20 20:23:55 -05:00
Ottatop
d1ee24894b Add example config docs 2023-10-20 19:37:44 -05:00
Ottatop
f1c9d19708 Fix layout cycler 2023-10-20 19:32:08 -05:00
Ottatop
1680acc5e9 Change static callback vec to local 2023-10-20 19:15:49 -05:00
Ottatop
4e36637e19 Remove setup function 2023-10-20 17:56:34 -05:00
Ottatop
0e32f52972 Transition from struct methods to module functions 2023-10-20 17:02:00 -05:00
Ottatop
788910e503 Add missing methods 2023-10-19 23:10:02 -05:00
Ottatop
f0e2282445 Add documentation 2023-10-19 22:35:12 -05:00
Ottatop
f5b626e14d Get example config mostly working 2023-10-19 21:44:33 -05:00
Ottatop
fc7132c0e4 Add libinput stuff 2023-10-19 20:51:45 -05:00
Ottatop
8fd50eff5a Add window rules 2023-10-19 20:43:35 -05:00
Ottatop
9da918bc40 Move stuff to where they should be 2023-10-19 20:19:00 -05:00
Ottatop
87574a40e3 Add remaining window methods 2023-10-19 20:00:46 -05:00
Ottatop
f54f73b105 Simplify window methods 2023-10-19 19:55:14 -05:00
Ottatop
17975cbbda Add output loc methods 2023-10-19 19:49:36 -05:00
Ottatop
cd602fee09 Add tag and some other stuff 2023-10-19 19:26:12 -05:00
Ottatop
c62d090f9f Add most of the output stuff 2023-10-19 18:18:34 -05:00
Ottatop
2c3fb2dbd7 Add input and window stuff 2023-10-19 17:43:37 -05:00
Ottatop
3e56450e29 Start on rust API 2023-10-18 23:05:07 -05:00
Ottatop
0564342a6a Update example config 2023-10-18 20:35:36 -05:00
Ottatop
8b0d7f1427 Make output API functions non-nil 2023-10-18 20:31:37 -05:00
Ottatop
474da43280 Make tag API functions non-nil 2023-10-18 20:16:26 -05:00
Ottatop
17ca00f6be Make window API functions non-nil
This does not apply to functions that return an array; you'll have to do a for loop or check for nil on index in that case.
2023-10-18 20:08:55 -05:00
Ottatop
ed5447d5b6 Rename API modules and classes internally 2023-10-18 03:44:42 -05:00
Ottatop
0e5a4f0621 Save output state on disconnect 2023-09-29 04:38:32 -05:00
Ottatop
40f90e45d9 Update example config, remove mouse button type 2023-09-28 18:56:54 -05:00
Ottatop
de6bf3ee82 Remove meta tag 2023-09-28 18:46:56 -05:00
Ottatop
d26b9b968c Add libinput to API 2023-09-28 18:46:08 -05:00
Ottatop
2a13e736e4 Add xkbconfig to API 2023-09-28 10:17:28 -05:00
Ottatop
307813b062 Fix config reloading 2023-09-21 19:48:52 -05:00
Ottatop
cce7ca8314 Fallback to default config on metaconfig parse fail 2023-09-21 18:07:56 -05:00
Ottatop
799517bfb5 Load default config on config crash 2023-09-21 17:12:16 -05:00
Ottatop
019e606584 Add some docs, make socket_dir update on reload 2023-09-20 17:55:21 -05:00
Ottatop
7f53a4b73e Update README and metaconfig comments 2023-09-11 04:05:16 -05:00
Ottatop
74afb769ca Move table because doc gen doesn't support that 2023-09-10 22:01:40 -05:00
Ottatop
1c1898f0b1 Add mousebinds to API 2023-09-10 21:54:58 -05:00
Ottatop
aaf2921363 Add env setting to API 2023-09-10 04:49:31 -05:00
Ottatop
0f42e403ae Make focus tag-specific 2023-09-09 22:47:59 -05:00
Ottatop
9d73151ca9 Update API docs 2023-09-09 20:52:52 -05:00
Ottatop
465e66067d Update keybind handling and API docs 2023-09-09 20:41:21 -05:00
Ottatop
89fc2919f3 Simplify input API 2023-09-09 19:27:05 -05:00
Ottatop
9c3df5ce88 Fix documentation 2023-09-09 04:09:28 -05:00
Ottatop
a18b9856bb Simplify layout cycling, fix wins not updating on maximize 2023-09-09 04:01:55 -05:00
Ottatop
b3cab091da Clarify documentation 2023-09-08 20:27:03 -05:00
Ottatop
b88424ea24 Fix typo 2023-09-07 21:00:07 -05:00
Ottatop
fb09f088a9 Explain placement of window.rules.add() 2023-09-07 20:59:22 -05:00
Ottatop
7d2849abac Clean up example_config 2023-09-07 20:56:43 -05:00
Ottatop
bae8f32d44 Fix documentation formatting that I missed 2023-09-07 20:55:25 -05:00
Ottatop
84326c29b8 Fix documentation formatting 2023-09-07 20:48:41 -05:00
Ottatop
fa011fe3d4 Add documentation 2023-09-07 20:38:57 -05:00
Ottatop
d76cb13a1f Simplify window rules API 2023-09-07 20:36:49 -05:00
Ottatop
5a9f15a4d4 Apply window rules to xwayland windows 2023-09-07 18:00:58 -05:00
Ottatop
178ee9464b Add output to window rule 2023-09-07 17:42:03 -05:00
Ottatop
946f732502 Add tag constructors to window rules 2023-09-05 23:18:44 -05:00
Ottatop
ec651e24b3 Add client side window rules API 2023-09-05 22:13:43 -05:00
Ottatop
2793c5f50c Remove boilerplate = true 2023-08-28 20:46:04 -05:00
Ottatop
b61f3a2fb2 Fix some formatting issues maybe 2023-08-28 20:28:17 -05:00
Ottatop
a7309eb20b Clean up stuff 2023-08-28 20:12:26 -05:00
Ottatop
c38272222a Add more documentation 2023-08-28 19:47:29 -05:00
Ottatop
c295bf5df9 Restore config.ld and ldoc.css 2023-08-26 23:08:26 -05:00
Ottatop
a9fd0f725c Remove doc dir 2023-08-26 23:05:30 -05:00
Ottatop
694134582d Attempt automatic doc gen 2023-08-26 22:26:32 -05:00
Ottatop
bfa4e2743b Work on LDoc documentation 2023-08-21 21:30:51 -05:00
Ottatop
f8d0ffed89 Fix window methods 2023-08-21 21:04:57 -05:00
Ottatop
01a110d97c Update example_config 2023-08-21 20:58:02 -05:00
Ottatop
fd09e20ced Allow new tag helpers for window API 2023-08-21 20:47:51 -05:00
Ottatop
7154a0bb95 Clean up window documentation 2023-08-21 20:37:15 -05:00
Ottatop
382a3056a0 Add helpers for getting outputs and tags 2023-08-21 20:17:27 -05:00
Ottatop
9a09040fac Add socket_dir to metaconfig 2023-08-16 10:34:50 -05:00
Ottatop
e423d1e345 Add metaconfig comments, PINNACLE_DIR env 2023-08-15 21:30:49 -05:00
Ottatop
924588005c Add metaconfig 2023-08-14 20:33:10 -05:00
Ottatop
85fd31a317 Fix fullscreen and maximized toggling floating instead
This is why you never copy paste code
2023-08-14 20:23:23 -05:00
Ottatop
3ba760ed4f Update example_config 2023-08-14 14:44:10 -05:00
Ottatop
dfa4c65929 Update api 2023-08-14 14:35:06 -05:00
Ottatop
dbde8545c3 Rework fullscreen tracking again
Lots of stuff needs cleaning up
2023-08-14 13:54:50 -05:00
Ottatop
e2dea4dd15 Clean up stuff 2023-08-12 17:48:33 -05:00
Ottatop
c783efa819 Update api (breaking) 2023-08-12 17:43:37 -05:00
Ottatop
0ead02921f Add fullscreen, maximize to api 2023-08-11 18:48:51 -05:00
Ottatop
fe686af815 Add SOCKET_DIR env var 2023-08-07 11:53:56 -05:00
Ottatop
4202454c43 Update docs and example config 2023-08-04 17:03:31 -05:00
Ottatop
0190b66958 Add output location helper methods 2023-08-04 16:28:17 -05:00
Ottatop
f99c8b886d Add output location setting 2023-08-04 13:45:38 -05:00
Ottatop
f9a32af4dc Update rustfmt.toml and stylua.toml 2023-08-04 09:36:40 -05:00
Ottatop
e4f9aee687 Fix cursor not updating in xwayland windows 2023-08-01 11:23:52 -05:00
Ottatop
e86228f4f8 Fix pointer focus on winit 2023-08-01 11:23:52 -05:00
Ottatop
c2190f2e0c Fix x11 windows not removing when destroyed 2023-08-01 11:22:39 -05:00
Ottatop
35eb1c7652 Relicense to GPL 3.0 2023-08-01 11:18:08 -05:00
Ottatop
cc01dd0820 Update docs 2023-07-24 09:15:51 -05:00
Ottatop
b3c072734a Move all examples to Usage section 2023-07-23 15:25:11 -05:00
Ottatop
cecd62a8aa Remove @overloads 2023-07-22 17:53:28 -05:00
Ottatop
e210ef52ff Reorder params 2023-07-22 17:46:16 -05:00
Ottatop
60c7c547f5 Test ldoc generation 2023-07-22 17:43:36 -05:00
Ottatop
eccb925734 Fix config crash when doing window stuff with no windows 2023-07-21 22:00:58 -05:00
Ottatop
6898d19140 Add not that great documentation file 2023-07-21 21:44:56 -05:00
Ottatop
017ef8f09d Restructure API, add doc comments 2023-07-21 21:02:02 -05:00
Ottatop
71427228d0 Pull my hair out simplifying the API 2023-07-21 15:04:39 -05:00
Ottatop
fb63e7ada3 Re-add lost API functionality, fix msg ordering 2023-07-21 14:36:32 -05:00
Ottatop
3ddd57c63f Convert tag_name to use tag_id instead 2023-07-21 11:38:46 -05:00
Ottatop
afc0818805 Merge tag.add and tag.add_table 2023-07-20 16:54:26 -05:00
Ottatop
2d42f01b8a Simplify tag in API 2023-07-20 16:05:26 -05:00
Ottatop
9475c9965d Move functions around 2023-07-20 15:22:22 -05:00
Ottatop
83fd3ec978 Remove repetition 2023-07-20 11:56:45 -05:00
Ottatop
fcc33c60f0 Simplify window in API 2023-07-19 20:11:15 -05:00
Ottatop
53f29086b6 Add to and simplify output in API 2023-07-19 18:55:22 -05:00
Ottatop
f2b54be2fc Add more window methods to API 2023-07-18 21:10:43 -05:00
Ottatop
b2521f949c Streamline API naming 2023-07-18 15:12:23 -05:00
Ottatop
a6a62be446 Add per tag layouts 2023-07-18 12:37:40 -05:00
Ottatop
b1ee8e03c1 Add more stuff to API 2023-07-18 10:35:39 -05:00
Ottatop
f6784da8a8 Add corner layout 2023-07-18 10:35:39 -05:00
Ottatop
f1508350e3 Add spiral layout 2023-07-18 10:35:39 -05:00
Ottatop
6f57d8d413 Add dwindle layout 2023-07-18 10:35:39 -05:00
Ottatop
3efdb9d73f Update output in API, modify tag tracking 2023-07-18 10:35:39 -05:00
Ottatop
d91c06dbe9 Add output to API 2023-07-18 10:35:39 -05:00
Seaotatop
c7e273b770 Add stylua.toml 2023-07-18 10:35:39 -05:00
Seaotatop
824595637b Fiddle with stuff 2023-07-04 15:20:41 -05:00
Seaotatop
d09d367b22 Fix windows not reappearing on tag changes 2023-07-02 17:10:15 -05:00
Seaotatop
8fcf86b886 Add moving windows to tags and toggling tags on windows 2023-07-02 10:26:07 -05:00
Seaotatop
ebe2313e2d Add basic tag support 2023-07-01 19:06:37 -05:00
Seaotatop
dc9b8e4ffc Begin work on tags 2023-06-30 21:34:07 -05:00
Seaotatop
d6504b0b82 Add spawn_once function 2023-06-29 17:40:35 -05:00
Seaotatop
b2edab51cf Minor things 2023-06-29 11:59:17 -05:00
Ottatop
8f218c6be2
Merge pull request #12 from Ottatop/dev
Raise fd limit, add minor docs
2023-06-28 16:44:04 -05:00
Seaotatop
9f09a8c7a1 Add minor docs 2023-06-28 16:42:07 -05:00
Ottatop
62a5648caa
Update LICENSE 2023-06-26 22:46:26 -05:00
Ottatop
b9a9d1fe4f
Update README.md 2023-06-26 22:13:52 -05:00
Seaotatop
d2a1dc7de1 Add types, add missing MPL header that I skipped the check for 2023-06-26 21:19:02 -05:00
Seaotatop
78de3b4941 Add types for messages 2023-06-26 21:05:29 -05:00
Seaotatop
b980315552 Add function to get windows in config, WIP 2023-06-26 18:48:29 -05:00
Seaotatop
c32cfbcbc0 Update lib 2023-06-26 16:42:45 -05:00
Seaotatop
9f2f6a1a69 Add MIT to example_config, add Unlicense SPDX to msgpack lib 2023-06-25 17:49:44 -05:00
Seaotatop
1fe510dbf1 Add SPDX identifiers 2023-06-25 17:49:06 -05:00
Seaotatop
a02cada324 Add license headers 2023-06-25 17:18:50 -05:00
Seaotatop
5423c10bc7 Update example_config 2023-06-21 21:49:56 -05:00
Seaotatop
e701334538 Add quit keybind 2023-06-21 19:12:27 -05:00
Seaotatop
5193082cf5 Add comments 2023-06-21 18:03:27 -05:00
Seaotatop
8c054e17ba Add quit function to api, update README and example_config 2023-06-21 17:36:51 -05:00
Seaotatop
c46159c77a Add process spawning to config api 2023-06-21 14:48:38 -05:00
Seaotatop
d655c8a1a0 Update example 2023-06-19 19:09:05 -05:00
Seaotatop
a885d8dec6 Restructure lua api for future work 2023-06-19 19:07:45 -05:00
Seaotatop
a9a7f3a0d2 Move lua api folder 2023-06-19 17:58:03 -05:00