rxxrc@lemmy.mltoLinux@lemmy.ml•PSA: Remember to also check hidden directories you don't even know about for waste of space
8·
2 months agoshopt -s dotglob
will make *
include .dotfiles.
shopt -s dotglob
will make *
include .dotfiles.
after calling Australia’s emergency line 001
So close.
I’m on Wayland these days, but if you happen to be using X11 this is the homebrew solution I used to use:
xdotool type --delay 50 "$(xclip -o -sel c)"
The
--delay
argument specifies the delay in milliseconds between keystrokes; if you go too low on that it tends to break things.Interested to see what solrize comes up with because this method definitely has drawbacks – no way to interrupt it and if you accidentally paste something large it takes a long time to finish due to the forced delays.
I’ve never really had the need for a Wayland version, but I don’t see why subbing
ydotool
forxdotool
andwl-paste
forxclip
wouldn’t work.