Commit graph

298 commits

Author SHA1 Message Date
Ottatop
2c52839d3e Update README 2024-06-17 18:45:36 -05:00
Ottatop
50a6e4bf78 snowcap/lua: Don't immediately crash if conn fails
Hacky way to get tests to work
2024-06-17 18:08:27 -05:00
Ottatop
9df86c8e14 snowcap: Add Lua API 2024-06-17 16:27:02 -05:00
Ottatop
350468f970 Fix clippy warnings 2024-06-15 20:46:39 -05:00
Ottatop
23b1e9d62a Add default config with no snowcap 2024-06-15 20:31:30 -05:00
Ottatop
6be6c6d5f6 Add keybind overlay 2024-06-15 16:58:47 -05:00
Ottatop
5b241a626b Add keybind descriptions 2024-06-15 14:06:23 -05:00
Ottatop
d70a0abda5 Add builtin quit prompt 2024-06-14 21:29:19 -05:00
Ottatop
df96838c51 Wait for Snowcap to start, rust-api: Fix signals
Test with --no-default-features, add Snowcap submodule
2024-06-14 14:47:05 -05:00
Ottatop
8fd1606557 Add preliminary snowcap integration 2024-06-13 17:21:32 -05:00
Ottatop
b81ec7bed8 Change default terminal back to alacritty
As you can see I'm really good at remembering to do things
2024-06-13 16:24:01 -05:00
Ottatop
6c21f49177 api: Add modeline to Output::setup 2024-06-04 18:37:45 -05:00
Ottatop
1c55296d8f api: Add output powered and enabled props 2024-06-04 16:52:12 -05:00
Ottatop
ad81b553c8 lua-api: Add custom modelines 2024-06-04 10:48:34 -05:00
Ottatop
bc8ec3d5a6 rust-api: Add custom modelines
Still need to do the Lua side
2024-06-03 22:27:48 -05:00
Ottatop
8bc0f40f18 Add output power on/off
Note that this does *not* remove the output from the space; it merely turns it off
2024-05-30 19:17:21 -05:00
Ottatop
1a009111d7 Add layout transactions 2024-05-27 15:47:56 -05:00
Ottatop
dbccfa9c76 Expose keyboard focus stack to API 2024-05-15 21:24:20 -05:00
Ottatop
3e7ef6d079 Support Lua down to 5.2 2024-04-24 20:01:04 -05:00
Ottatop
ac15e2d566 Fix Rust API not exiting correctly
My goodness was that not fun to debug
2024-04-22 20:34:06 -05:00
Ottatop
f54516bbe3 Embed default rust config
Need to clean up how the Rust API handles shutdown signals
2024-04-21 23:45:03 -05:00
Ottatop
978eb14ec9 Dedup stuff 2024-04-20 17:08:49 -05:00
Ottatop
b180848306 Add LuaCATS annotations for protobuf 2024-04-20 16:01:36 -05:00
Ottatop
6320b4d107 Update default Rust config 2024-04-18 16:45:31 -05:00
Ottatop
f42f220d5e Update docs and default Lua config 2024-04-18 16:39:30 -05:00
Ottatop
457f0d3d56 Add reload config API call 2024-04-18 16:30:10 -05:00
Ottatop
1c2f639a56 Add tag active signal 2024-04-18 14:42:49 -05:00
Ottatop
c0aa9067f3 Add some more docs 2024-04-18 12:54:39 -05:00
Ottatop
d2cb38daf5 Add some docs 2024-04-18 11:48:18 -05:00
Ottatop
d2445afe10 Allo wmatching outputs by EDID serial
Note that EDID serials are not totally unique across all monitors. Also some monitors don't have an EDID serial number. Also this hasn't been tested yet
2024-04-18 11:04:15 -05:00
Ottatop
0284a70c10 Add serial to ouptut properties 2024-04-17 23:01:56 -05:00
Ottatop
b77e9fa9b1 Add transform to Rust output setup 2024-04-17 21:31:39 -05:00
Ottatop
d28f520b07 Fix Lua default config 2024-04-17 21:25:55 -05:00
Ottatop
a8f393deb3 Improve Lua output setup API
I really like this compared to the previous iteration
2024-04-17 21:22:54 -05:00
Ottatop
5634cbbfe7 Improve Rust output setup API 2024-04-17 18:56:01 -05:00
Ottatop
6c8b643577 Add OutputHandle::set_transform 2024-04-16 21:30:59 -05:00
Ottatop
f6ad192c86 Finish Lua setup and setup_locs 2024-04-16 19:25:59 -05:00
Ottatop
3f5a56c201 Finish Rust Output::setup and ::setup_locs 2024-04-16 16:26:54 -05:00
Ottatop
ce4352a9fb Split off location setting from setup 2024-04-16 14:29:53 -05:00
Ottatop
43809d4210 Remove statics from Rust API
And a bunch of other things, this commit doesn't build
2024-04-16 11:10:47 -05:00
Ottatop
f557afcaa1 Start on Rust API tests
Does not currently work because every api struct is a static, yikes
2024-04-16 07:04:34 -05:00
Ottatop
ce8b56eee8 Add Output::setup
Still needs polishing and more importantly testing, also the Lua impl isn't finished yet
2024-04-15 15:50:09 -05:00
Ottatop
023ebe8a2d Add output resize and move signals 2024-04-12 11:46:52 -05:00
Ottatop
6d78436d18 Add TagHandle::windows 2024-04-12 07:57:22 -05:00
Ottatop
d6ccb53087 Merge branch 'main' into hidpi 2024-03-30 15:59:12 -05:00
Jörg Sommer
b8502f4b17 Fix minor mistakes, add some dependencies for Debian 2024-03-30 15:58:32 -05:00
Ottatop
e523d4b204 Add some docs 2024-03-30 03:20:10 -05:00
Ottatop
063164c07f Fix Rust API scaling filter setting
Remind me to set those enums to start as one, thanks
2024-03-30 02:21:44 -05:00
Ottatop
9ebc3074b9 Clean up default configs 2024-03-30 02:13:35 -05:00
Ottatop
d52192a2ba Default back to linear scaling and add config options to set 2024-03-29 11:57:35 -05:00