Commit graph

199 commits

Author SHA1 Message Date
Ottatop
5b241a626b Add keybind descriptions 2024-06-15 14:06:23 -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
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
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
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
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
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
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
e523d4b204 Add some docs 2024-03-30 03:20:10 -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
Ottatop
6a990d45d2 Add logical size to output props, use in set_loc_adj_to 2024-03-23 17:42:05 -05:00
Ottatop
5fbb3e51e9 Add scale to output properties 2024-03-23 16:55:06 -05:00
Ottatop
dfc7a1351e Add scale setting to API, fix fractional scaling 2024-03-23 15:23:00 -05:00
Ottatop
8d3bbf28f8 Add Pinnacle.run and use for tests 2024-03-23 01:39:07 -05:00
Ottatop
535b441887 Return from ping loop if it's the only coroutine
FIXME: this is a bandaid fix to get tests working again. Most tests will have to wait through one ping loop before exiting, causing tests to take like 10 minutes.
2024-03-23 00:43:29 -05:00
Ottatop
6adb560e81 Add set mode 2024-03-22 18:58:31 -05:00
Ottatop
2fd98301e6 Add output modes to API 2024-03-22 18:37:27 -05:00
Ottatop
869a2223f5 Add keepalive pings to clients
This should clients to die if the compositor was killed but they weren't dropped
2024-03-22 16:40:06 -05:00
Ottatop
0ae090bba5 Add window raising to api 2024-03-21 18:39:27 -05:00
Ottatop
fcd549c947 Move stuff around and attempt to fix the docs
Futile attempt btw, what I need to do is rewrite the whole Lua doc gen thing
2024-03-16 21:48:40 -05:00
Ottatop
2538ef5b74 Add example config comments 2024-03-16 20:40:39 -05:00
Ottatop
4b63dc0830 Duplicate doc comments
Don't like that I have to do this but there's no way to have both a non-null and nullable class definition without some duplication
2024-03-16 20:12:18 -05:00
Ottatop
88988701e6 Change Lua builtin layouts to classes 2024-03-16 19:58:38 -05:00
Ottatop
17d0760e43 Add deep copy to copy Lua layouts
This is probably not going to be in the final iteration; I think I might convert all Lua layouts to classes instead of having users deep copy them to change settings
2024-03-16 16:40:47 -05:00
Ottatop
75852551e2 Remove old layout system completely 2024-03-15 21:12:16 -05:00
Ottatop
a98777c11e Add Rust layouts 2024-03-15 20:51:12 -05:00
Ottatop
ab2b3ee13b Add fair layout 2024-03-15 14:02:28 -05:00
Ottatop
a8ec13d7d2 Add spiral layout 2024-03-14 21:13:26 -05:00
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