Skip to content
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

Add support to multiple accounts (tailscale profiles) #27

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

sydro
Copy link

@sydro sydro commented Oct 24, 2024

This fixes issue #13 (Enchancement: Support for multiple accounts)

I added a submenu after "settings" with tailscale profiles list. OnClick event switches to selected profile.

Schermata del 2024-10-24 23-25-40

@Tweekism
Copy link

Ooh profile / tailnet switching is probably the only thing I'd ever use. At the moment I'm using bash aliases to switch between home and work. I'll test this out and let you know how I go.

@Tweekism
Copy link

So tested and working, I did need to set --operator=$USER on both tailnets to swap back and forth.

I'm missing these icons that indicate which tailnet I am on:-

image

In your screensot it looks like a green tick, but perhaps it should be a simple symbolic tick like in the "Power Mode" setting?

image

Also would be nice if there was some indication that is was doing something while the switch is happening, perhaps by changing the top icon in the status bar?

@Tweekism
Copy link

Ticks now show up, but they show up on both for some reason? Maybe because they are both tied to the same email account?

I can send you a sanitised version of the json file if that would help.

image

@sydro
Copy link
Author

sydro commented Dec 26, 2024

Ticks now show up, but they show up on both for some reason? Maybe because they are both tied to the same email account?

I fixed selected user profile check, now the icon should come out on the correct profile

@Tweekism
Copy link

Yep that fixed it.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants