#fix xclip DISPLAY null

This commit is contained in:
iddoeldor 2020-02-11 16:05:12 +02:00 committed by GitHub
parent d722ec7b3a
commit ef1467de12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ function run_shell_action() {
local command_to_run="$1"
if [[ ! -z $command_to_run ]]; then
tmux run-shell -b "printf \"$(escape_quotes "${state[final_result]}")\" | MODIFIER=${state[modifier]} HINT=${state[input]} $EXEC_PREFIX $command_to_run"
tmux run-shell -b "printf \"$(escape_quotes "${state[final_result]}")\" | DISPLAY=:0 MODIFIER=${state[modifier]} HINT=${state[input]} $EXEC_PREFIX $command_to_run"
fi
}