hyprwm / contrib

Community scripts and utilities for Hypr projects
MIT License
284 stars 39 forks source link

try_swap_workspace: doesn't work properly if you disable a monitor/change it's settings #107

Open jabuxas opened 3 months ago

jabuxas commented 3 months ago

Program

try_swap_workspace

Maintainers of the program

schievel1

Bug or Regression?

Bug

Description

If you disable a monitor in hyprland config's, try_swap_workspace will be buggy and not work at all. If you change any monitor configuration in hyprland, you most likely will need a reboot/restart hyprland for it to work. In my case, I have a monitor enabled that I sometimes turn on, and turning it on/off make me have to restart hyprland.

How to reproduce

  1. Disable a monitor in hyprland's config
  2. Start hyprland
  3. Won't work

Hyprland crash reports, program logs, images, videos

this works image but if i turn on my dp-3 (rarely used monitor), i need to restart hyprland

this doesn't work at all. image

fufexan commented 3 months ago

@Schievel1