better monitor configuration syntax (using monitorv2), fixed icons alignment in waybar and swaync, and multiple other minor changes

This commit is contained in:
Gu://em_ 2025-07-21 15:37:01 +02:00
parent fad4736225
commit 6f0fe77ed5
11 changed files with 78 additions and 23 deletions

View file

@ -1,8 +1,8 @@
## Overrides inputs for QWERTY layout
input {
kb_layout = us
kb_variant =
kb_layout = fr
kb_variant = us
kb_model =
kb_options =
kb_rules =
@ -30,4 +30,4 @@ bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
bind = $mainMod SHIFT, 0, movetoworkspace, 10

View file

@ -3,5 +3,18 @@
################
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,preferred,auto,auto
monitor=eDP-1,preferred,0x0,1 # Laptop screen
# All screens
monitorv2 {
mode = preferred
position = auto
scale = auto
}
# Laptop screen
monitorv2 {
output = eDP-1
mode = preferred
position = 0x0
scale = 1
}

View file

@ -3,5 +3,21 @@
################
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=eDP-1,preferred,0x0,1 # Laptop screen
monitor=,preferred,auto,1, mirror, eDP-1
# Laptop screen
monitorv2 {
output = eDP-1
mode = preferred
position = 0x0
scale = 1
}
# Other monitors (mirror laptop screen)
monitorv2 {
output = *
mode = preferred
position = auto
scale = 1
mirror = eDP-1
}

View file

@ -3,8 +3,37 @@
################
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,preferred,auto,auto
monitor=eDP-1,preferred,0x0,1 # Laptop screen
monitor=DP-1, preferred, 0x-1080, 1 # HP Home monitor
monitor=DP-2, preferred, 0x-1080, 1 # HP Home monitor
monitor=HDMI-A-1, preferred, 0x-1440, 1 # Dell monitor
# Default
monitorv2 {
output = *
mode = preferred
position = auto
scale = auto
}
# Laptop screen
monitorv2 {
output = eDP-1
mode = preferred
position = 0x0
scale = 1
}
# HP home monitor
monitorv2 {
output = DP-*
mode = preferred
position = 0x-1080
scale = 1
}
# Dell monitor
monitorv2 {
output = HDMI-A-1
mode = preferred
position = 0x-1440
scale = 1
}

View file

@ -6,7 +6,7 @@
# For a full list, see the wiki
#source = ~/.config/hypr/config/monitors_default.conf
source = ~/.config/hypr/config/monitors/mirror.conf
source = ~/.config/hypr/config/monitors/perso.conf
source = ~/.config/hypr/config/environment.conf
source = ~/.config/hypr/config/input.conf
source = ~/.config/hypr/config/kb_layouts/us.conf

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 MiB

After

Width:  |  Height:  |  Size: 442 KiB

Before After
Before After

View file

View file