Commit Graph

514 Commits (release-delay)
 

Author SHA1 Message Date
Takashi Kokubun bec00e801e Add extra delay before release 1 year ago
Takashi Kokubun 89ac4e6aca Version 0.8.3 1 year ago
N4tus 84ea31f09e
Kde wayland (#264)
* First implementation of kde client

* load kwin-script via dbus interface on startup, if not already present

* remove temp file after use

* fix wrong object path

* fix wrong load_script return type

* log important information

* try to unload plugin if loading fails.

* change info to println, since it should always be printed

* remove unnecessary mut

* extend README.md

* extend build.yml to build, test, and publish the kde version

* improve README.md
1 year ago
dependabot[bot] c3ffcfc953 Bump derive-where from 1.0.0 to 1.1.0
Bumps [derive-where](https://github.com/ModProg/derive-where) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/ModProg/derive-where/releases)
- [Changelog](https://github.com/ModProg/derive-where/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ModProg/derive-where/compare/v1.0.0...v1.1.0)

---
updated-dependencies:
- dependency-name: derive-where
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
dependabot[bot] 6bdf523da2 Bump serde_with from 2.0.1 to 2.2.0
Bumps [serde_with](https://github.com/jonasbb/serde_with) from 2.0.1 to 2.2.0.
- [Release notes](https://github.com/jonasbb/serde_with/releases)
- [Commits](https://github.com/jonasbb/serde_with/compare/v2.0.1...v2.2.0)

---
updated-dependencies:
- dependency-name: serde_with
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Takashi Kokubun c9d5d7e095 Retry dependabot auto-merge 1 year ago
dependabot[bot] 61f7da615f
Bump serde_json from 1.0.91 to 1.0.93 (#255)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.91 to 1.0.93.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.91...v1.0.93)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot] 3f0288ed4c
Bump indoc from 1.0.8 to 2.0.0 (#252)
Bumps [indoc](https://github.com/dtolnay/indoc) from 1.0.8 to 2.0.0.
- [Release notes](https://github.com/dtolnay/indoc/releases)
- [Commits](https://github.com/dtolnay/indoc/compare/1.0.8...2.0.0)

---
updated-dependencies:
- dependency-name: indoc
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot] 78dceab00d
Bump evdev from 0.12.0 to 0.12.1 (#253)
Bumps [evdev](https://github.com/cmr/evdev) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/cmr/evdev/releases)
- [Changelog](https://github.com/emberian/evdev/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cmr/evdev/commits)

---
updated-dependencies:
- dependency-name: evdev
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot] 5e8d8d75dd
Bump x11rb from 0.11.0 to 0.11.1 (#251)
Bumps [x11rb](https://github.com/psychon/x11rb) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/psychon/x11rb/releases)
- [Changelog](https://github.com/psychon/x11rb/blob/master/doc/changelog.md)
- [Commits](https://github.com/psychon/x11rb/compare/v0.11.0...v0.11.1)

---
updated-dependencies:
- dependency-name: x11rb
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
Takashi Kokubun 9c3d4ff486 Remove a dependabot job for now 1 year ago
Takashi Kokubun e9de0694c3 Revert "Temporarily skip the check for testing"
This reverts commit 46a97b11db.
1 year ago
Takashi Kokubun 461b7d2c6c Rename a job 1 year ago
Takashi Kokubun 46a97b11db Temporarily skip the check for testing 1 year ago
Takashi Kokubun 0b0113c5a5 Try a workflow to merge dependabot PRs 1 year ago
Takashi Kokubun 24ab052adb Version 0.8.2 1 year ago
Takashi Kokubun 2603e89999 Remove REL_WHEEL and REL_HWHEEL
as a workaround for Arch Linux with systemd-253-1.

Close #246
1 year ago
Takashi Kokubun baa9c32f12 Version 0.8.1 1 year ago
Yavor Kolev e75c0bae09
Update Hyprland-rs to `0.3.0` (#247)
* Update Hyprland-rs

* Remove needless serialize and deserializing

* Remove needless conversion of string
1 year ago
dependabot[bot] 733008a24d
Bump nix from 0.26.1 to 0.26.2 (#241)
Bumps [nix](https://github.com/nix-rust/nix) from 0.26.1 to 0.26.2.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/v0.26.2/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.26.1...v0.26.2)

---
updated-dependencies:
- dependency-name: nix
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot] 334c4223ab
Bump serde_yaml from 0.9.14 to 0.9.17 (#243)
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.9.14 to 0.9.17.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases)
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.14...0.9.17)

---
updated-dependencies:
- dependency-name: serde_yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot] 72b2a4a826
Bump serde_json from 1.0.85 to 1.0.91 (#242)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.85 to 1.0.91.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.85...v1.0.91)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot] e9aabba6ba
Bump env_logger from 0.9.1 to 0.10.0 (#240)
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.9.1 to 0.10.0.
- [Release notes](https://github.com/rust-cli/env_logger/releases)
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.9.1...v0.10.0)

---
updated-dependencies:
- dependency-name: env_logger
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot] 1f07a8b0be
Bump regex from 1.6.0 to 1.7.1 (#239)
Bumps [regex](https://github.com/rust-lang/regex) from 1.6.0 to 1.7.1.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.6.0...1.7.1)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
Takashi Kokubun dac4e87a3c Version 0.8.0 1 year ago
Perseus 17d50df194
Adds RELATIVE event catcher (#187)
close #180
1 year ago
dependabot[bot] 1986c0b7f3
Bump tokio from 1.23.0 to 1.24.1 (#229)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.23.0 to 1.24.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.23.0...tokio-1.24.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot] 0f42f93fe7
Bump nix from 0.25.0 to 0.26.1 (#223)
Bumps [nix](https://github.com/nix-rust/nix) from 0.25.0 to 0.26.1.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.25.0...v0.26.1)

---
updated-dependencies:
- dependency-name: nix
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot] 4166b4c592
Bump indoc from 1.0.7 to 1.0.8 (#225)
Bumps [indoc](https://github.com/dtolnay/indoc) from 1.0.7 to 1.0.8.
- [Release notes](https://github.com/dtolnay/indoc/releases)
- [Commits](https://github.com/dtolnay/indoc/compare/1.0.7...1.0.8)

---
updated-dependencies:
- dependency-name: indoc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot] e5248a98c8
Bump serde from 1.0.145 to 1.0.152 (#226)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.145 to 1.0.152.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.145...v1.0.152)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot] c6bea6a82e
Bump anyhow from 1.0.66 to 1.0.68 (#222)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.66 to 1.0.68.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.66...1.0.68)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
Takashi Kokubun a8ad29bf7f Version 0.7.15 1 year ago
Zai-Chun Chen 3d55149056
fix: application None check when failed get the application name (#220)
* fix: application None check when failed get the application name

* Update src/client/hypr_client.rs

Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
1 year ago
Takashi Kokubun 49b3f11b3c Version 0.7.14 1 year ago
Lae Chen c10006342c
Merge remaps (#217)
* Allow remaps to be merged.

* Fix formatting.
1 year ago
Takashi Kokubun 0c00d5c8c4 Version 0.7.13 1 year ago
Zai-Chun Chen e292e344b4
Feature hyprland (#216)
* init support for hyprland with hyprland-rs

* enable ci for feature* branches

* cargo fmt the code
1 year ago
Takashi Kokubun d5fec95843 Version 0.7.12 1 year ago
Kai Xia(夏恺) 9f5002ee1b
Ensure the launched commands are not terminated by the stop of xremap. (#214)
* Ensure the launched commands are not terminated by the stop of xremap.

Fix #213.

Signed-off-by: Kai Xia <kaix+github@fastmail.com>

* also stop child processes on unhappy path.

Signed-off-by: Kai Xia <kaix+github@fastmail.com>

* fix fmt

Signed-off-by: Kai Xia <kaix+github@fastmail.com>

Signed-off-by: Kai Xia <kaix+github@fastmail.com>
1 year ago
Takashi Kokubun cbf5cd027c Version 0.7.11 1 year ago
Lae Chen a759d5b516
Reconnect to X11 when existing connection stops working. (#212) 1 year ago
Takashi Kokubun 2c9c628516 Version 0.7.10 2 years ago
Lae Chen 14ca00cae3
Introduce keymap level `exact_match` option (#209)
* Introduce keymap level `exact_match` option.

Example:

  keymap:
    - exact_match: true
      remap:
        M-f: C-right

Given the above, and M-Shift-f is pressed:

- If `exact_match` is false or unset, the existing behaviour will be used,
  which will translate M-Shift-f to C-Shift-right.

- If `exact_match` is true, M-Shift-f will be sent as is, i.e. not matched.

* Perform exact match first.
2 years ago
dependabot[bot] 1082271759
Bump anyhow from 1.0.65 to 1.0.66 (#206)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.65 to 1.0.66.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.65...1.0.66)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Takashi Kokubun 97a538f67f Version 0.7.9 2 years ago
Lae Chen 8d3d62559e
Interleave pressing/releasing of modifier keys. (#208)
* Interleave pressing/releasing of modifier keys.

Pressing new modifier keys before releasing the old ones to avoid
triggering actions in applications that recognize the old keys.

For example, if we bind alt+f to ctrl+right, before this change, the
following key sequence is generated with alt+f:

(user)       send Alt_L      PRESS
(xremap)     send Alt_L      RELEASE
(xremap)     send Control_L  PRESS
(xremap)     send Right      PRESS
(xremap)     send Right      RELEASE
(xremap)     send Control_L  RELEASE
(xremap)     send Alt_L      PRESS
(user)       send Alt_L      RELEASE

The press + release of the alt key (both at the start and end of the
sequence) is causing apps like Firefox to show/focus the menu bar.

After this change, the following key sequence is generated with alt+f:

(user)       send Alt_L      PRESS
(xremap)     send Control_L  PRESS
(xremap)     send Alt_L      RELEASE
(xremap)     send Right      PRESS
(xremap)     send Right      RELEASE
(xremap)     send Alt_L      PRESS
(xremap)     send Control_L  RELEASE
(user)       send Alt_L      RELEASE

So the difference here is that we press the ctrl key before releasing
alt, so will not trigger apps like Firefox to show hide the menu when
alt+f is used, and a single press and release of the alt key will
still show the menu as their normal behavior.

As far as I can observe, this is also the behavior of AutoHotKey on Windows.

* Add test.
2 years ago
dependabot[bot] 5f97804180
Bump x11rb from 0.10.1 to 0.11.0 (#207)
Bumps [x11rb](https://github.com/psychon/x11rb) from 0.10.1 to 0.11.0.
- [Release notes](https://github.com/psychon/x11rb/releases)
- [Changelog](https://github.com/psychon/x11rb/blob/master/doc/changelog.md)
- [Commits](https://github.com/psychon/x11rb/compare/v0.10.1...v0.11.0)

---
updated-dependencies:
- dependency-name: x11rb
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot] 30b75c1086
Bump serde_yaml from 0.9.13 to 0.9.14 (#205)
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.9.13 to 0.9.14.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases)
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.13...0.9.14)

---
updated-dependencies:
- dependency-name: serde_yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot] 5013dcc58d
Bump clap from 3.2.22 to 3.2.23 (#203)
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.22 to 3.2.23.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.23/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.22...v3.2.23)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Takashi Kokubun 13e6b552d0
Test what actually happens 2 years ago