All Projects → ultrabug → Py3status

ultrabug / Py3status

Licence: bsd-3-clause
py3status is an extensible i3status wrapper written in python

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Py3status

i3-create-config
Script to create an i3 config from multiple files.
Stars: ✭ 27 (-96.61%)
Mutual labels:  i3wm
I3ass
A collection of shell scripts to ease the use of i3wm
Stars: ✭ 318 (-60.1%)
Mutual labels:  i3wm
Dotfiles
i3 + Plasma: using the i3 window manager on the top of KDE Plasma and other dotfiles, configurations, scripts, workarounds and practises from my Debian Sid machines.
Stars: ✭ 651 (-18.32%)
Mutual labels:  i3wm
i3-dotfiles
“ With wisdom comes the desire for simplicity.” Brendon Burchard.
Stars: ✭ 30 (-96.24%)
Mutual labels:  i3wm
dotfiles
My dotfiles
Stars: ✭ 16 (-97.99%)
Mutual labels:  i3wm
I3
A fork of the i3 window manager with gaps and some other features
Stars: ✭ 5,512 (+591.59%)
Mutual labels:  i3wm
i3-workscreen
In i3wm compatible manner - dynamically re-configures your (multi)-monitor setup on the fly when you hotplug/unplug display cabel(s)
Stars: ✭ 29 (-96.36%)
Mutual labels:  i3wm
Win3wm
A Tiling Window Manager for windows 10, Inspired by i3wm
Stars: ✭ 770 (-3.39%)
Mutual labels:  i3wm
I3 And Kde Plasma
How to install the i3 window manager on KDE
Stars: ✭ 279 (-64.99%)
Mutual labels:  i3wm
I3ipc Python
🐍 An improved Python library to control i3wm and sway.
Stars: ✭ 634 (-20.45%)
Mutual labels:  i3wm
rofi-todo
📓 Minimal todo client for the rofi launcher
Stars: ✭ 20 (-97.49%)
Mutual labels:  i3wm
i3-workspace-handler
Create i3 workspaces on the fly and call them by name
Stars: ✭ 23 (-97.11%)
Mutual labels:  i3wm
I3 Style
🎨 Make your i3 config a little more stylish.
Stars: ✭ 583 (-26.85%)
Mutual labels:  i3wm
i3-gaps-install-ubuntu
Simple Script for install i3-gaps on ubuntu 18.04
Stars: ✭ 60 (-92.47%)
Mutual labels:  i3wm
I3 Gnome
Use i3wm/i3-gaps with GNOME Session infrastructure.
Stars: ✭ 677 (-15.06%)
Mutual labels:  i3wm
dotfiles
My dotfiles for Arch Linux and macOS: Polybar, Neovim, ZSH, Alacritty, Git, and more 👨🏿‍💻
Stars: ✭ 13 (-98.37%)
Mutual labels:  i3wm
Direwolf Arch Rice
🐺🍚 A guide to replicating my riced Arch Linux set-up.
Stars: ✭ 501 (-37.14%)
Mutual labels:  i3wm
Bumblebee Status
bumblebee-status is a modular, theme-able status line generator for the i3 window manager.
Stars: ✭ 780 (-2.13%)
Mutual labels:  i3wm
Dotfiles
🐲 My Arch Linux config [i3-gaps + i3blocks + Zsh + Spacemacs + Rofi + Alacritty + Neofetch]
Stars: ✭ 725 (-9.03%)
Mutual labels:  i3wm
Customarch
Arch Linux Based Custom ISOs Made With "Archiso"
Stars: ✭ 606 (-23.96%)
Mutual labels:  i3wm

.. image:: https://github.com/ultrabug/py3status/blob/master/logo/logotype-horizontal.png


py3status


|CI| |readthedocs|

.. |CI| image:: https://github.com/ultrabug/py3status/workflows/CI/badge.svg .. |readthedocs| image:: https://readthedocs.org/projects/py3status/badge/?version=latest

