Skip to content

Hyprland gives a black screen due to hardcoded monitor name #7

@xfcasio

Description

@xfcasio

I hardcoded monitor names so that It's easier to switch between laptop screen and desktop monitor with a script, however this
fails for people with different monitor names, we should do one of the following to solve this:

  1. install.sh detects primary monitor name and search-and-replaces it into a copied installation of hyprland.conf
    • note: this approach means the installer will no longer install hyprland.conf as a symlink but as a copy
    • note: which means on each change in hyprland.conf, install.sh will have to be rerun
  2. install.sh has variables the user sets for monitor name(s)
    • same issues as 1)
  3. we simply remove this section and let hyprland select the monitor automatically (easiest, likely extra script will be needed to add the removed snippet for me)
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions