fixes multi-monitor setup fullscreen switching on the first monitor

This commit is contained in:
2025-12-02 21:12:25 +01:00
parent 649e324ac7
commit 03e8aa1343
12 changed files with 58 additions and 54 deletions

View File

@@ -28,3 +28,6 @@ exec-once = $idlehandler
# https://github.com/hyprwm/Hyprland/issues/2319#issuecomment-2409983376 # https://github.com/hyprwm/Hyprland/issues/2319#issuecomment-2409983376
exec-once = wl-paste -t text -w xclip -selection clipboard & exec-once = wl-paste -t text -w xclip -selection clipboard &
exec-once = wl-paste --watch cliphist store & exec-once = wl-paste --watch cliphist store &
# pyprland
exec-once = /usr/bin/pypr --debug /tmp/pypr.log

View File

@@ -1,19 +1,19 @@
$wallpaper = /usr/share/wallpapers/downloaded/pexels-zetong-li-880728-18780512.jpg $wallpaper = /usr/share/wallpapers/downloaded/pexels-eberhardgross-1421903.jpg
$background = rgb(0D0F10) $background = rgb(0D0E0E)
$foreground = rgb(FCF1D3) $foreground = rgb(E9FDFF)
$color0 = rgb(38393A) $color0 = rgb(383939)
$color1 = rgb(7F4E47) $color1 = rgb(6E544A)
$color2 = rgb(7D7F54) $color2 = rgb(727F7E)
$color3 = rgb(8B7C7D) $color3 = rgb(93796E)
$color4 = rgb(61868C) $color4 = rgb(839CA5)
$color5 = rgb(D2D1E6) $color5 = rgb(BCA592)
$color6 = rgb(F5D782) $color6 = rgb(C0FAFF)
$color7 = rgb(F2E3B8) $color7 = rgb(D7F4F7)
$color8 = rgb(A99F81) $color8 = rgb(97ABAD)
$color9 = rgb(7F4E47) $color9 = rgb(6E544A)
$color10 = rgb(7D7F54) $color10 = rgb(727F7E)
$color11 = rgb(8B7C7D) $color11 = rgb(93796E)
$color12 = rgb(61868C) $color12 = rgb(839CA5)
$color13 = rgb(D2D1E6) $color13 = rgb(BCA592)
$color14 = rgb(F5D782) $color14 = rgb(C0FAFF)
$color15 = rgb(F2E3B8) $color15 = rgb(D7F4F7)

View File

