GithubHelp home page GithubHelp logo

camillescholtz / melonbar Goto Github PK

View Code? Open in Web Editor NEW
109.0 9.0 9.0 1.33 MB

A hackable bar/panel for X written in Go.

License: GNU General Public License v3.0

Go 100.00%
concurrent bar go x xorg panel lemonbar suckless

melonbar's Introduction

Go Report Card

melonbar - A concurrent, hackable bar/panel for X written in Go.

INSTALLATION

go get github.com/onodera-punpun/melonbar

USAGE

The idea is that this bar is very "simple" to configure by just modifying the source code, ร  la suckless.

Users can configure the position, width, height and font of the bar in main.go. A bar consist of various blocks that display info, these blocks are definded in blocks.go.

AUTHORS

Camille Scholtz

melonbar's People

Contributors

camillescholtz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

melonbar's Issues

Add config.go

I'd suggest a file with some customizable values in the same vein of suckless programs, for example:

const (
	barX = 0
	barY = 0
	barW = 200
	barH = 15
	font = "FuraMono Nerd Font Mono:pixelsize=11.5:antialias=true:autohint=true:width=1"
)

Use ttf fonts instead of plan9

Any reason why cure.font is being used instead of adding a regular font path to a ttf?

Tried changing plan9font to xgraphics.ParseFont in x.go. It compiled fine but crashes when run.

Running melonbar immediately crashes

OS: arch
i3 for wm.
go version: 1.11.4

installed using go get github.com/onodera-punpun/melonbar
running /home/<user>/go/bin/melonbar very briefly creates the bar window (for only a few milliseconds), exits right after with the following message: 2019/01/13 23:36:26 no such file or directory (timestamp is just the current date)

Error after starting melonbar

After doing go get, I ran:

go build
./melonbar

I then got the error 2019/01/14 12:03:24 dial tcp :6600: connect: connection refused

Any help is much appreciated :)

Vendoring dependencies

Hi,

Thanks for creating this project. I just had a super quick look at it, and it looks to me that dependencies are not vendored. Is there a particular reason for that?

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.