Update README.md
This commit is contained in:
parent
9386b9e644
commit
cd7b750e1b
12
README.md
12
README.md
@ -3,9 +3,15 @@ Hyprlock is a script that allows for the mouse cursor to be locked to a monitor.
|
||||
|
||||
Setup:
|
||||
1. Copy `hyprlock.sh` into `~/.config/hypr`
|
||||
2. Execute `chmox +x ~/.config/hypr/hyprlock.sh`
|
||||
3. Execute `sudo ln -s ~/.config/hypr/hyprlock.sh /usr/bin/hyprlock`
|
||||
4. Add a bind to Hyprlock in `~/.config/hypr/hyprland.conf`.\
|
||||
2. Configure the monitor positions at the top of `hyprlock.sh`. Execute `hyprctl -j monitors` to gather information about the monitor configuration.\
|
||||
Example:
|
||||
```bash
|
||||
unlockedMonitorYPositions=(0 0 0)
|
||||
lockedMonitorYPositions=(1080 1080 1080)
|
||||
```
|
||||
3. Execute `chmox +x ~/.config/hypr/hyprlock.sh`
|
||||
4. Execute `sudo ln -s ~/.config/hypr/hyprlock.sh /usr/bin/hyprlock`
|
||||
5. Add a bind to Hyprlock in `~/.config/hypr/hyprland.conf`.\
|
||||
Example:
|
||||
```bash
|
||||
bind = $mainMod, Q, exec, ~/.config/hypr/hyprlock.sh
|
||||
|
Loading…
Reference in New Issue
Block a user