GithubHelp home page GithubHelp logo

jakubjedelsky / py3status Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ultrabug/py3status

0.0 2.0 0.0 1.94 MB

py3status is an extensible i3status wrapper written in python

License: BSD 2-Clause "Simplified" License

Python 100.00%

py3status's Introduction

py3status

version

py3status is an extensible i3status wrapper written in python.

Using py3status, you can take control of your i3bar easily by:

  • writing your own modules and have their output displayed on your bar
  • handling click events on your i3bar and play with them in no time
  • seeing your clock tick every second whatever your i3status interval

No extra configuration file needed, just install & enjoy !

Documentation

See the wiki for up to date documentation:

Learn how to write your own modules:

Get help or share your ideas on IRC:

  • channel #py3status on FreeNode

Requirements

You must set the output_format to i3bar in the general section of your i3status.conf:

general {
    colors = true
    interval = 5
    output_format = "i3bar"
}

Usage

In your i3 config file, simply switch from i3status to py3status in your status_command:

status_command py3status

Usually you have your own i3status configuration, just point to it:

status_command py3status -c ~/.i3/i3status.conf

Installation

Pypi

Using pip:

$ pip install py3status

Gentoo Linux

Using emerge:

$ sudo emerge -a py3status

Arch Linux

Thanks to @waaaaargh, py3status is present in the Arch User Repository using this URL:

https://aur.archlinux.org/packages/py3status-git/

Options

You can see the help of py3status by issuing py3status -h:

-c I3STATUS_CONF  path to i3status config file
--debug           be verbose in syslog
-i INCLUDE_PATHS  include user-written modules from those directories
                  (default .i3/py3status)
-n INTERVAL       update interval in seconds (default 1 sec)
-s, --standalone  standalone mode, do not use i3status
-t CACHE_TIMEOUT  default injection cache timeout in seconds
                  (default 60 sec)
-v, --version     show py3status version and exit

Control

Just like i3status, you can force an update by sending a SIGUSR1 signal to py3status. Note that this will also send a SIGUSR1 signal to i3status.

killall -USR1 py3status

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.