Tassilo Horn
1c1b155e95
Rename con to tree
3 years ago
Tassilo Horn
d83acacea0
Fix next/prev-window commands
...
The prev-window commands never worked. They only switched between the last two
recently used windows ignoring all others.
3 years ago
Tassilo Horn
247f7835c1
Config access refactoring
3 years ago
Tassilo Horn
c3bccfcaf2
Also auto_tile on Focus events
...
Actually, I'd rather wish there was a Resize event so that one could auto_tile
after resizes (a window might become to small for splith or wide enough for
splith) but there is no such event. So by switching focus back and forth, one
can have the same effect.
3 years ago
Tassilo Horn
045e8e7411
Implement auto_tile feature
3 years ago
Tassilo Horn
922db0aee1
Upgrade to swayipc-3.0.0-alpha.3
3 years ago
Tassilo Horn
08b69d788f
A bit renaming; add license notice to every file
3 years ago
Tassilo Horn
233be20479
Refactor exec_swayr_cmd args into separat struct
4 years ago
Tassilo Horn
44492a77e0
Run sway commands via IPC connection instead on shelling out and calling swaymsg
4 years ago
Tassilo Horn
4ff03e7038
con_props -> extra_props
4 years ago
Tassilo Horn
e3c5108bd8
Move demon init into demon.rs
4 years ago
Tassilo Horn
d7f062e0ae
Gracefully restart after 3 seconds on error
4 years ago
Tassilo Horn
f14d70a4f0
Restart connection & subscription on error
4 years ago
Tassilo Horn
5c348fb7c4
Execute commands in the demon instead of the client
4 years ago
Tassilo Horn
32859713d4
Use swayipc crate instead of home-grown IPC structs
...
That saves a lot of boring code. :-)
4 years ago
Tassilo Horn
0f1989acd7
New switch-to-urgent-or-lru-window command; add module docs
4 years ago
Tassilo Horn
26aeddd34e
Some simplifications; release v0.0.8
4 years ago
Tassilo Horn
b8c0799ffc
Don't get into a restart loop if swaymsg monitor process exited
4 years ago
Tassilo Horn
dcfe4ccc99
Fix ConEvent deserialization issue
...
In a workspace Reload event, both current and old workspace are actually null.
4 years ago
Tassilo Horn
f7a0ca24f5
New subcommand execute-swayr-command
4 years ago
Tassilo Horn
30770c8e5c
Fix a deserialization error with workspace events
4 years ago
Tassilo Horn
d7be7cecbb
Some refinements
4 years ago
Tassilo Horn
6b872e2237
Add switch-workspace subcommand
4 years ago
Tassilo Horn
12f8da1bb0
Refactor and improve
4 years ago
Tassilo Horn
f9029af82d
New quit-window command
4 years ago
Tassilo Horn
3bf88f2782
Add error message
4 years ago
Tassilo Horn
5f58046319
Don't panic the window event handler thread on unexpected messages
4 years ago
Tassilo Horn
d773db3b61
Delete stale socket on restart (and more)
4 years ago
Tassilo Horn
07e64338b3
Client can get window props from demon
4 years ago
Tassilo Horn
94cb31baa5
Open Unix socket for handling clients
4 years ago
Tassilo Horn
25eaa19998
Forgot to add demon.rs; Make event recording work
4 years ago