Skip to content

Instantly share code, notes, and snippets.

@DanielJomphe
Created January 17, 2026 16:38
Show Gist options
  • Select an option

  • Save DanielJomphe/912346860fd6508714d0da37fa6de5bd to your computer and use it in GitHub Desktop.

Select an option

Save DanielJomphe/912346860fd6508714d0da37fa6de5bd to your computer and use it in GitHub Desktop.
mkdir -p ~/.SwiftBar && echo '#!/bin/bash
whoami' > ~/.SwiftBar/whoami.sh && chmod u+x ~/.SwiftBar/whoami.sh && defaults write com.ameba.SwiftBar PluginDirectory "$HOME/.SwiftBar" && killall SwiftBar 2>/dev/null; open -a "/Applications/SwiftBar.app"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment