Skip to content

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

Open
konfou wants to merge 2 commits into
dspinellis:masterfrom
konfou:add-unix
Open

Add Unix (bash; for X envs) script#1
konfou wants to merge 2 commits into
dspinellis:masterfrom
konfou:add-unix

Conversation

@konfou

@konfou konfou commented Mar 10, 2021

Copy link
Copy Markdown

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