All Projects → AlexPerathoner → Slimhud

AlexPerathoner / Slimhud

Licence: gpl-3.0
Replacement for MacOS' volume, brightness and keyboard backlight HUDs.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Slimhud

funcd
Daemon for functional keys (works without X11)
Stars: ✭ 14 (-88.52%)
Mutual labels:  brightness, volume
Mac Keyboard Brightness
🔆 Programmatically get & set the keyboard & display backlight brightness on Macs. Flash your keyboard to the music! (only works on <2015 Macs)
Stars: ✭ 185 (+51.64%)
Mutual labels:  brightness, utilities
swaystatus
A minimal executable for displaying sway status per second
Stars: ✭ 14 (-88.52%)
Mutual labels:  brightness, volume
Nocturnal
A Dimness and Night Shift menu bar app for macOS 🌙
Stars: ✭ 199 (+63.11%)
Mutual labels:  touchbar, brightness
React Native System Setting
A library to access system setting, and change it easily. eg: volume, brightness, wifi
Stars: ✭ 319 (+161.48%)
Mutual labels:  brightness, volume
Pock
Widgets manager for MacBook Touch Bar
Stars: ✭ 9,591 (+7761.48%)
Mutual labels:  touchbar
Datofu
there's a :db/fn for that
Stars: ✭ 104 (-14.75%)
Mutual labels:  utilities
Processing Imageprocessing
Collection of basic image processing algorithms for processing
Stars: ✭ 87 (-28.69%)
Mutual labels:  brightness
Night Shift On Unsupported Macs
Enable Night Shift on older Unsupported Macs
Stars: ✭ 86 (-29.51%)
Mutual labels:  brightness
Fontfor
Find fonts which can show a specified character and preview them in terminal or browser.
Stars: ✭ 118 (-3.28%)
Mutual labels:  utilities
Office Js Helpers
[ARCHIVED] A collection of helpers to simplify development of Office Add-ins & Microsoft Teams Tabs
Stars: ✭ 111 (-9.02%)
Mutual labels:  utilities
Rearmed Js
A collection of helpful methods and monkey patches for Arrays, Objects, Numbers, and Strings in Javascript
Stars: ✭ 102 (-16.39%)
Mutual labels:  utilities
Raisincss
An Utility CSS only library. It supports css grid and many more useful css properties.
Stars: ✭ 93 (-23.77%)
Mutual labels:  utilities
Bootstrap 4 Utilities
Bootstrap 4 utility classes in LESS CSS for Bootstrap 3 or any other projects.
Stars: ✭ 105 (-13.93%)
Mutual labels:  utilities
Alfonz
Mr. Alfonz is here to help you build your Android app, make the development process easier and avoid boilerplate code.
Stars: ✭ 90 (-26.23%)
Mutual labels:  utilities
Touchbarpong
And amazing new way of playing pong the touch bar of the new MacBook pro
Stars: ✭ 112 (-8.2%)
Mutual labels:  touchbar
Pulseaudio Mixer Cli
Interactive python/ncurses UI to control volume of pulse streams
Stars: ✭ 86 (-29.51%)
Mutual labels:  volume
Node Mysql Utilities
Query builder for node-mysql with introspection, etc.
Stars: ✭ 98 (-19.67%)
Mutual labels:  utilities
Display manager
An open-source Python library which can modify your Mac's display settings manually or automatically.
Stars: ✭ 109 (-10.66%)
Mutual labels:  brightness
Docker Volume Ipfs
🐳 This is an open source volume plugin that allows using an ipfs filesystem as a volume.
Stars: ✭ 99 (-18.85%)
Mutual labels:  volume

SlimHUD

Replacement for MacOS' HUDs.

Every day you change your volume or brightness and an ugly and unbelievably old overlay animation appears. SlimHUD is what you need.

Features - Settings

Each feature can be toggled from the settings window.
To access the settings window search the SlimHUD icon in you menu app and select Settings...

