A Python-based application providing a graphical user interface for creating custom mouse acceleration curves for Hyprland, similar in concept to RawAccel.
- Interactive Curve Editing: Create custom acceleration curves by dragging points on a graph.
- Preset Curves: Choose from several built-in acceleration presets (Linear, Natural, Power, etc.).
- Custom Curve Input: Define your own curve by entering comma-separated y-values.
- Subdivision Control: Adjust the number of subdivisions for the curve.
- Output Display: Displays the curve parameters in a format similar to libinput's custom acceleration profile.
- Python 3.6 or later
- Required Python packages:
tkinter,matplotlib,numpy - On Arch:
yay -S --needed python-matplotlib python-numpy tk
- Clone the repository:
git clone https://github.com/arnaav11/custom_accel_hyprland.git cd custom_accel_hyprland - Install the required packages:
On Arch:
pip install -r requirements.txt
yay -S --needed python-matplotlib python-numpy tk
- Run the application:
python main.py
- Use the GUI to create or select an acceleration curve.
- Drag the points on the graph to modify the curve.
- Select a preset from the dropdown menu.
- Enter comma-separated values in the "Enter Custom Curve" dialog.
- Adjust the number of subdivisions using the entry box and "Update" button.
- The "Output" text box will display the curve parameters.
- Click "Apply" to apply the changes.
- In the "Output" box, there should be a line that you can copy and paste into you hyprland.conf under input
- Done!
