summarylogtreecommitdiffstats
path: root/xdg-open.sh
diff options
context:
space:
mode:
authorKirikaze Chiyuki2024-04-13 21:28:48 +0800
committerKirikaze Chiyuki2024-04-13 21:28:48 +0800
commit9b4d89569bff09c4f74bb8d43cd77ed1e306bcd3 (patch)
tree955f67998dc17b646173a9e72ac3cac3480576fb /xdg-open.sh
parent75d01f8b4446269708922c808453b435943b21c1 (diff)
downloadaur-9b4d89569bff09c4f74bb8d43cd77ed1e306bcd3.tar.gz
[fix] Wayland 下鼠标指针不正确问题
Diffstat (limited to 'xdg-open.sh')
-rwxr-xr-xxdg-open.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/xdg-open.sh b/xdg-open.sh
index cfdc9c1da0a8..e3c10870a031 100755
--- a/xdg-open.sh
+++ b/xdg-open.sh
@@ -5,6 +5,10 @@ URI_TO_OPEN="$1"
# 一个是为了打开链接,一个是为了使用本地图片查看器打开本地图片
# 请不要因为你认为依赖重复就把软件包标记为过期
+# 2024.04.13 Update: 现在 flatpak-xdg-open 可以打开链接了
+# 但是反应极其迟缓,点击链接之后需要等待大概半分钟才能打开
+# 因此,snapd-xdg-open 依赖仍然保留
+
if ! [ "${URI_TO_OPEN:0:8}" == "jsbridge" ]; then
if [ "${URI_TO_OPEN:0:4}" == "http" ]; then
/snapd-xdg-open "$URI_TO_OPEN"