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

Tdrop autohide wayland error #422

Open
neondeex opened this issue Jul 10, 2023 · 4 comments
Open

Tdrop autohide wayland error #422

neondeex opened this issue Jul 10, 2023 · 4 comments

Comments

@neondeex
Copy link

⌠ ΠΣΔΠ ⚡⌡► WAYLAND_DISPLAY=no tdrop -n tdrop-thunar -a auto_hide -mta -w45% -h75% -y0 -x25% thunar --class=tdrop_thunar

XGetWindowProperty[NET_ACTIVE_WINDOW] failed (code=1)
xdo_get_active_window reported an error
/usr/bin/tdrop: line 705: /tmp/tdrop_neondeex
:1/classes/: Is a directory
/usr/bin/tdrop: line 769: /tmp/tdrop_neondeex_:1/geometries/: Is a directory
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 10 (X_UnmapWindow)
Resource id in failed request: 0x0
Serial number of failed request: 18
Current serial number in output stream: 20

@I-Want-ToBelieve
Copy link

I-Want-ToBelieve commented Jul 11, 2023

@neondeex hi
tdrop don't support wayland, but support xwayland.

plz see https://github.com/noctuid/tdrop#wayland-support

for example:
WAYLAND_DISPLAY=no tdrop -n tdrop_terminal --post-create-hook "autohide-tdrop &" -mta -h 60% -w 70% -x 15% -y 0 alacritty --class=tdrop_terminal

and

WAYLAND_DISPLAY=no tdrop -n tdrop-thunar --post-create-hook "autohide-tdrop &" -mta -h 60% -w 70% -x 15% -y 0 thunar --class=tdrop-thunar

Recording 2023-07-11 at 16 54 19

@neondeex
Copy link
Author

tdrop -am -w45% -h75% -y0 -x25% thunar this was my previous key mapping and it hides the dropdown when pressing again now my new one in wayland (WAYLAND_DISPLAY=no tdrop -n tdrop-thunarx -mta -h60% -w70% -x25% -y0 thunar --class=tdrop-thunar) just create a new window every time

@neondeex
Copy link
Author

neondeex commented Aug 3, 2023

@neondeex hi tdrop don't support wayland, but support xwayland.

plz see https://github.com/noctuid/tdrop#wayland-support

for example: WAYLAND_DISPLAY=no tdrop -n tdrop_terminal --post-create-hook "autohide-tdrop &" -mta -h 60% -w 70% -x 15% -y 0 alacritty --class=tdrop_terminal

and

WAYLAND_DISPLAY=no tdrop -n tdrop-thunar --post-create-hook "autohide-tdrop &" -mta -h 60% -w 70% -x 15% -y 0 thunar --class=tdrop-thunar

Recording 2023-07-11 at 16 54 19

image
I get this error and i want to use kitty so bad

@I-Want-ToBelieve
Copy link

I-Want-ToBelieve commented Aug 21, 2023

@neondeex
WAYLAND_DISPLAY=no KITTY_DISABLE_WAYLAND=1 tdrop -n tdrop_terminl --post-create-hook "autohide-tdrop &" -mta -h 65% -w 70% -x 15% -y 0 kitty --class tdrop_terminl

I-Want-ToBelieve/autohide-tdrop#4 (comment)

KITTY_DISABLE_WAYLAND=1

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