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=? trigger=?
[vpn] [vpn]
enabled=false enabled=true
[widgetsboxmodel] [widgetsboxmodel]
alwaysOnTop=true alwaysOnTop=true

View file

@ -1,8 +1,8 @@
## Overrides inputs for QWERTY layout ## Overrides inputs for QWERTY layout
input { input {
kb_layout = us kb_layout = fr
kb_variant = kb_variant = us
kb_model = kb_model =
kb_options = kb_options =
kb_rules = kb_rules =

View file

@ -3,5 +3,18 @@
################ ################
# See https://wiki.hyprland.org/Configuring/Monitors/ # 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/ # 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/ # See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,preferred,auto,auto
monitor=eDP-1,preferred,0x0,1 # Laptop screen # Default
monitor=DP-1, preferred, 0x-1080, 1 # HP Home monitor monitorv2 {
monitor=DP-2, preferred, 0x-1080, 1 # HP Home monitor output = *
monitor=HDMI-A-1, preferred, 0x-1440, 1 # Dell monitor 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 # For a full list, see the wiki
#source = ~/.config/hypr/config/monitors_default.conf #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/environment.conf
source = ~/.config/hypr/config/input.conf source = ~/.config/hypr/config/input.conf
source = ~/.config/hypr/config/kb_layouts/us.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; all: unset;
font-family: JetBrainsMono Nerd Font; font-family: JetBrainsMono Nerd Font Propo;
transition: 0.1s; transition: 0.1s;
font-size: 1.3rem; font-size: 1.3rem;
} }

View file

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