| 1 | #!/sbin/openrc-run |
| 2 | |
| 3 | description="Dynamic output configuration deamon for Wayland" |
| 4 | |
| 5 | command="/usr/bin/kanshi" |
| 6 | supervisor=supervise-daemon |
| 7 | |
| 8 | extra_started_commands="reload" |
| 9 | |
| 10 | reload() { |
| 11 | ebegin "Reloading $name configuration" |
| 12 | /usr/bin/kanshictl reload |
| 13 | eend $? |
| 14 | } |