demure bb4cc6391c Updated readme to note UTC feature. Cleaned up code. | %!s(int64=5) %!d(string=hai) anos | |
---|---|---|
.. | ||
README.md | %!s(int64=5) %!d(string=hai) anos | |
demure_i3_lemonbar_mod.png | %!s(int64=8) %!d(string=hai) anos | |
i3_lemonbar.sh | %!s(int64=5) %!d(string=hai) anos | |
i3_lemonbar_config | %!s(int64=5) %!d(string=hai) anos | |
i3_lemonbar_conky | %!s(int64=5) %!d(string=hai) anos | |
i3_lemonbar_parser.sh | %!s(int64=5) %!d(string=hai) anos | |
i3_workspaces.pl | %!s(int64=5) %!d(string=hai) anos | |
i3_workspaces.py | %!s(int64=5) %!d(string=hai) anos |
This is based off of i3 lemonbar, by electro7. There were a few parts of the original that didn't make sense to me, and other things I wanted to add. I've now added a number of features I have desired:
lemonbar
(which used to be know as bar
)
libxcb1-dev
, libxcb-xinerama0-dev
, xcb-randr0-dev
, libxft-dev
, libx11-xcb-dev
and a few other things (I listed the less common ones).gawk
, as I wrote my fancy awk using it.
amixer
for volume support.
alsa-utils
on debian.conky-all
packageconky-git
might be what you want.~/.i3/config
bar {
i3_bar_command ~/.i3/lemonbar/i3_lemonbar.sh
}
pkill lemonbar && ~/.i3/lemonbar/i3_lemonbar.sh &
to correct the issuepkill lemonbar
to my log out command and i3 restart, to make life easier.%
. FINISHEDpass
, which give offlineimap
passwds) 19MAR2016
(bat0 perc + bat1 perc)/2
... Which is invalid, and extra invalid with an extended battery! cmus
output will indicate paused and lack of meta data.cmus
can display internet stream data too.mpd
support with new awk. 15JUL2016mpd
will report pause status, and works with internet streams even easier, as it didn't need extra coding.mocp
reports pause, and works with internet streams. 16JUL2016audacious
reports paused, works with internet steams. 17JUL2016audacious
has a default out put of 'Artist - Album - Song'; this can be changed in your audacious Settings
-> Playlist
-> Title Format
bindsym YOUR_KEYS exec awk -v TEMP=/tmp/i3_lemonbar_ip_${USER} 'BEGIN {{FILE=getline < TEMP < 0 ? "0" : "1"} {if($0==1){STATE=1} else {STATE=0}} {if(STATE==0){system("echo 1 > "TEMP)} else {system("echo 0 > "TEMP)}}}'
i3_lemonbar_config
, such as setting it to ""
if you want to reduce your bar length when toggled.$music_limit
to prevent music from covering workspace display. 18JUL2016bindsym XF86LaunchA exec awk -v TEMP=/tmp/i3_lemonbar_ip_${USER} 'BEGIN {{FILE=getline < TEMP < 0 ? "0" : "1"} {if($0==1){STATE=1} else if($0==2){STATE=2} else{STATE=0}} {if(STATE==0){system("echo 1 > "TEMP)} else if(STATE==1){system("echo 2 > "TEMP)} else {system("echo 0 > "TEMP)}}}'