Code Monkey home page Code Monkey logo

bar3x's Introduction

bar3x

image

bar3x is an easy to use and powerful status bar for your Linux desktop written in Golang. Linux status bars typically choose between highly customizable text and rich graphics. bar3x takes a slightly different approach by providing a simple markup language for its configuration that allows for :

  • Easy addition of new built-in modules
  • Rich external command modules
  • Customizable graphics

Installing

Download the latest release

Or, if you have the Golang toolchain installed :

go get github.com/ShimmerGlass/bar3x

Building

Building bar3x requires Go and go-bindata. go-bindata is go-get-able:

go get github.com/jteeuwen/go-bindata
git clone github.com/ShimmerGlass/bar3x
cd bar3x
go generate
go build .
# Copy ./bar3x to a directory in your $PATH

Dependencies

  • libcairo : should already installed as it is used by GTK, otherwise:
    • Debian/Ubuntu: apt install libcairo2
    • Fedora: yum install cairo
    • Arch: pacman -S cairo

Quick Start

bar3x comes with a default configuration, and can be customized using bar3x -config config.yaml to change part or all of these parameters.

Find the list of available modules in the Wiki.

Here is an example config :

// colors configuration
bg_color:            "#17191e" // bar background
text_color:          "#d4e5f7" // general text
accent_color:        "#1ebce8" // icons and UI elements such as bars
neutral_color:       "#37393e" // background elements such as module separators and background graphs
neutral_light_color: "#90949d" // used for less important text such as units

// modules can be placed on the left, center and right of the bar
bar_left: |
  <ModuleRow> // choose the modules you want in each <ModuleRow>
    <Volume />
  </ModuleRow>

bar_center: |
  <ModuleRow>
    <DateTime />
  </ModuleRow>

bar_right: |
  <ModuleRow>
    <Interface Iface="enp3s0" />
    <CPU />
    <RAM />
    <DiskUsage MountPoint="/" />
  </ModuleRow>

Customizing

Much more that the colors can be customized, see this Wiki page on how to cutomize your bar.

bar3x's People

Contributors

shimmerglass avatar xxxserxxx avatar

Watchers

 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.