update
This commit is contained in:
parent
2992f4f408
commit
4f46de8d00
3330 changed files with 394553 additions and 76939 deletions
43
.config/Code/User/History/-5e62438e/Fsz7.md
Normal file
43
.config/Code/User/History/-5e62438e/Fsz7.md
Normal file
|
@ -0,0 +1,43 @@
|
|||
# morebinds | A Hyprland plugin
|
||||
morebinds is a hyprland plugin that allows you to set keymaps for double tapping mod keys i.e. shift, ctrl, alt, esc, super.
|
||||
## Installation
|
||||
### With hyprpm
|
||||
Run the following
|
||||
```
|
||||
hyprpm add git@github.com:RafayAhmad7548/morebinds.git
|
||||
hyprpm enable morebinds
|
||||
hyprpm reload
|
||||
```
|
||||
### Manually
|
||||
make sure you have hyprland headers installed, if you don't know how check the wiki.
|
||||
clone the repo and build it
|
||||
```
|
||||
git clone git@github.com:RafayAhmad7548/morebinds.git
|
||||
cd morebinds/build
|
||||
make
|
||||
hyprctl plugin load absolute/path/to/libmorebinds.so/in/morebinds/build
|
||||
```
|
||||
## Configuration
|
||||
The delay after in which a double tap will be registered is configurable and can be changed as follows in the hyprland.conf
|
||||
```
|
||||
plugin {
|
||||
morebinds {
|
||||
# the delay is in milliseconds
|
||||
shift_delay = 200
|
||||
super_delay = 400
|
||||
alt_delay = 700
|
||||
ctrl_delay = 200
|
||||
esc_delay = 200
|
||||
}
|
||||
}
|
||||
```
|
||||
to set the command to be executed for single press or double press
|
||||
```
|
||||
plugin {
|
||||
morebinds {
|
||||
shift_single = firefox
|
||||
shift_double = kitty
|
||||
}
|
||||
}
|
||||
```
|
||||
it is recommended not to use the default way to set keybind for single press of mod keys as it might be buggy with this plugin
|
Loading…
Add table
Add a link
Reference in a new issue