.
This commit is contained in:
5
home/.local/bin/select-and-copy
Executable file
5
home/.local/bin/select-and-copy
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
path=$(lf -selection-path=/dev/stdout | tail -n 1)
|
||||
copyq copy "$(xdg-mime query filetype "$path")" - < "$path"
|
||||
niri msg action focus-window-previous && sleep .1s && copyq paste
|
||||
Reference in New Issue
Block a user