Last active
April 18, 2025 20:27
-
-
Save b23prodtm/eb3fdbb2bc68958974326569aa889cb4 to your computer and use it in GitHub Desktop.
Minikube desktop launcher
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Version=1.0 | |
Type=Application | |
Name=MiniKube start-and-stop | |
Exec=~/Bureau/minikube/onoff.sh | |
Icon=~/Bureau/minikube/icon.png # Optional: specify an icon | |
Terminal=true | |
Comment=Project-Id-Version: update-desktop-files\nReport-Msgid-Bugs-To: \nPO-Revision-Date: 2022-03-03 12:12+0000\nLast-Translator: Sophie Leroy <[email protected]>\nLanguage-Team: French <https://l10n.opensuse.org/projects/desktop-file-translations/update-desktop-files-apps-master/fr/>\nLanguage: fr\nMIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8\nContent-Transfer-Encoding: 8bit\nPlural-Forms: nplurals=2; plural=n > 1;\nX-Generator: Weblate 4.9.1\n | |
Path=/Bureau/minikube | |
StartupNotify=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [ $(minikube status | grep host | awk '{ print $2; }') = "Stopped" ]; then | |
minikube start && minikube dashboard | |
else | |
minikube stop | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.