Comments (3)
Looking at the plugin, you would need to edit the script as follows.
First, you need to define the list of DNS servers you want to use from Control D. Where you mention wanting to also use Cloudflare, look for this block in the script
# shellcheck disable=2034
cloudflare="1.1.1.1
1.0.0.1"
and add your Control D IP addresses after it
# shellcheck disable=2034
cloudflare="1.1.1.1
1.0.0.1"
# shellcheck disable=2034
controld="X.X.X.X
Y.Y.Y.Y"
Where you just want these two, you want to change this line
enabled_dns_address=(cloudflare google level3 opendns norton default)
to be this
enabled_dns_address=(cloudflare controld default)
Once you have saved those changes, reload the plugin. Should see just Cloudflare and Control D servers as options.
from xbar-plugins.
Thanks for the quick reply! That worked great to edit the server list. And now the plugin displays the current dns settings in xbar. But it doesn't change to a different server when I click on it in xbar. I'm running Sonoma 14.3, in case that has anything to do with it.
from xbar-plugins.
I am not using this plugin anymore @everykindofpeople
FYI the DNS switcher utilizes networksetup command to change the DNS, you may read the documentation here https://www.unix.com/man-page/osx/8/networksetup/
xbar-plugins/Network/dnsswitcher.1d.sh
Line 101 in 584c6df
I think you can try that it's still working fine with Sonoma or not by running the networksetup directly in your terminal, but try to close the Xbar app first.
This tutorial may helpful for you https://blog.kandji.io/managing-network-settings-on-macos-big-sur-and-mac-address-randomization-in-ios-14
from xbar-plugins.
Related Issues (20)
- 001-emojiWeather.30m.js: request module has been deprecated HOT 1
- Adding a New System Information Plugin HOT 4
- notifications.30s.py: add support for Discussions notifications HOT 1
- Error when running script cmd line ":22:in `<main>': uninitialized constant API (NameError)" HOT 8
- 001-redditnotify.30s.py: Error when running HOT 4
- 001-bandwidth.1s.py: HOT 2
- 001-rbc.10m.sh: HOT 2
- Plugin can't call itself
- 001-robinhood.1m.py: HOT 1
- 001-exchange-rates.5m.sh: HOT 2
- xbar shows no icons at all if any plugin can't be executed HOT 1
- Open App HOT 3
- no module emoji
- 001-pubmed.py: HOT 7
- 001-pubmed.py: HOT 3
- orctoprint plugin doesn't show ETA
- Xbar result and terminal output differs
- 001-sureflap.15s.rb:
- 007-CalendarLite.1m.sh: HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xbar-plugins.