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

Add Unix (bash; for X envs) script #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

konfou
Copy link

@konfou konfou commented Mar 10, 2021

This is a translation of the Python script to output a Bash rather an AH script, which functions similarly for X environments (depending on xsel and xdotool tools). It's supposed to run with keybinding set in desktop environment or using a hotkey daemon (such as sxkhkd).

konfou added 2 commits March 9, 2021 23:39
Reordered first  sleep and `xdotool` because  otherwise it doesn't
copy text.  Also make `xdotool` optional using PRIMARY (selection)
but text won't be replaced if `xdotool` isn't found.
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

Successfully merging this pull request may close these issues.

1 participant