eklairs / tlock

Two-Factor Authentication Tokens Manager in Terminal
MIT License
132 stars 5 forks source link

[BUG][Wayland] Not supported on non-wlroots based compositors specifically kwin #10

Open olivertzeng opened 1 month ago

olivertzeng commented 1 month ago

Describe the bug 🐛

No response

To Reproduce 🐣

No response

Expected behavior 🤔

No response

Screenshots 🧐

No response

How did you download tlock?

None

What is your operating system?

None

olivertzeng commented 1 month ago

Hey it should be fixed with the #8.

Here is the linux/amd64 build, lemme know if it works: file.io/4ev9WtE0lget

it isn't because i've already tested the tlock binary built from source before creating this issue

what i meant is that

❯ grim
compositor doesn't support wlr-screencopy-unstable-v1

the wlr-screencopy-unstable-v1 protocal isn't available on non-wlroot compositors

olivertzeng commented 1 month ago

maybe you should think of a more generic approach on screenshotting

eklairs commented 1 month ago

Hey it should be fixed with the #8. Here is the linux/amd64 build, lemme know if it works: file.io/4ev9WtE0lget

it isn't because i've already tested the tlock binary built from source before creating this issue

what i meant is that

❯ grim
compositor doesn't support wlr-screencopy-unstable-v1

the wlr-screencopy-unstable-v1 protocal isn't available on non-wlroot compositors

I see.... hm..... interesting. Will have to add some wrappers for non-wlroot compositors.

maybe you should think of a more generic approach on screenshotting

Well I guess so, but there is no library (afaik) in go currently that supports this. I will look into other language's libraries and maybe port them if needed.