Skip to content

a Hyprland plugin that allows you to set keybinds for double tapping mod keys

Notifications You must be signed in to change notification settings

RafayAhmad7548/morebinds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

a Hyprland plugin that allows you to set keybinds for double tapping mod keys

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published