Skip to content
This repository has been archived by the owner on Nov 21, 2022. It is now read-only.

feature request: wayland support #7

Open
Soundtoxin opened this issue Nov 1, 2020 · 0 comments
Open

feature request: wayland support #7

Soundtoxin opened this issue Nov 1, 2020 · 0 comments

Comments

@Soundtoxin
Copy link

On Wayland there is a program called wofi which aims to be an equivalent to rofi (roughly). Replacing the rofi command in the m() function at the top of the script got things mostly working, but there was some weirdness. The password to unlock the DB wasn't obscured, the prompt couldn't be resized the same way, and the text couldn't be copied at the end. I was however able to see a list of my database entries and filter through them, then select an action.
As for the text-copying, pretty much just replace xclip-sel clip with wl-copy.
If some sort of logic (or just an argument to the script) could determine the user is on Wayland, then you could have a few alternate cases for the differences.

Here is the repo for wofi.
https://hg.sr.ht/~scoopta/wofi

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

No branches or pull requests

1 participant