Here's a full list of the features:

  • When changing volume / brightness / keyboard's backlight a small icon is shown under the bar. The icons are:

  • If you don't like the flat look of the bar you can enable a shadow effect.

  • If you don't like the slide-in animation you can disable it. The bar will then just appear and disappear.

  • Continuously check for changes (reccomended if you have the TouchBar): SlimHUD usually shows the volume bar when relative key has been pressed. This means that if you use the volume slider on your TouchBar nothing won't show up.
    Note that enabling this option will fix this problem, but will also increase the CPU usage (which will still be almost none)

  • Each bar (volume / brightness / keyboard's backlight) has it's own color. If you want to reset the colors to the default values click on the reset icon.
    The background color is the same for every bar.
    You can also choose the color of the volume when its muted.

  • Each icon (volume / brightness / keyboard's backlight) also has it's own color! 1

  • If you think that the default bar is too small you can easily adjust its size.

  • You can change the position the bar will appear: on the left, right, bottom or top; it's up to you!
    Note that when you change the orientation of the bar (E.g. left->bottom or right->top) you need to restart SlimHUD.
  • Lastly don't forget to enable the launch at login function!

1:

Only available in MacOS 10.14 and later.

Installation

Download the latest release.

Launching SlimHud is easy: copy the app into your Application's folder and then open it.
However, as you probably also want it to replace MacOS' HUDs we'll have to follow a few steps more...
Please note that the following instructions will temporarily deactivate Sysem Integrity Protection. By proceeding you acknowledge that you are aware of which risks this leads to.
But don't be scared, just follow everything and you should be fine (source: here and here):

Note: I haven't found a safe way of overriding data on your boot disk under MacOS Big Sur yet. This method works for ≤10.15.x
This means that SlimHUD' HUDs will still be visible, but the system HUDs will be visible as well.
Take a look at this if you really want to try installing it on Big Sur.

  1. Enter Recovery Mode by restarting your mac and holding ⌘+R while it's booting up.
  2. Launch the terminal by clicking on Utilities > Terminal.
  3. Disable SIP with csrutil disable.
  4. Restart your mac and login into an admin account.
  5. Run sudo mount -uw /; killall Finder in your terminal. 2
  6. Now run sudo nano /System/Library/LaunchAgents/com.apple.OSDUIHelper.plist.
  7. Remove all of the text between <plist version=”1.0″> and </plist>. Save the file by hitting control + X, answering yes and hitting return.
  8. Re-enter Recovery mode.
  9. Enable SIP with csrutil enable.

You have now successfully replaced those ugly and old overlays! Congrats!

For future updates it won't be necessary to go through all of these steps. Just copy the latest release into your application Folder.
After version 1.3.0 you can check for updates from inside the app.

Explanation

2:

sudo allows a permitted user to execute a command as the superuser or another user. Mount is used to mount disks. The -u flag indicates that the status of an already mounted file system should be changed. -w means to mount the file system read-write. The file system is "/" aka root. The killall utility kills processes selected by name. Since it's Finder, it will just restart and reflect the change you've just made. This isn't permanent, there are more steps involved for that.

Source: reddit

This is needed as in the last versions of MacOS the system files (like /System/Library/LaunchAgents/com.apple.OSDUIHelper.plist that you'll modify in step 6) are stored in a different disk partition and being an administrator and having System Integrity Protection disabled still isn't enough to access them.

PS: note that the right command is sudo mount -uw /, not sudo mount -uw

Uninstalling

If you'd like to restore the system's HUDs follow the same steps described above. With the latest release a copy of the text you deleted from /System/Library/LaunchAgents/com.apple.OSDUIHelper.plist is provided. Copy it between <plist version=”1.0″> and </plist>.

Credits

Thanks to w0lfschild and massimobio for creating respectively cleanHUD and ProgressHUD-Mac and inspiring me to create this project.

Also thanks to pirate and kaunteya, whose code from these project (mac-keyboard-brightness and ProgressKit) was used to complete this project.

SlimHUD is using Sparkle to support automatic updates. Binaries are stored on GitHub and connections use HTTPs.

License

This project is licensed under the GPL-3.0 License - see the LICENSE.md file for details

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].