6 lines
189 B
Bash
Executable File
6 lines
189 B
Bash
Executable File
#!/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
|