support for cmdline args and better error handling (#4)

* support for cmdline args and better error handling

* make config.toml optional

* dont abuse panic for error handling

* update doc

* more panics removed

* more unwraps removed
This commit is contained in:
Ferdinand Schober
2023-02-18 04:03:10 +01:00
committed by GitHub
parent deb1548e21
commit a2d2e904f8
9 changed files with 205 additions and 83 deletions

View File

@@ -1,11 +1,11 @@
port = 42069
backend = "wlroots"
# [client.right]
# [right]
# host_name = "localhost"
# port = 42068
[client.left]
[left]
host_name = "Osmium"
ip = "192.168.178.114"
port = 42069