systemd unit file
This commit is contained in:
13
README.md
13
README.md
@@ -11,7 +11,7 @@ See [Op](src/main/kotlin/net/eksb/obsdc/Op.kt) for a list of operations.
|
||||
|
||||
## Configuration
|
||||
|
||||
Configuration is in `$XDG_CONFIG_HOME/net.eksb.obsdc/config.properties`
|
||||
Configuration is read from `$XDG_CONFIG_HOME/net.eksb.obsdc/config.properties`
|
||||
|
||||
### Configuration options
|
||||
|
||||
@@ -19,6 +19,15 @@ Configuration is in `$XDG_CONFIG_HOME/net.eksb.obsdc/config.properties`
|
||||
* `port` - OBS websocket port (default: `4455`)
|
||||
* `password` - OBS websocket password (required)
|
||||
|
||||
### systemd
|
||||
|
||||
A systemd unit file ([obsdc.service](src/main/dist/obsdc.service)) is included.
|
||||
|
||||
1. Copy the file to `~/.config/systemd/user/`.
|
||||
2. Edit the `ExecStart` line for where you have installed obsdc.
|
||||
3. `systemctl --user enable obsdc`
|
||||
4. `systemctl --user start obsdc`
|
||||
|
||||
## Build
|
||||
|
||||
`gradle build`
|
||||
@@ -54,4 +63,4 @@ My [window manager](https://swaywm.org/) is configured to call `obsdc-signal` wi
|
||||
keys emitted by one knob and `PAN_RIGHT`/`PAN_LEFT` for the keys emitted by the other knob.
|
||||
The regular keys on the macropad are mapped to the other actions.
|
||||
|
||||
So now I can quickly control what people can see without having to focus (or even make visible) the OBS window.
|
||||
So now I can quickly control what people can see without having to focus (or even make visible) the OBS window.
|
||||
|
||||
Reference in New Issue
Block a user