Add support for Clipboard backend on Termite, XTerm, UXTerm and Konsole on Linux. Fix #90
This commit is contained in:
parent
b542800c03
commit
498e2e5550
|
@ -440,6 +440,12 @@ int32_t is_current_window_terminal() {
|
||||||
return 1;
|
return 1;
|
||||||
}else if (strstr(class_buffer, "URxvt") != NULL) { // Manjaro terminal
|
}else if (strstr(class_buffer, "URxvt") != NULL) { // Manjaro terminal
|
||||||
return 1;
|
return 1;
|
||||||
|
}else if (strstr(class_buffer, "XTerm") != NULL) { // XTerm and UXTerm
|
||||||
|
return 1;
|
||||||
|
}else if (strstr(class_buffer, "Termite") != NULL) { // Termite
|
||||||
|
return 1;
|
||||||
|
}else if (strstr(class_buffer, "konsole") != NULL) { // KDE Konsole
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user