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

@ -95,7 +95,7 @@ enabled=true
trigger=?
[vpn]
enabled=false
enabled=true
[widgetsboxmodel]
alwaysOnTop=true

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

View file

View file

View file

@ -4,7 +4,7 @@
* {
all: unset;
font-family: JetBrainsMono Nerd Font;
font-family: JetBrainsMono Nerd Font Propo;
transition: 0.1s;
font-size: 1.3rem;
}

View file

@ -3,7 +3,7 @@
* {
font-size: 17px;
font-family: "JetBrainsMono Nerd Font,JetBrainsMono NF";
font-family: "JetBrainsMono Nerd Font Propo";
min-width: 8px;
min-height: 0px;
border: none;
@ -86,7 +86,7 @@ tooltip label {
border-radius: 0.15em;
margin: 2px 1px 3px 1px;
background: alpha(darker(@active), 0.25);
border: 1px solid alpha(darker(@active), 0.1);
border: 1px solid alpha(darker(@active), 0.0);
}
/* Override specific parameters*/
@ -177,18 +177,15 @@ tooltip label {
}
#network.wifi {
padding-right: 5px;
margin: 2px 0px;
margin: 2px;
}
#network.disconnected {
padding-right: 5px;
margin: 2px 0px;
margin: 2px;
}
#network.ethernet {
padding-right: 3px;
margin: 2px 0px;
margin: 2px;
}
#submap {