@@ -9,16 +9,16 @@ source = ~/.config/hypr/config/colors.conf
decoration { decoration {
active_opacity = 1 active_opacity = 1
inactive_opacity = 0.7 inactive_opacity = 0.7
rounding = 10 rounding = 3
dim_inactive = true dim_inactive = true
dim_strength = 0.1 dim_strength = 0.1
# https://wiki.hyprland.org/0.45.0/Configuring/Variables/#blur # https://wiki.hyprland.org/0.45.0/Configuring/Variables/#blur
blur { blur {
size = 15 size = 30
passes = 2 # more passes = more resource intensive. passes = 2 # more passes = more resource intensive.
xray = true xray = true
noise = 0.03 noise = 0.01
} }
# https://wiki.hyprland.org/0.45.0/Configuring/Variables/#shadow # https://wiki.hyprland.org/0.45.0/Configuring/Variables/#shadow

View File

@@ -2,7 +2,7 @@
# ┃ Defaults Configuration ┃ # ┃ Defaults Configuration ┃
# ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ # ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
$filemanager = dolphin $filemanager = nemo
$applauncher = tofi-drun --drun-launch=true $applauncher = tofi-drun --drun-launch=true
#$applauncher = rofi -show combi -modi window,run,combi -combi-modi window,run #$applauncher = rofi -show combi -modi window,run,combi -combi-modi window,run
$terminal = kitty $terminal = kitty

View File

@@ -7,13 +7,13 @@ envd = XCURSOR_SIZE,24
envd = QT_CURSOR_SIZE,24 envd = QT_CURSOR_SIZE,24
# Force electron apps to use wayland # Force electron apps to use wayland
# env = ELECTRON_OZONE_PLATFORM_HINT, auto env = ELECTRON_OZONE_PLATFORM_HINT,wayland
# env = QT_QPA_PLATFORM, wayland env = QT_QPA_PLATFORM, wayland
# env = SDL_VIDEODRIVER, wayland env = SDL_VIDEODRIVER, wayland
# env = CLUTTER_BACKEND, wayland env = CLUTTER_BACKEND, wayland
# env = XDG_SESSION_TYPE, wayland env = XDG_SESSION_TYPE, wayland
# env = MOZ_ENABLE_WAYLAND, 1 env = MOZ_ENABLE_WAYLAND, 1
# env = NIXOS_OZONE_WL, 1 env = NIXOS_OZONE_WL, 1
# fixes full screen flickering # fixes full screen flickering
env = WLR_DRM_NO_DIRECT_SCANOUT,1 env = WLR_DRM_NO_DIRECT_SCANOUT,1

View File

@@ -4,10 +4,15 @@
# Monitor wiki https://wiki.hyprland.org/0.45.0/Configuring/Monitors/ # Monitor wiki https://wiki.hyprland.org/0.45.0/Configuring/Monitors/
monitor = eDP-2, highres@highrr, 0x0, 1, vrr, 0 monitor = desc:BOE NE156FHM-NX6, highres@highrr, 0x0, 1, vrr, 1
monitor = DP-2, highres@highrr, auto-left, 1, vrr, 0 # monitor = DP-2, highres@highrr, auto-left, 1, vrr, 0
monitor = HDMI-A-1, highres@highrr, auto-left, 1, transform, 1 monitor = HDMI-A-1, highres@highrr, auto-right, 1, transform, 1
monitor = desc:Samsung Electric Company S24F350 H4ZK111233, highres@highrr, auto-right, 1, transform, 1
monitor = desc:Samsung Electric Company S24F350 H4ZR302705, highres@highrr, auto-right, 1
#monitor = desc:Samsung Electric Company S24F350 H4ZR302705, highres@highrr, auto-right, 1
# monitor = HDMI-A-1, highres@highrr, auto-right, 1, vrr, 0
# If you need to scale things like steam etc, please uncomment these lines. # If you need to scale things like steam etc, please uncomment these lines.
# Adjust GDK_SCALE accordingly to your liking. # Adjust GDK_SCALE accordingly to your liking.

View File

@@ -20,15 +20,6 @@ general {
} }
} }
# https://wiki.hyprland.org/0.45.0/Configuring/Variables/#gestures
gestures {
workspace_swipe = true
workspace_swipe_fingers = 4
workspace_swipe_distance = 250
workspace_swipe_min_speed_to_force = 15
workspace_swipe_create_new = false
}
# https://wiki.hyprland.org/0.45.0/Configuring/Variables/#group # https://wiki.hyprland.org/0.45.0/Configuring/Variables/#group
group { group {
col.border_active = $color6 col.border_active = $color6
@@ -90,3 +81,8 @@ master {
cursor { cursor {
no_hardware_cursors = true no_hardware_cursors = true
} }
device {
name = logitech-gaming-mouse-g502
sensitivity=0.9
}

View File

@@ -7,10 +7,6 @@ workspace = 2, monitor:eDP-2
workspace = 3, monitor:eDP-2 workspace = 3, monitor:eDP-2
workspace = 4, monitor:eDP-2 workspace = 4, monitor:eDP-2
workspace = 5, monitor:DP-2 workspace = 7, monitor:desc:Samsung Electric Company S24F350 H4ZR302705
workspace = 6, monitor:DP-2
workspace = 7, monitor:DP-2
workspace = 8, monitor:DP-2 workspace = 8, monitor:DP-2
workspace = 9, monitor:HDMI-A-1
workspace = 7, monitor:HDMI-A-1
workspace = 8, monitor:HDMI-A-1

View File

@@ -22,8 +22,8 @@ listener {
on-timeout = ~/.config/swaylock/lockscript.sh # lock screen when timeout has passed on-timeout = ~/.config/swaylock/lockscript.sh # lock screen when timeout has passed
} }
listener { # listener {
timeout = 900 # 15min # timeout = 900 # 15min
on-timeout = hyprctl dispatch dpms off 5.5 # screen off when timeout has passed # on-timeout = hyprctl dispatch dpms off 5.5 # screen off when timeout has passed
on-resume = hyprctl dispatch dpms on && brightnessctl -r # screen on when activity is detected after timeout has fired. # on-resume = hyprctl dispatch dpms on && brightnessctl -r # screen on when activity is detected after timeout has fired.
} # }

View File

@@ -0,0 +1,4 @@
[pyprland]
plugins = [
"shift_monitors",
]

View File

@@ -79,8 +79,8 @@ profile_dual() {
profile_triple() { profile_triple() {
# Ensure both externals are on (and only those two) # Ensure both externals are on (and only those two)
disable_all_externals disable_all_externals
enable_line "$EXT2" # ext2 first so it appears in the middle
enable_line "$EXT1" enable_line "$EXT1"
enable_line "$EXT2"
# You can drop EXT_FALLBACK if you don't actually need it: # You can drop EXT_FALLBACK if you don't actually need it:
# enable_line "$EXT_FALLBACK" # enable_line "$EXT_FALLBACK"
notify "Profile: Triple" "Enabled both externals" notify "Profile: Triple" "Enabled both externals"

View File