Update README.md
This commit is contained in:
parent
bb98e70018
commit
41e97a8646
@ -2,11 +2,11 @@
|
|||||||
Hyprlock is a script that allows for the mouse cursor to be locked to a monitor.
|
Hyprlock is a script that allows for the mouse cursor to be locked to a monitor.
|
||||||
|
|
||||||
Setup:
|
Setup:
|
||||||
1. Copy `hyprlock.sh` into `~/.config/hypr`
|
1. Copy `hyprlock` into `~/.config/hypr`
|
||||||
2. Execute `chmox +x ~/.config/hypr/hyprlock.sh`
|
2. Execute `chmox +x ~/.config/hypr/hyprlock`
|
||||||
3. Add the following lines to `~/.config/hypr/hyprland.conf`.\
|
3. Execute `sudo ln -s ~/.config/hypr/hyprlock /usr/bin`
|
||||||
|
4. Add a bind to Hyprlock in `~/.config/hypr/hyprland.conf`.\
|
||||||
Example:
|
Example:
|
||||||
```bash
|
```bash
|
||||||
env = PATH=$PATH:~/.config/hypr
|
|
||||||
bind = $mainMod, Q, exec, ~/.config/hypr/hyprlock.sh
|
bind = $mainMod, Q, exec, ~/.config/hypr/hyprlock.sh
|
||||||
```
|
```
|
Loading…
Reference in New Issue
Block a user