
Set _tag to (the first flattened tag whose name is _tagname) IP=$(echo $LINE2 | sed -n -e 's/^IP address: \(.*\)$/\1/p')ĭone < <(networksetup -getinfo "$INTERFACE")ĭone < <(networksetup -listnetworkserviceorder)``` In case anyone is curious, here are the two scripts: #!/bin/zshĮXTERNAL=$(curl -s | grep "Your IP is" | sed -n -e 's?^.*Your IP is \(.*\)$?\1?p') Wondering if anyone else is playing with BitBar? So far just playing around, and not sure if either of these scripts are long-term keepers or not. Each tag is a clickable link that jumps to that task in OmniFocus. Put the OmniFocus tasks that have various assigned tags into submenus of a menubar item called “OF” so I can quickly take a look at tasks with these tags.Put my computer’s “external” IP address, eg the what is exposed to the internet, into the menu bar, with a drop down that shows any “internal” (eg LAN-assigned) IP addresses into the dropdown.So far, I have generated the following scripts, just playing around: Of course, it’s a bit problematic when you have limit menu bar space, but I installed it to play with it and now I’m thinking about how I might want to use it. Is anyone else finding a reason to play with BitBar? I got interested after reading from and about their use of this interesting little utility, that allows you to put the output of any script you write (or otherwise obtain) into the menu bar.
