]> git.rmz.io Git - dotfiles.git/blobdiff - qutebrowser/proxy.pac
qutebrowser: add proxy-pac to qt.args
[dotfiles.git] / qutebrowser / proxy.pac
diff --git a/qutebrowser/proxy.pac b/qutebrowser/proxy.pac
new file mode 100644 (file)
index 0000000..8d2ec82
--- /dev/null
@@ -0,0 +1,11 @@
+function FindProxyForURL(url, host) {
+    if (shExpMatch(host, "*slack*")) {
+        return "DIRECT";
+    }
+    if (shExpMatch(host, "*focalpointpositioning*"))
+    {
+        return "SOCKS5 localhost:1080";
+    }
+
+    return "DIRECT";
+}