py3status is an extensible i3status wrapper written in python.

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

  • using one of the available modules <https://py3status.readthedocs.io/en/latest/modules.html>_ shipped with py3status
  • grouping multiple modules and automatically or manually cycle their display
  • 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 !

About

You will love py3status if you're using i3wm <https://i3wm.org>_ (or sway <https://swaywm.org>) and are frustrated by the i3status limitations <https://faq.i3wm.org/question/459/external-scriptsprograms-in-i3status-without-loosing-colors/> on your i3bar such as:

  • you cannot hack into it easily
  • you want more than the built-in modules and their limited configuration
  • you cannot pipe the result of one of more scripts or commands in your bar easily

Philosophy

  • no added configuration file, use the standard i3status.conf
  • rely on i3status' strengths and its existing configuration as much as possible
  • be extensible, it must be easy for users to add their own stuff/output by writing a simple python class which will be loaded and executed dynamically
  • easily allow interactivity with the i3bar
  • add some built-in enhancement/transformation of basic i3status modules output

We apply the Zen of py3status <https://py3status.readthedocs.io/en/latest/contributing.html#zen-of-py3status>_ to improve this project and encourage everyone to read it!

Documentation

Up-to-date documentation <https://py3status.readthedocs.io>_:

  • Installation <https://py3status.readthedocs.io/en/latest/intro.html#installation>_

  • Using modules <https://py3status.readthedocs.io/en/latest/configuration.html>_

  • Custom click events <https://py3status.readthedocs.io/en/latest/configuration.html#custom-click-events>_

  • Writing custom modules <https://py3status.readthedocs.io/en/latest/writing_modules.html>_

  • Contributing <https://py3status.readthedocs.io/en/latest/contributing.html>_

  • The py3-cmd command line <https://py3status.readthedocs.io/en/latest/py3-cmd.html>_

Get help or share your ideas on IRC:

  • channel #py3status on FreeNode

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

Available modules

All modules <https://py3status.readthedocs.io/en/latest/modules.html>_ shipped with py3status are configurable directly from your current i3status.conf <https://py3status.readthedocs.io/en/latest/configuration.html#using-modules>_!

Check them out <https://py3status.readthedocs.io/en/latest/modules.html>_ to see all the configuration options.

Installation

See the up to date and complete installation instructions <https://py3status.readthedocs.io/en/latest/intro.html#installation>_ for your favorite distribution.

Options

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

usage: py3status [-h] [-b] [-c FILE] [-d] [-g] [-i PATH] [-l FILE] [-s]
                 [-t INT] [-m] [-u PATH] [-v] [--wm WINDOW_MANAGER]

The agile, python-powered, i3status wrapper

optional arguments:
  -h, --help            show this help message and exit
  -b, --dbus-notify     send notifications via dbus instead of i3-nagbar
                        (default: False)
  -c, --config FILE     load config (default: /home/alexys/.i3/i3status.conf)
  -d, --debug           enable debug logging in syslog and --log-file
                        (default: False)
  -g, --gevent          enable gevent monkey patching (default: False)
  -i, --include PATH    append additional user-defined module paths (default:
                        None)
  -l, --log-file FILE   enable logging to FILE (default: None)
  -s, --standalone      run py3status without i3status (default: False)
  -t, --timeout INT     default module cache timeout in seconds (default: 60)
  -m, --disable-click-events
                        disable all click events (default: False)
  -u, --i3status PATH   specify i3status path (default: /usr/bin/i3status)
  -v, --version         show py3status version and exit (default: False)
  --wm WINDOW_MANAGER   specify window manager i3 or sway (default: i3)

Control

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

killall -USR1 py3status

To refresh individual modules, the py3-cmd <http://py3status.readthedocs.io/en/latest/py3-cmd.html>_ utility can be used, e.g.: ::

py3-cmd refresh wifi

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].