parent
2795ee8bb4
commit
3e622b7192
@ -1,30 +1,28 @@
|
||||
# AUR:
|
||||
`swhkd-git` `swhkd-musl-git` have been packaged. `swhkd-bin` & `swhkd-musl-bin` will be released soon.
|
||||
|
||||
# Install
|
||||
|
||||
`swhkd` and `swhks` install to `/usr/local/bin/` by default. You can change this behaviour by editing the [Makefile](../Makefile) variable, `TARGET_DIR`.
|
||||
`sohkd` and `sohks` install to `/usr/local/bin/` by default. You can change this behaviour by editing the [Makefile](../Makefile) variable, `TARGET_DIR`.
|
||||
|
||||
# Dependencies:
|
||||
|
||||
## Runtime:
|
||||
|
||||
- Policy Kit Daemon ( polkit )
|
||||
* Policy Kit Daemon (polkit)
|
||||
|
||||
## Compile time:
|
||||
|
||||
- rustup
|
||||
- make
|
||||
* rustup
|
||||
* make
|
||||
|
||||
# Compiling:
|
||||
|
||||
- `git clone https://github.com/waycrate/swhkd;cd swhkd`
|
||||
- `make setup`
|
||||
- `make clean`
|
||||
- `make` for a musl compile.
|
||||
- `make glibc` for a glibc compile.
|
||||
- `sudo make install`
|
||||
* `git clone https://github.com/waycrate/swhkd;cd swhkd`
|
||||
* `make setup`
|
||||
* `make clean`
|
||||
* `make` for a musl compile.
|
||||
* `make glibc` for a glibc compile.
|
||||
* `sudo make install`
|
||||
|
||||
# Running:
|
||||
|
||||
`swhks`
|
||||
`pkexec swhkd`
|
||||
|
@ -0,0 +1 @@
|
||||
KERNEL=="uinput", MODE="660", GROUP="odilia", OPTIONS+="static_mode=uinput"
|
@ -1,5 +0,0 @@
|
||||
polkit.addRule(function(action, subject) {
|
||||
if (action.lookup("program") == "/usr/bin/swhkd") {
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
})
|
Loading…
Reference in new issue