Giter Site home page Giter Site logo

Comments (6)

fdev31 avatar fdev31 commented on June 12, 2024 1

ok then you can ignore your remark about the "startswith".

Is "Samsung".topOf = "BOE" working ?
Can you provide the logs ?

from pyprland.

dantefromhell avatar dantefromhell commented on June 12, 2024

Not sure if this is related, but through some testing I came to the conclusion that the following config does not work

[monitors.placement]
"Samsung Electric Company LU28R55 HNMNB00590".top_Center_Of = "(eDP-1)"

It does not match the monitor connected to eDP-1.

While the following config works

[monitors.placement]
"Samsung Electric Company LU28R55 HNMNB00590".top_Center_Of = "BOE 0x095F"

I'm wondering if this related to hyprland not showing the port name in the description field of hyprctl monitors ?

My current output is

❯ hyprctl version
Hyprland, built from branch  at commit 1c460e98f870676b15871fe4e5bfeb1a32a3d6d8  ().
Date: 2024-02-28
Tag:

flags: (if any)

❯ hyprctl monitors
Monitor eDP-1 (ID 0):
	[email protected] at 2560x0
	description: BOE 0x095F
	make: BOE
	model: 0x095F
	serial:
	active workspace: 2 (2)
	special workspace: 0 ()
	reserved: 0 30 0 0
	scale: 1.00
	transform: 0
	focused: no
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false

Monitor DP-4 (ID 1):
	[email protected] at 0x0
	description: Samsung Electric Company LU28R55 HNMNB00590
	make: Samsung Electric Company
	model: LU28R55
	serial: HNMNB00590
	active workspace: 4 (4)
	special workspace: 0 ()
	reserved: 0 30 0 0
	scale: 1.50
	transform: 0
	focused: yes
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false

from pyprland.

fdev31 avatar fdev31 commented on June 12, 2024

This is already implemented, maybe you are using "old" behavior by forcing full_relayout=false ?

if not, then it is implemented as you suggest ("contains", not "regex", I want to keep it simple for the users...)

On the other hand, I'm wondering why you don't have the port name in the description... indeed this prevents from using the "port" syntax... I'll try to figure a workaround for that issue.

from pyprland.

dantefromhell avatar dantefromhell commented on June 12, 2024

This is already implemented, maybe you are using "old" behavior by forcing full_relayout=false ?

I'm using commit a85401c and full_relayout is set to default value.

from pyprland.

fdev31 avatar fdev31 commented on June 12, 2024

Closing since this requests an existing feature, assuming this is duplicate of #64

from pyprland.

dantefromhell avatar dantefromhell commented on June 12, 2024

Closing since this requests an existing feature, assuming this is duplicate of #64

Agreed.

from pyprland.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.