demure 517d25eacb Some big changes in my workflow. First, trying kitty terminal emulator as main terminal emulator. It adds good icon support. i3 has backup terminal bindings now, and urxvt will continue to be a launcher term. Second, lemonbar is retired and polybar is being used. polybar is much simpler to deal with, and much easier to tweak. | 5 tahun lalu | |
---|---|---|
.. | ||
README.md | 5 tahun lalu | |
demure_i3_lemonbar_mod.png | 5 tahun lalu | |
i3_lemonbar.sh | 5 tahun lalu | |
i3_lemonbar_config | 5 tahun lalu | |
i3_lemonbar_conky | 5 tahun lalu | |
i3_lemonbar_parser.sh | 5 tahun lalu | |
i3_workspaces.pl | 5 tahun lalu | |
i3_workspaces.py | 5 tahun lalu |
As of 14JUL2019 I am moving to polybar.
The configuration is much simpler, cleaner, and tweakable.
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)}}}'