Jump to content
Yiğit Konur

Write ~WhateverYouWant~ into Your Menubar (Help you to focus your main task)

Recommended Posts

It is my first Alfred Worklfow - especially first bash I've ever wrote for a reason deserves to share with people.

 

As you know, BitBar is a cool plugin which helps you to manage your Menubar. At last 3 weeks - I was crazy busy by dealing with tens of different things in an hour. That is why I create this script to manipulate BitBar Plugin text by using Alfred Workflow. Installation is not easy but I'll help you:

 

  1. Install BitBar first.
  2. Create a directory under your Documents/BitBar-Plugins, move .sh file into this (~/Documents/Bitbar-Plugins/write-into-menubar-bitbar-plugin.1s.sh)
  3. Give execution permission to sh file by running this command in terminal:
chmod +x ~/Documents/Bitbar-Plugins/write-into-menubar-bitbar-plugin.1s.sh

 

Alfred Workflow: https://github.com/yigitkonur/write-into-menubar/raw/master/write-into-menubar-alfred-workflow.alfredworkflow

BitBar Plugin: https://github.com/yigitkonur/write-into-menubar/blob/master/write-into-menubar-bitbar-plugin.1s.sh

ReadMe: https://github.com/yigitkonur/write-into-menubar/blob/master/readme.md

Github: https://github.com/yigitkonur/write-into-menubar/

 

Download All Plugins: https://cloudup.com/csuF0DX90nf

Packal URL: http://www.packal.org/workflow/write-menubar-bitbar-extension

 

 

 

If you face with any problem, mention me on Twitter / @yigitkonur - create issue on Github - reply by here.

 

how-to-use.gif

write-menubar.jpg

Edited by Yiğit Konur

Share this post


Link to post

Great Idea!!

 

Some room for a lot of improvements manageable in Alfred (without touching bitbar)

  • Change font size and add font in bitbar script
  • Change refresh time
  • Ability to add more than one entry
  • Cycle thru more than one entry in bitbar
  • Action to delete and add new items in alfred

 

Share this post


Link to post

I had the same thought, how cool would it be to have custom text in the menubar, but I have CPU meters and stuff there, leaves no room for freeform text in there.

 

That's why I opened this question in AskDifferent, asking if anyone knows how to hide the textual menu part, so I could have room for custom text AND other cool things from bitbar.

Share this post


Link to post
On 2/27/2017 at 7:26 AM, Maddog said:

That's why I opened this question in AskDifferent, asking if anyone knows how to hide the textual menu part, so I could have room for custom text AND other cool things from bitbar.

Great question. I sent a mail to Bartender support, see if they can implement it. 

Share this post


Link to post
On 27/02/2017 at 1:26 AM, Maddog said:

I had the same thought, how cool would it be to have custom text in the menubar, but I have CPU meters and stuff there, leaves no room for freeform text in there.

 

Nah, you just need a decently-sized screen :)

 

qCdcbfu.png 

Edited by deanishe
Fighting the buggy forum software

Share this post


Link to post

What I do is hide all useless menu bar items with Bartender (all menu items that bring no value and just take up space) and then split my menu bar into two parts.

 

One that I can bring up with a hotkey press which contains most important menu items. The dark bar in the image : 

 

17gdSIE.png 

 

And the other just stay in the menu bar itself which can be seen by dragging the mouse to the top. I like to hide the menu bar all together as it is distracting : 

 

S513q9V.png 

 

Also I use this menu bar trick with BitBar very heavily. I even have it implemented so that it will take some arbitrary text (like a task from 2Do) and it will send this text to BitBar to update it. Here is Keyboard Maestro macro that does this (the regex is needed to strip some text and for it to be BitBar friendly) : 

 

ZEOlMW3.png 

 

This sends any task I highlight to BitBar so my menu bar gets updated with new task. I then use Hammerspoon to display it briefly on my screen like so : 

 

0eYq7DX.png 

 

 

Here is the code that does this. 

 

I also have a macro that resets this menu bar text : 

 

TvWy2Dt.png 

 

It's actually quite useful. :)

 

 

Edited by nikivi

Share this post


Link to post
On 4/4/2017 at 11:31 AM, deanishe said:

 

Nah, you just need a decently-sized screen :)

 

qCdcbfu.png 

 

If you were next to me, I'd be pointing at your icons and asking "what does that do?" about each one. I never had as many mac apps as you have icons... lol

 

You're right, I have a tiny 15" screen and can fit maybe 2-3 words right now with most apps, but I just compared it visually, my IDE which is the longest textual menu example I have, is double in width than what safari has, so if I had as many menu icons as you, I would still not have room for (a lot of) freeform text in there.

Share this post


Link to post

Yeah, I have a tiny, old MBA, too, and the text menus overlap the menubar icons all the time, even with Bartender. Come to think of it, I wonder if an IDEs menus would all fit on that tiny screen. 

 

As for what those menubar icons do, I'm not entirely sure. I turned off Bartender for the screenshot and was also rather surprised by the number of icons that it spewed onto my menubar. 

Share this post


Link to post
On 12/23/2018 at 5:49 AM, Mehdi said:

@Maddog here is what you're looking for : https://github.com/w0lfschild/moreMenu

 

 

Appreciate the mention, I found it already a few months ago, couldn't get it to work on El Cap, then upgraded to Mojave and couldn't get it to work there as well. Maybe I haven't tried hard enough, it felt pretty hacky and I gave up quickly.

 

Instead, I have recently completely hidden my menu bar (I have a shortcut that brings it back if needed). I appreciate the extra real-estate and don't miss it. It was always just a trap to get me to use the mouse :)

 

Edited by Maddog

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...