Commit Graph

918 Commits

Author SHA1 Message Date
Isaac Freund
ea88cca35f
Take future borders into account for surface size 2020-04-04 23:26:15 +02:00
Isaac Freund
149dd488a9
Reset focus on switching between tags 2020-04-04 19:48:22 +02:00
Isaac Freund
b30b9ba57e
Stop the transaction timer if timeout didn't occur 2020-04-04 16:51:15 +02:00
Isaac Freund
f17792183b
Add a bit of logging for transactions 2020-04-04 16:51:14 +02:00
Isaac Freund
8d68d1e7cf
Fix iteration in handleFrame 2020-04-04 16:51:14 +02:00
Isaac Freund
424a16fe94
Remove len field from ViewStack
This is misleading as unmapped views should be ignored
2020-04-04 16:51:14 +02:00
Isaac Freund
6c8e7c14f7
Test ignoring unmapped view 2020-04-04 16:51:14 +02:00
Isaac Freund
5f7333e851
Add empty iteration tests 2020-04-04 16:51:14 +02:00
Isaac Freund
6cb9f6ac04
Add a data structure to manage the view stack 2020-04-04 16:51:02 +02:00
Isaac Freund
9ba295f126
Focus next view if focused view is hidden 2020-04-02 14:02:30 +02:00
Isaac Freund
57f27f7cc6
Implement tag assignment
There are a few bugs with this, but the core logic is sound
2020-04-02 13:44:24 +02:00
Isaac Freund
26a5aaca69
Implement switching between single tags 2020-04-01 19:39:36 +02:00
Isaac Freund
42d454b26f
Implement infrastructure for tags 2020-04-01 17:50:49 +02:00
Isaac Freund
5020106b93
Explictly define log level ordering
This was technically undefined before.
2020-03-29 21:17:57 +02:00
Isaac Freund
5e84d69237
Add a log utility 2020-03-29 21:05:34 +02:00
Isaac Freund
d0bfa7bb01
Make c import a little cleaner 2020-03-29 19:36:15 +02:00
Isaac Freund
581de73b6f
Fix bug if master count < view count 2020-03-29 17:12:44 +02:00
Isaac Freund
d9d9388978
Handle timeout of transactions that take too long 2020-03-29 16:56:30 +02:00
Isaac Freund
f5304237b5
Pass self as immutable where possible 2020-03-29 15:58:04 +02:00
Isaac Freund
9d0a41c0d2
Add a couple utility functions
Forgot to commit this new file in a previous commit
2020-03-29 14:08:39 +02:00
Isaac Freund
e55d40ab10
Swap bindngs for send to top and start terminal 2020-03-29 14:07:39 +02:00
Isaac Freund
a2901c90ba
Only move view to top if needed 2020-03-29 14:03:12 +02:00
Isaac Freund
7e7dfe563a
Add keybind for adjusting master factor 2020-03-29 13:50:12 +02:00
Isaac Freund
f2777ad4e5
Remove outdated entry from gitignore 2020-03-29 13:19:24 +02:00
Isaac Freund
029e49e1c5
Gracefully handle transaction preemption 2020-03-28 21:05:56 +01:00
Isaac Freund
d34df295f7
Set xdg toplevels to tiled
This stops firefox from adding shadows around its window
2020-03-28 20:27:50 +01:00
Isaac Freund
8cb1dc81ad
Remove the last stray reference to the old name
(thanks cole-h)
2020-03-28 18:12:47 +01:00
Isaac Freund
99560f1559
Add MIT license 2020-03-28 18:11:20 +01:00
Isaac Freund
e3d2ee84f8
Add README 2020-03-28 18:02:38 +01:00
Isaac Freund
02910145c8
Add new views to the top of the stack 2020-03-28 14:47:50 +01:00
Isaac Freund
866f2c7614
Add keybindings for changing master count 2020-03-28 14:44:48 +01:00
Isaac Freund
ca2e169535
Add keybind to move current focus to top of stack 2020-03-28 14:37:30 +01:00
Isaac Freund
d7d5cf06ee
Focus previous view on close instead of next 2020-03-28 14:20:53 +01:00
Isaac Freund
a523d0ce7c
Implement dwm-style tiling layout 2020-03-28 14:19:51 +01:00
Isaac Freund
dc23f29915
Remove references to old name 2020-03-28 11:42:58 +01:00
Isaac Freund
5bf161e744
Implement basic xdg decoration management 2020-03-27 18:31:03 +01:00
Isaac Freund
69220d3c92
Rename to river 2020-03-27 11:58:59 +01:00
Isaac Freund
b1746c3222
Remove extraneous debug warns 2020-03-27 02:12:04 +01:00
Isaac Freund
f1ff381a38
Add keybind to spawn alacritty instance 2020-03-27 02:10:31 +01:00
Isaac Freund
51e8191031
Flesh out focus handling and add keybinds 2020-03-27 02:05:57 +01:00
Isaac Freund
647545d9fb
Handle arrange after view unmap/destroy properly 2020-03-26 21:43:02 +01:00
Isaac Freund
d787e2c2cc
Initial atomic layout update implementation 2020-03-26 21:32:30 +01:00
Isaac Freund
6c12c23cdb
Correct a few function names to camelCase 2020-03-25 16:29:30 +01:00
Isaac Freund
ac0c0449dc
Simplify initialization functions 2020-03-25 16:24:21 +01:00
Isaac Freund
34e47360f5
Add Root struct
Server handles listening for wayland signals. It delegates input handling
to Seat and output handling to Root.
2020-03-25 15:59:24 +01:00
Isaac Freund
a3eb33a7b1
Handle destruction of Server properly 2020-03-24 21:18:17 +01:00
Isaac Freund
aaecef8c5c
Make function names camelCase
This conforms with the zig style guidelines:
https://ziglang.org/documentation/master/#Style-Guide
2020-03-24 21:13:56 +01:00
Isaac Freund
46fe1baa96
Use Self = @This() in all structs
This seems to be the idiomatic way to do things.
2020-03-24 20:48:38 +01:00
Isaac Freund
45c7e27935
Clean up cursor handling code 2020-03-24 20:39:02 +01:00
Isaac Freund
b3bad0ca93
Make all things const
The quest for idiomatic zig continues
2020-03-24 20:35:45 +01:00