-
Couldn't load subscription status.
- Fork 11
Custom dns #56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Custom dns #56
Conversation
| property string userDesc: "Today is a good day to have a good day!" | ||
| property bool enableWeather: false | ||
| property string weatherLocation: "" // :) | ||
| property string customDNS: "" // :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove these comments plz
| id: weatherSwitch | ||
| text: "Enabled" | ||
| checked: Config.options.dashboard.enableWeather | ||
| onClicked: checked = !checked; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You shouldn't remove that. This makes the whole switch+label clickable, instead of just the switch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks AI generated, is it the case ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah
I made set-dns.sh
But I didn't know how to execute it from the .qml file
So I shoved the set-dns.sh in AI and converted it to set-dns.py
Then used the similar format from /usr/share/sleex/modules/dashboard/quickToggles/IdleInhibitor.qml
but idk why it still isn't working
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So it doesn't works ? In that case open the PR as draft and request a review when it's working
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The script itself works
Just how to toggle from within settings is the issue
I'll draft now
|
no activity? |
|
Writing exams> no activity? |
Summary
Added an easier way to change DNS on the fly
NOTE: Idk why

set-dns.pyis not running after:Before
After
Changes
Added
set-dns.pyscript that:Notes
Usage
python /usr/share/sleex/scripts/set-dns.pyDemo
example.mp4