fix opening links on non-uwsm and disable file watcher when shell is installed

This commit is contained in:
2026-05-25 11:00:34 +02:00
parent b4020438f9
commit f2f9fa1302
4 changed files with 15 additions and 2 deletions
+4 -1
View File
@@ -136,7 +136,10 @@ CustomRect {
wrapMode: Text.WordWrap
onLinkActivated: link => {
Quickshell.execDetached(["app2unit", "-O", "--", link]);
if (Config.launcher.uwsm)
Quickshell.execDetached(["app2unit", "-O", "--", link]);
else
Quickshell.execDetached(["xdg-open", link]);
root.visibilities.sidebar = false;
}
}