Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Support specifying multiple displays in Wayland #2106

Open
abkein opened this issue Dec 7, 2024 · 1 comment
Open

[Feature]: Support specifying multiple displays in Wayland #2106

abkein opened this issue Dec 7, 2024 · 1 comment
Labels
blocked can't be fixed until something else is resolved first display: wayland related to Wayland backend feature suggest addition of new functionality that isn't currently supported in any way

Comments

@abkein
Copy link

abkein commented Dec 7, 2024

What happened?

Here is the picture:
swappy-20241208-015609
As you can see, pdf document is present on both screens, but the conky is not. If I increase gap_x further (bigger than monitor's x-resolution), conky becomes fully invisible.
The same if open conky on the second monitor and set gap_x negative:
swappy-20241208-020241

The main problem is that conky opens on the monitor the mouse was on, so usage of relative positioning becomes hard or impossible, if you want the conky to be at constant position.

Platform:

Hyprland 0.45.2 built from branch  at commit 12f9a0d0b93f691d4d9923716557154d74777b0a  ([gha] Nix: update inputs).
Date: Tue Nov 19 21:47:18 2024
Tag: v0.45.2, commits: 5451
built against aquamarine 0.5.0

OS: Arch Linux x86_64
Kernel: Linux 6.12.1-arch1-1
Display (Mi monitor): 3440x1440 @ 60 Hz in 35" [External]
Display (SA240Y): 1920x1080 @ 75 Hz in 24" [External]
Display (TMX2005): 3200x2000 @ 120 Hz (as 2003x1252) in 16" [Built-in]

Version

Latest commit 28a39cb built with these flags

Which OS/distro are you seeing the problem on?

Arch Linux

Conky config

se,
    show_graph_scale = false,
    stippled_borders = 0,
    update_interval = 1.0,
    uppercase = false,
    use_spacer = 'none',
--    use_xft = true,
}

-- Variables: https://conky.cc/variables
conky.text = [[
${color grey}Info:$color ${scroll 32 Conky $conky_version - $sysname $nodename $kernel $machine}
$hr
${color grey}Uptime:$color $uptime
${color grey}Frequency (in MHz):$color $freq
${color grey}Frequency (in GHz):$color $freq_g
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color grey}CPU Usage:$color $cpu% ${cpubar 4}
${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes
$hr
${color grey}File systems:
 / $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
${color grey}Networking:
Up:$color ${upspeed} ${color grey} - Down:$color ${downspeed}
$hr
${color grey}Name              PID     CPU%   MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
]]

Stack trace

No response

Relevant log output

No response

@abkein abkein added bug related to incorrect existing implementation of some functionality triage issue that hasn't been verified, categorized or acknowledged yet labels Dec 7, 2024
@Caellian Caellian added display: wayland related to Wayland backend and removed triage issue that hasn't been verified, categorized or acknowledged yet labels Dec 8, 2024
@Caellian Caellian added this to the Wayland Support milestone Dec 8, 2024
@Caellian Caellian added blocked can't be fixed until something else is resolved first and removed blocked can't be fixed until something else is resolved first labels Dec 8, 2024
@Caellian
Copy link
Collaborator

Caellian commented Dec 8, 2024

I'm splitting this issue into two smaller ones.

This issue now tracks:

  • Add support for creating multiple wayland surfaces per single conky instance.
  • Enable display to specify a semicolon separated list of displays.
  • Allow display = "*" which targets all displays.

Conky currently assumes a single output/monitor is available and:

  • uses dimension information of last reported/connected monitor,
  • requires placement on last focused/used monitor.

@Caellian Caellian changed the title [Bug]: Conky is not shown on other screen (wayland) [Feature]: Support specifying multipley displays in Wayland Dec 8, 2024
@Caellian Caellian added feature suggest addition of new functionality that isn't currently supported in any way blocked can't be fixed until something else is resolved first and removed bug related to incorrect existing implementation of some functionality labels Dec 8, 2024
@Caellian Caellian changed the title [Feature]: Support specifying multipley displays in Wayland [Feature]: Support specifying multiple displays in Wayland Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked can't be fixed until something else is resolved first display: wayland related to Wayland backend feature suggest addition of new functionality that isn't currently supported in any way
Projects
None yet
Development

No branches or pull requests

2 participants