/pyfreekbar

freek scented bar with python

Primary LanguagePython

PyFreekBar - freek scented bar with python

Dependencies

lemonbar-xft
arrow
wmctrl
xdotool

Customizing

The base script is bar.sh. It contains all the command line arguments given to lemonbar.

The controller script is pyfreekbar.py in the base directory. The modules are in the modules direcotry.

The lemonbar config is done in the indivudual modules

Modules

Modules are kept under modules directory.

freektime

Contains function regarding time display
Requires the dependency arrow

Methods and variables

formatter() : returns the given string with proper lemonbar formatting
getdatetime() : returns date and time in specified format (default YYYY-MM-DD HH:mm:ss)
getime() : returns only time in specified format(default HH:mm:ss)
getdate() : returns only date in specified format(default YYYY-MM-DD)

freekcolors

Contains color constants
Edit this if you want to change the color scheme

freekbat

Contains functions regarding battery display

Methods and variables

getbat() : returns the formatted battery output (icons by FontAwesome)
INTERFACE : It is the battery interface Must configure this before running
BAT_DIR : It is the directory where battery details are stored