Skip to content

Instantly share code, notes, and snippets.

@b23prodtm
Last active April 18, 2025 20:27
Show Gist options
  • Save b23prodtm/eb3fdbb2bc68958974326569aa889cb4 to your computer and use it in GitHub Desktop.
Save b23prodtm/eb3fdbb2bc68958974326569aa889cb4 to your computer and use it in GitHub Desktop.
Minikube desktop launcher
[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
#!/usr/bin/env bash
if [ $(minikube status | grep host | awk '{ print $2; }') = "Stopped" ]; then
minikube start && minikube dashboard
else
minikube stop
fi
@b23prodtm
Copy link
Author

icon

@b23prodtm
Copy link
Author

b23prodtm commented Apr 18, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment