-
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6df7dac
commit 7986b63
Showing
3 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
## OpenRC Instructions | ||
|
||
To have OpenRC automatically start `swhkd` for you: | ||
|
||
1. `chmod +x swhkd` | ||
2. Copy `swhkd` into /etc/init.d/ | ||
3. Run `sudo rc-update add swhkd` | ||
4. Run `swhks` on login ( Add it to your `.xinitrc` file or your setup script ) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/sbin/openrc-run | ||
|
||
command="/usr/bin/swhkd" | ||
command_background=true | ||
pidfile="/run/${RC_SVCNAME}.pid" | ||
|