Giter VIP home page Giter VIP logo

pecan's Introduction

pecan

Screenshot 3

A bar for macOS. Reports — by default — the current workspace, network bandwidth, date, battery percentage and time.

Instructions

pecan requires Übersicht.

Once Übersicht is installed, download this repository to wherever your widgets are stored (by default ~/Library/Application Support/Übersicht/widgets/).

This can be done via the terminal like so:

brew tap caskroom/cask
brew cask install ubersicht
git clone https://github.com/Macksi/pecan.git "$HOME/Library/Application Support/Übersicht/widgets/pecan"

If Übersicht is running, then the bar should appear.

Customization & Themes

Load themes

pecan includes a tool pecan-style to allow users to save and load themes. There are, by default, a few included themes.

ln -s "${HOME}/Library/Application Support/Übersicht/widgets/pecan/pecan-style" "/usr/local/bin/pecan-style"

Then if you want to load the default theme, you do it like so:

pecan-style --load default

For more info on pecan-style do:

pecan-style --help

Create themes

Because pecan is styled using CSS3 variables, the top lines of style.css can easily be edited to change properties like opacity, alignment, padding, colors and more. If you are using this bar with Wal, then you should be editing scss/style.scss instead.

Optional features

Ifstat

Current download and upload speeds may be shown in the 2nd-to-left element via Ifstat. If Ifstat is not found, then the current WiFi network will be displayed instead. To install Ifstat via Homebrew:

brew install ifstat

ChunkWM

Current workspace ID can be shown on the left element if ChunkWM (unmaintained) is installed, otherwise a power symbol will be shown instead. To install ChunkWM:

brew tap koekeishiya/formulae
brew install chunkwm

xanthia

If xanthia is installed then it will now use pecan's CSS/SCSS files. Install xanthia.

Wal

pecan can pull a color palette generated by Wal using Sassc. I have included a script, wal-set, that will perform this. To install Sassc:

brew install sassc

Now you can run the script to use Wal's palettes:

bash "~/Library/Application Support/Übersicht/widgets/pecan/wal-set"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.