Skip to content

Commit cf30b80

Browse files
authored
feat: adds a simple Hyprland monitor extension (#131)
1 parent 5bd1c12 commit cf30b80

File tree

15 files changed

+4611
-0
lines changed

15 files changed

+4611
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
vicinae-env.d.ts
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Hyprland Monitors
2+
3+
A Vicinae extension for managing monitor configurations in Hyprland. Easily adjust monitor settings including resolution, refresh rate, scaling, rotation, and positioning.
4+
5+
## Features
6+
7+
- **Resolution & Refresh Rate**: Change resolution and refresh rate from available modes
8+
- **Display Scaling**: Adjust UI scaling
9+
- **Monitor Rotation**: Rotate displays
10+
- **Positioning**: Position monitors relative to each other (Primary, Left, Right, Above, Below)
11+
12+
13+
## Commands
14+
15+
- **Monitor Settings**: Opens monitor settings and lets you configure displays
16+
- **Configure active monitor**: Opens the active monitor configuration flow directly
17+
18+
19+
## Persisted Configuration
20+
21+
Persisted configuration is optional. By default, changes are not persisted. Enable persisted mode with the **Persist Changes** preference.
22+
23+
The extension uses the following preferences:
24+
25+
### Persist Changes
26+
Default: `false`
27+
28+
When enabled, monitor changes are written to `vicinae-monitors.conf` and reused. When disabled (default), changes are applied without persisting monitor rules.
29+
30+
### Hyprland Config Path
31+
Default: `~/.config/hypr/hyprland.conf`
32+
33+
Path to your main Hyprland configuration file. The extension will automatically add a source line to include the Vicinae monitors configuration.
34+
35+
### Vicinae Monitors Config Path
36+
Default: `~/.config/hypr`
37+
38+
Directory where the extension will store the `vicinae-monitors.conf` file containing your monitor rules.
39+
40+
## Requirements
41+
42+
- Hyprland window manager must be installed and running
43+
44+
## Development
45+
46+
```bash
47+
npm install
48+
npm run dev # Development mode
49+
npm run build # Production bundle
50+
```
51+
52+
## License
53+
54+
MIT
188 KB
Loading

0 commit comments

Comments
 (0)