SketchyBar/README.md

99 lines
5.2 KiB
Markdown
Raw Normal View History

2021-12-20 18:30:45 +00:00
<p align="center">
<img src="images/Sbar.svg" />
</p>
2021-12-20 18:37:25 +00:00
<p align="center">
<a href="https://felixkratz.github.io/SketchyBar/setup">Install</a>
<span></span>
<a href="https://felixkratz.github.io/SketchyBar/config/bar">Documentation</a>
<span></span>
2023-02-23 20:13:16 +00:00
<a href="https://github.com/FelixKratz/SketchyBar/discussions/47?sort=top">Setups</a>
<span></span>
2023-02-23 20:13:16 +00:00
<a href="https://github.com/FelixKratz/SketchyBar/discussions/12?sort=top">Plugins</a>
</p>
2021-12-20 23:07:38 +00:00
<p align="center">
<a href="https://opensource.org/licenses/"><img src="https://img.shields.io/badge/License-GPL%20v3-blue.svg"></a>
2021-12-22 18:35:22 +00:00
<a href="https://github.com/FelixKratz/SketchyBar/releases"><img src="https://img.shields.io/github/v/release/FelixKratz/SketchyBar.svg?style=flat&color=orange" /></a>
2021-12-22 18:32:09 +00:00
<a href="https://github.com/FelixKratz/SketchyBar/releases"><img src="https://img.shields.io/github/commits-since/FelixKratz/SketchyBar/latest.svg?color=orange"></a>
2021-12-20 23:09:05 +00:00
<a href="https://en.wikipedia.org/wiki/Free_and_open-source_software"><img src="https://img.shields.io/badge/FOSS-100%25-green.svg?style=flat"></a>
2021-12-20 23:07:38 +00:00
</p>
2021-12-20 18:38:52 +00:00
2021-12-20 23:07:38 +00:00
<p align="center">
2022-06-17 07:55:52 +00:00
This bar project aims to create a highly flexible, customizable, fast and powerful status bar replacement for people that like playing with
2021-12-20 18:36:07 +00:00
shell scripts.
2021-12-20 23:07:38 +00:00
</p>
2021-12-20 18:36:07 +00:00
![](images/example.png)
2021-12-22 18:32:09 +00:00
<p align="center">
2023-02-23 20:13:16 +00:00
<a href="https://github.com/FelixKratz/SketchyBar/discussions/47?sort=top">More Setups</a>
2021-12-22 18:32:09 +00:00
</p>
2021-08-24 09:26:07 +00:00
2022-06-15 23:27:39 +00:00
2021-12-20 23:07:38 +00:00
## Features
2023-01-20 15:38:58 +00:00
* Full *configurability* at any time
* Dynamic *animation* system
* Powerful *scripting* and *event* system
* Optimized to be *fast* and *efficient*
* Interactive *mouse* support
* Support for displaying macOS menu bar apps (*aliases*)
* Can draw arbitrary *graphs*
* On-demand *popup* menus
The main design principle of this project is that *all* elements of the bar can
be added, removed and freely changed at any point in time. Thus, the
configuration of the bar is not *static*, rather it is possible to adapt the
appearance of the bar completely dynamically with the help of a powerful
event-driven scripting system at any point in time using the highly
configurable basic building blocks SketchyBar offers.
2021-12-20 23:07:38 +00:00
## Getting Started
Refer to the installation guide in the [documentation](https://felixkratz.github.io/SketchyBar/setup) to get the program set up.
Once this is sorted you can start to become familiar with the syntax of sketchybar by going through the default [*sketchybarrc*](https://github.com/FelixKratz/SketchyBar/blob/master/sketchybarrc) file and the default [*plugin scripts*](https://github.com/FelixKratz/SketchyBar/blob/master/plugins),
which are located in `~/.config/sketchybar/` and look like this:
2022-07-01 15:52:11 +00:00
![](images/default.png)
All commands and options are explained in detail in the relevant sections
of the configuration [documentation](https://felixkratz.github.io/SketchyBar/config/bar). You can try the commands directly from
the commandline to see which affect they have and how they alter the bar. Once you have become familiar with the syntax you can
2023-02-23 20:13:16 +00:00
look for a config to start from [here](https://github.com/FelixKratz/SketchyBar/discussions/47?sort=top) or start from scratch and customize
everything to your liking.
You might also enjoy looking at the [Tips & Tricks](https://felixkratz.github.io/SketchyBar/config/tricks) section
for some further tips on your journey. If you are searching for functional items you might want to check the
2023-02-23 20:13:16 +00:00
[plugins](https://github.com/FelixKratz/SketchyBar/discussions/12?sort=top) section if someone has already created what you are looking for.
2021-08-14 20:58:01 +00:00
2022-06-26 19:32:33 +00:00
Should you encounter things not working as you expect them to, please *do not* hesitate to open an [issue](https://github.com/FelixKratz/SketchyBar/issues), as
this is either a bug or a documentation problem and relevant in any case.
## Documentation
2022-06-17 07:55:52 +00:00
For the full documentation of all commands and properties please refer to the [website](https://felixkratz.github.io/SketchyBar/config/bar).
2021-10-10 16:10:36 +00:00
2022-05-16 10:20:36 +00:00
If questions remain, feel free to consult the [Q&A](https://github.com/FelixKratz/SketchyBar/discussions/categories/q-a) section.
## Supporting
*You* can support this project is many ways:
2022-07-01 08:24:41 +00:00
- By *creating* issues and pull-requests if you encounter problems
- By *sharing* your [plugins](https://github.com/FelixKratz/SketchyBar/discussions/12) and [setups](https://github.com/FelixKratz/SketchyBar/discussions/47)
- By *starring* the project on GitHub
- If this project has value to you, consider quantifying it and *donating* to a charity of your choice. If you want to let me know about your donation, you
can contact me via [email](mailto:felix.kratz@tu-dortmund.de?Subject=Donation).
2021-08-18 21:22:01 +00:00
## Credits
2021-10-15 13:11:04 +00:00
This project was forked from *[spacebar](https://github.com/cmacrae/spacebar)* and completely reimagined and rewritten. <br>
The original idea is based on the status bar that was included in *[yabai](https://github.com/koekeishiya/yabai)* before getting removed.
2022-06-15 23:27:39 +00:00
## Related Projects
- [SbarLua](https://github.com/FelixKratz/SbarLua): A Lua API for SketchyBar
- [sketchybar-app-font](https://github.com/kvndrsslr/sketchybar-app-font): A symbol font for SketchyBar
- [SketchyBarHelper](https://github.com/FelixKratz/SketchyBarHelper): A header for C/C++ to directly communicate with SketchyBar
2023-01-08 13:31:35 +00:00
## Some animation examples
https://user-images.githubusercontent.com/22680421/211198711-45318f04-e96f-4aa1-a0ba-c7f30f050902.mp4
2022-06-15 23:27:39 +00:00