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

Tofi windows open on a different monitor when another window is active on the actual monitor. #174

Closed
Tomcat-42 opened this issue Jun 7, 2024 · 2 comments

Comments

@Tomcat-42
Copy link

Context

I have a three monitor setup, and every time I try to open tofi in a monitor that have another window running in them, the tofi window appear in my last monitor instead.

For example, I've spawned tofi with the middle input focused, but it windows appear in the right input:

image

But, if the current focused input doesnt have any windows, the tofi windows appears in the right place:

image

Environment

  • OS: Arch Linux
  • Compositor: river 0.4.0-dev.24+c5b1d1d
  • tofi config file:
font = "Iosevka Nerd Font"
font-size = 20
font-features = ""
font-variations = ""
hint-font = true

text-color = #ebdbb2
prompt-color = #ebdbb2
prompt-background = #00000000
prompt-background-padding = 0
prompt-background-corner-radius = 0

placeholder-color = #FFFFFFA8
placeholder-background = #00000000
placeholder-background-padding = 0
placeholder-background-corner-radius = 0

input-color = #ebdbb2
input-background = #00000000
input-background-padding = 0
input-background-corner-radius = 0

default-result-color = #ebdbb2
default-result-background = #00000000
default-result-background-padding = 0
default-result-background-corner-radius = 0

selection-color = #98971a
selection-background = #00000000
selection-background-padding = 0
selection-background-corner-radius = 0

selection-match-color = #00000000

text-cursor-style = block
text-cursor-corner-radius = 0
prompt-text = "run: "
prompt-padding = 0
placeholder-text = ""
num-results = 0
result-spacing = 0
horizontal = false
min-input-width = 0

width = 640
height = 480

background-color = #000000
outline-width = 0

outline-color = #98971a
border-width = 2

border-color = #98971a

corner-radius = 0

padding-top = 8
padding-bottom = 8
padding-left = 8
padding-right = 8

clip-to-padding = true
scale = true

#output = ""

# Supported values: top-left, top, top-right, right, bottom-right,
# bottom, bottom-left, left, center.
anchor = center

# Set the size of the exclusive zone.
#
# A value of -1 means ignore exclusive zones completely.
# A value of 0 will move tofi out of the way of other windows' zones.
# A value greater than 0 will set that much space as an exclusive zone.
#
# Values greater than 0 are only meaningful when tofi is anchored to a
# single edge.
exclusive-zone = -1

# Window offset from edge of screen. Only has an effect when anchored
# to the relevant edge. Can be pixels or a percentage.
margin-top = 0
margin-bottom = 0
margin-left = 0
margin-right = 0

hide-cursor = true
text-cursor = false
history = true

require-match = true

auto-accept-single = false


hidden-character = "*"
drun-launch = false
late-keyboard-init = false
multi-instance = false
@redbeardymcgee
Copy link

duplicate?

I'm having a similar problem.

@Tomcat-42
Copy link
Author

Actually yes, will close in favor of the other issues (which are older)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants