Switch to xclip from xsel
This commit is contained in:
parent
6a3c7b8b74
commit
fd117d7747
1 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,8 @@ if session_type == nil or session_type == "" then
|
||||||
end
|
end
|
||||||
|
|
||||||
function decode_clipboard_x11()
|
function decode_clipboard_x11()
|
||||||
awful.spawn("sh -c \"sel --clipboard | sed 's/^ *//g' | gpg2 -d | gvim -\"")
|
naughty.notify({ text = "Decoding PGP message" })
|
||||||
|
awful.spawn.with_shell("xclip -selection clipboard -out | sed 's/^ *//g' | gpg2 -d | gvim -")
|
||||||
end
|
end
|
||||||
|
|
||||||
function decode_clipboard_wayland()
|
function decode_clipboard_wayland()
|
||||||
|
|
Loading…
Reference in a new issue