diff --git a/README.md b/README.md index 2a28fd6..a98c610 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,12 @@ $ make $ sudo make install # or `make DESTDIR=~/bin install` ``` +### Arch Linux + +```bash +$ yaourt -S xkremap +``` + ## Usage ``` diff --git a/examples/systemd/xkremap.service b/examples/systemd/xkremap.service new file mode 100644 index 0000000..5fb05e5 --- /dev/null +++ b/examples/systemd/xkremap.service @@ -0,0 +1,14 @@ +# 1. Copy this to ~/.config/systemd/user/xkremap.service +# 2. systemd --user enable xkremap + +[Unit] +Description=xkremap + +[Service] +ExecStart=/usr/bin/xkremap /home/k0kubun/.xkremap +ExecStop=/usr/bin/killall xkremap +Restart=always +Environment=DISPLAY=:0.0 + +[Install] +WantedBy=graphical.target