Skip to content

Commit 901d049

Browse files
committed
Add monitor arranger script and configuration files for Hyprland
1 parent 72ec848 commit 901d049

4 files changed

Lines changed: 587 additions & 7 deletions

File tree

39.9 KB
Binary file not shown.

dotfiles/hypr/hyprland.conf

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
# ---- Monitors (use `hyprctl monitors` to find names) ----
2-
# Dell U2414H on the left, rotated 90° CW (portrait → 1080×1920 logical)
3-
monitor = DP-2, 1920x1080@60, 0x-310, 1, transform, 1
4-
# AOC Q32G2WG3 to the right of the Dell
5-
monitor = DP-1, 2560x1440@165, 1080x0, 1
6-
# Fallback for anything else plugged in later
7-
monitor = , preferred, auto, 1
1+
# ---- Monitors ----
2+
# Monitor layout lives in monitors.conf and is edited graphically with the
3+
# arranger (SUPER+SHIFT+D). Use `hyprctl monitors` to find connector names.
4+
source = ~/.config/hypr/monitors.conf
85

96
# ---- Wayland / portal env (needed for screen share, file pickers, etc.) ----
107
# 1. Push env into systemd/dbus so portals dbus-activated later see the right
@@ -113,6 +110,7 @@ bind = $mod SHIFT, R, exec, ~/.config/hypr/reload-watcher.sh
113110
bind = $mod CTRL SHIFT, R, exec, hyprctl reload # re-apply hyprland.conf if it ever drops to defaults
114111
bind = $mod SHIFT, P, exec, waypaper # GUI wallpaper picker
115112
bind = $mod SHIFT, A, exec, ~/.config/hypr/toggle-startup-apps.sh # toggle startup apps on/off
113+
bind = $mod SHIFT, D, exec, ~/.config/hypr/monitor-arranger.py # GUI monitor arranger
116114

117115
# Wallpaper picker -- terminal fzf UI with image previews (kitty + kitten icat).
118116
# Enter applies to all monitors; Alt-1 / Alt-2 target DP-1 / DP-2 individually.

0 commit comments

Comments
 (0)