updated docs and flake
This commit is contained in:
24
README.md
24
README.md
@@ -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
|
||||
|
||||
53
flake.lock
generated
53
flake.lock
generated
@@ -74,17 +74,19 @@
|
||||
"xdph": "xdph"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1726753711,
|
||||
"narHash": "sha256-E6jTZFF18yIGAYzK58Sb5hKX2sEVUzPbtG5Vg6Bn1Gc=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "Hyprland",
|
||||
"rev": "dfa1bd0cd48253a446fbe455a46f0f4d23368c02",
|
||||
"type": "github"
|
||||
"lastModified": 1726995313,
|
||||
"narHash": "sha256-HTbsXJDFugdQ794d1Bnh8eRSY7AlunIxd7jFW9kkKNM=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "e5ff19ac0f2c8d53a0c847d06a17676e636d6447",
|
||||
"revCount": 5247,
|
||||
"submodules": true,
|
||||
"type": "git",
|
||||
"url": "https://github.com/hyprwm/Hyprland"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hyprwm",
|
||||
"repo": "Hyprland",
|
||||
"type": "github"
|
||||
"submodules": true,
|
||||
"type": "git",
|
||||
"url": "https://github.com/hyprwm/Hyprland"
|
||||
}
|
||||
},
|
||||
"hyprland-protocols": {
|
||||
@@ -193,21 +195,6 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nix-filter": {
|
||||
"locked": {
|
||||
"lastModified": 1710156097,
|
||||
"narHash": "sha256-1Wvk8UP7PXdf8bCCaEoMnOT1qe5/Duqgj+rL8sRQsSM=",
|
||||
"owner": "numtide",
|
||||
"repo": "nix-filter",
|
||||
"rev": "3342559a24e85fc164b295c3444e8a139924675b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "nix-filter",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1725983898,
|
||||
@@ -224,10 +211,26 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1726755586,
|
||||
"narHash": "sha256-PmUr/2GQGvFTIJ6/Tvsins7Q43KTMvMFhvG6oaYK+Wk=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "c04d5652cfa9742b1d519688f65d1bbccea9eb7e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"hyprland": "hyprland",
|
||||
"nix-filter": "nix-filter"
|
||||
"nixpkgs": "nixpkgs_2"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
|
||||
Reference in New Issue
Block a user