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
|
# 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:
|
# Dependencies:
|
||||||
|
|
||||||
## Runtime:
|
## Runtime:
|
||||||
|
|
||||||
- Policy Kit Daemon ( polkit )
|
* Policy Kit Daemon (polkit)
|
||||||
|
|
||||||
## Compile time:
|
## Compile time:
|
||||||
|
|
||||||
- rustup
|
* rustup
|
||||||
- make
|
* make
|
||||||
|
|
||||||
# Compiling:
|
# Compiling:
|
||||||
|
|
||||||
- `git clone https://github.com/waycrate/swhkd;cd swhkd`
|
* `git clone https://github.com/waycrate/swhkd;cd swhkd`
|
||||||
- `make setup`
|
* `make setup`
|
||||||
- `make clean`
|
* `make clean`
|
||||||
- `make` for a musl compile.
|
* `make` for a musl compile.
|
||||||
- `make glibc` for a glibc compile.
|
* `make glibc` for a glibc compile.
|
||||||
- `sudo make install`
|
* `sudo make install`
|
||||||
|
|
||||||
# Running:
|
# Running:
|
||||||
|
|
||||||
`swhks`
|
`swhks`
|
||||||
`pkexec swhkd`
|
`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