Skip to content

Commit 7eb1208

Browse files
committed
fix: pasting
Close [Bug]: paste_string function incorrectly detecting if ran interactively #685 Close #685
1 parent aa49b3f commit 7eb1208

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Configs/.local/lib/hyde/globalcontrol.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ get_rofi_pos() {
439439
#? handle pasting
440440
paste_string() {
441441
if ! command -v wtype >/dev/null; then exit 0; fi
442-
if [ -t 0 ] || [ -t 1 ]; then return 0; fi
442+
if [ -t 1 ]; then return 0; fi
443443
ignore_paste_file="$HYDE_STATE_HOME/ignore.paste"
444444

445445
if [[ ! -e "${ignore_paste_file}" ]]; then

0 commit comments

Comments
 (0)