Skip to content
This repository was archived by the owner on May 12, 2024. It is now read-only.

Support xdotool as well as ydotool#1

Open
forbesmyester wants to merge 6 commits intoFunctionalHacker:masterfrom
forbesmyester:master
Open

Support xdotool as well as ydotool#1
forbesmyester wants to merge 6 commits intoFunctionalHacker:masterfrom
forbesmyester:master

Conversation

@forbesmyester
Copy link

No description provided.

@FunctionalHacker
Copy link
Owner

Thanks a lot! I will try to go through your code during this week, test it, merge and tag a new release.

I assume xdotool compability is for when we get this to run WM agnostic? Because right now this is Sway only.

fzf-pass Outdated

function ldotool {
ydotool type ""
if [ $? eq 0 ]; then
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I get this error on my machine:

./fzf-pass: line 6: [: eq: binary operator expected

fzf-pass Outdated
if [ $? eq 0 ]; then
ydotool "$@"
else
xdotool "$@"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have xdotool installed on my machine so I get this:

./fzf-pass: line 9: xdotool: command not found

This is probably related to the error on line 6, see my comment there.

Copy link
Owner

@FunctionalHacker FunctionalHacker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check my comments on line 6 and 9. This looks like a simple syntax error so should be an easy fix

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants