A simple and convenient Albert launcher plugin to manage Tailscale connections directly from the launcher.
- Clone this repository into your Albert Python plugins directory:
cd ~/.local/share/albert/python/plugins/
# Clone with sparse checkout
git clone --filter=blob:none --sparse git@github.com:RubenLWF/albert-plugins.git temp-albert
cd temp-albert
git sparse-checkout set tailscale
# Move everything to a new location
cd ..
mkdir tailscale
mv temp-albert/.git tailscale/
mv temp-albert/tailscale/* tailscale/
rm -rf temp-albert
# Update the working tree
cd tailscale
git reset --hard-
Restart Albert or reload the plugins
-
Enable the Tailscale plugin in Albert settings (Extensions → Tailscale)
Before using the plugin, you need to configure Tailscale to allow your user to control it without requiring sudo:
- First, log in to Tailscale:
sudo tailscale login- Then, set yourself as the operator:
sudo tailscale set --operator=$USERAfter completing these steps, you can use the plugin without entering your password.
Type ts followed by a space in Albert to activate the plugin.
- Connect to tailnet:
- Type:
ts uports connect - Connects to your Tailscale network
- Type:
- Disconnect from tailnet:
- Type:
ts downorts disconnect - Disconnects from your Tailscale network
- Type:
The plugin uses the tailscale command-line tool in the background to manage your VPN connections. It automatically detects your connection state and provides the appropriate action.