Sanitized cliphistory.
This commit is contained in:
parent
4d25b2e7b3
commit
10a658bd5b
|
@ -70,7 +70,7 @@ on-select(){
|
|||
local file
|
||||
file="$(parse-file "${result}")"
|
||||
wl-copy < "$file"
|
||||
swaymsg exec "ydotool type \"$(wl-paste)\""
|
||||
swaymsg exec "ydotool type $(wl-paste | sed -e "s/'/'\\\\''/g; 1s/^/'/; \$s/\$/'/")"
|
||||
}
|
||||
|
||||
menu(){
|
||||
|
|
Loading…
Reference in New Issue
Block a user