Code Monkey home page Code Monkey logo

excalibar's Introduction

Excalibar

Excalibar is a fast and modular taskbar for X11, which provides good plugin support and configurable aestethics. Its goal is to be the sword amongst the taskbars: sharp and shiny. Because Excalibar is magical, it is also lighter when unsheathed, and strives not to stress your cpu.

Architecture

Joke apart, Excalibar uses low-level library events, and is thus way lighter than other taskbars (some of which loop through bash scripts). It also gives a lot of freedom to plugins so they can be optimized.

Configuration

Each section in the configuration file represents a plugin, and the core program loads them by reading a section's name before copying the values it holds. The order in which you write theses sections determines their position in the bar. The "side" parameter can be set either to 0 or 1 to indicate the plugin's alignment (left or right). Each global parameter can be superseded for a particular plugin.

Ingredients

Excalibar is written in C99 with xcb, cairo and pango as well as some static routines from inih (which is linked to this repo as a submodule). "And what's the recipe ? Excalibar weaponry !"

Compiling and Installing

This repo contains submodules, to get them clone with:

git clone --recurse-submodules https://github.com/nullgemm/excalibar.git

First, compile and install libexcalibar:

cd lib
make
sudo make install

Then repeat these steps for the core program:

cd ../bar
make
sudo make install

While you are in the bar folder, edit and copy the config file:

nano excalibar.cfg
make cpconfig

Eventually, compile and install all the plugins: (no sudo here!)

cd ../plugins
make
make install

You can then launch excalibar as a daemon:

excalibar &

And close it properly with a sigterm:

pkill excalibar

The process survives after you quit your terminal ;)

Greetings

Oxodao for the support, name approval and minecraft breaks

Raphaël for the memory I got the name idea from

Buckethead for the good music

Cairo and Pango contributors for the outstanding documentation

excalibar's People

Contributors

nullgemm avatar

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.