question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Plugin idea: Hide date/time in menu bar while recording

See original GitHub issue

This should be possible to implement when https://github.com/wulkano/kap/pull/804 is merged.

Idea from https://twitter.com/rauschma/status/1234155670036979712

I debugged the system preferences and discovered a way to hide the clock programmatically:

Hide:

defaults write com.apple.systemuiserver "menuExtras" "(\"/System/Library/CoreServices/Menu Extras/AirPort.menu\", \"/System/Library/CoreServices/Menu Extras/Volume.menu\")" && killall SystemUIServer

Show:

defaults write com.apple.systemuiserver "menuExtras" "(\"/System/Library/CoreServices/Menu Extras/AirPort.menu\", \"/System/Library/CoreServices/Menu Extras/Volume.menu\", \"/System/Library/CoreServices/Menu Extras/Clock.menu\")" && killall SystemUIServer

Actually, “Show” is not entirely correct. We need to first read what menuExtras contains before disabling and then restore that.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
sindresorhuscommented, Mar 24, 2020

@karaggeorge Two reasons:

  1. You don’t want to show that you recorded something at 4 AM.
  2. If you edit a lot and leave out parts, the time will jump, which can be distracting.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Hide menu bar - IDEs Support (IntelliJ Platform) | JetBrains
Hello,. Unfortunately it is not possible to hide it, but it hides automatically in the full screen mode. Would this be suitable?
Read more >
Big Sur: How to remove date from menu bar?
When I go to "System Preference" -> "Dock & Menu Bar" -> "Clock: Menu Bar Only", there are checkboxes you can uncheck that...
Read more >
Global date and time field format
You define default date and time formats globally using system properties.
Read more >
How to Hide & Show Date & Time on Menu Bar of Mac® OS X
Watch GuruAid's Tutorial video on How to Hide & Show Date & Time on Menu Bar of Mac® OS X™. You can customize...
Read more >
The Events Calendar – WordPress plugin
The Events Calendar is the number one calendar plugin for WordPress. Easily create and manage events (including virtual events!) on your WordPress sit...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found