updated docs and flake

This commit is contained in:
bowlbird
2024-09-23 00:02:44 +00:00
parent aedf2424a1
commit 126c594b8d
3 changed files with 49 additions and 30 deletions

View File

@@ -9,7 +9,7 @@ Easymotion is basically a single dispatcher that brings up window labels and the
`bind = SUPER, z, easymotion, action:hyprctl dispatch focuswindow address:{}`
This bind will bring up easymotion with SUPER-z. Once you select a window the window
will focus. If you want to change the command, the selected window's address is substituted where "{}" occurs.
will focus. If you want to change the command, the selected window's address is substituted where "{}" occurs.
You can configure the appearance of the labels. Defaults are as follows:
@@ -28,7 +28,7 @@ plugin {
#font to use for the label. This is passed directly to the pango font description
textfont=Sans
#padding around the text (inside the label box) size in pixels, adjusted for
#monitor scaling. This is the same format as hyprland's gapsin/gapsout workspace layout rule
#example: textpadding=2 5 5 2 (spaces not commas)
@@ -59,10 +59,24 @@ Every one of these variables is also settable via the dispatcher, so you can cre
1. Run `hyprpm add https://github.com/zakk4223/hyprland-easymotion` and wait for hyprpm to build the plugin.
2. Run `hyprpm enable hyprEasymotion`
## NixOS (Flakes)
Add this repo to your flake inputs:
```Nix
inputs = {
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
hyprland-easymotion = {
url = "github:bowlbird/hyprland-easymotion";
inputs.hyprland.follows = "hyprland";
};
};
```
# TODO
- [ ] Blur?
- [ ] Allow multi-letter labels?
- [ ] Fixed/static label box sizing
- [ ] Blur?
- [ ] Allow multi-letter labels?
- [ ] Fixed/static label box sizing
- [ ] Location of label in window (edges etc)
- [ ] Auto label placement that tries to avoid being occluded