123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174 |
- #!/bin/bash
- ## i3 panel config. Powerline style.
- ## Based on Electro7's work
- ## Modded by demure
- panel_fifo="/tmp/i3_lemonbar_${USER}"
- geometry="x14"
- res_w=$(xrandr | awk '/current/ {print $8a}')
- ## Will limit the char length of music, adjust down for smaller screens.
- music_limit=70
- ## This format needs a fork of lemonbar, which supports xft fonts.
- ## The font should have powerline support, if you want the fancy separators.
- font="PragmataPro-10"
- ## I recommend font awesome for the iconfont, it has the best icon support
- ## I have even of any symbol font. It also has the most symbols.
- iconfont="fontawesome-10"
- ## This is for the Screenshot IP Scrubber
- ## You could set this to "" to reduce bar length while toggled.
- scrub_ip="---.---.---.---"
- ## Path for RSS db
- ## unsetting/commenting out/"" will disable
- ## This is currently written for newsboat (and maybe old newsbeuter)
- rss_path="$HOME/.newsboat/cache.db"
- ### Temperature ### {{{
- ## Temperature value can either be C or F.
- temp_format="C"
- if [ ${temp_format} = "C" ]; then
- temp_format=""
- else
- if [ ${temp_format} = "F" ]; then
- temp_format="f"
- fi
- fi
- ### End Temperature ### }}}
- ### Alarm Settings ### {{{
- cpu_alert=75 ## % cpu use
- net_alert=50 ## K net use
- temp_alert_c=70 ## C heat use
- temp_alert_f=160 ## F heat use
- ## Battery
- ## Note: levels higher than 'high' will not be highlighted.
- bat_alert_low=11
- bat_alert_mid=22
- bat_alert_high=33
- ### End Alarm ### }}}
- ### Update Settings ### {{{
- # update setting, in seconds (conky update in i3_lemonbar_conky)
- upd_vol=3 ## Volume update
- upd_bri=3 ## Screen brightness update
- upd_mail=120 ## Mail check update
- upd_mmpd=5 ## Multi Music Player Display
- upd_ext_ip=600 ## External IP update
- upd_gpg=300 ## GPG update
- upd_tmb=60 ## Thinkpad Multi Battery update
- upd_temp=3 ## Temperature update
- upd_net=3 ## Network update
- upd_mem=3 ## Mem used update
- upd_time=5 ## Time update
- upd_disk=10 ## Disk free update
- upd_rss=120 ## RSS check update
- ### End Update ### }}}
- ### Color ### {{{
- ## Base Colors
- color_back="#FF1D1F21" ## Default background
- color_fore="#FFC5C8C6" ## Default foreground
- color_head="#FFB5BD68" ## Background for first element
- color_sec_b1="#FF282A2E" ## Background for section 1
- color_sec_b2="#FF454A4F" ## Background for section 2
- color_sec_b3="#FF60676E" ## Background for section 3
- color_icon="#FF979997" ## For icons
- ## Section Special Colors
- color_mail="#FFCE935F" ## Background color for mail alert
- color_chat="#FFCC6666" ## Background color for chat alert
- color_cpu="#FF5F819D" ## Background color for cpu alert
- color_net="#FF5E8D87" ## Background color for net alert
- color_disable="#FF1D1F21" ## Foreground for disable elements
- color_wsp="#FF8C9440" ## Background for selected workspace
- color_bat_low="#ffdc322f" ## Background for low bat threshold
- color_bat_mid="#ffcb4b16" ## Background for mid bat threshold
- color_bat_high="#ffb58900" ## Icon for high bat threshold
- color_bat_plug="#ff859900" ## Forground for 70-100 battery icon
- color_temp="#ffdc322f" ## Backgroud for high temp
- ### Section Background Colors ### {{{
- ## This is to make changing up section order a little easier
- ## You still need to edit printf at the end up i3_lemonbar_parser.sh
- local_ip_cback=${color_sec_b1}
- gpg_cback=${color_sec_b2}
- disk_cback=${color_sec_b1}
- ext_ip_cback=${color_sec_b2}
- rss_cback=${color_sec_b2}
- mail_cback=${color_sec_b1}
- cpu_cback=${color_sec_b2}
- date_cback=${color_sec_b1}
- mmpd_cback=${color_sec_b1}
- mmpd_alt_cback=${color_sec_b2}
- bat_cback=${color_sec_b1}
- temp_cback=${color_sec_b2}
- vol_cback=${color_sec_b2}
- ### End Section Background Colors ### }}}
- ### End Color ### }}}
- ### Spacing ### {{{
- ##default space between sections
- #if [ ${res_w} -gt 1366 ]; then
- #stab=' '
- #else
- #stab=''
- #fi
- ## I like to be compact...
- stab=''
- ### End Spacing ### }}}
- ### Icons ### {{{
- # Char glyps for powerline fonts
- sep_left="" ## Powerline separator left
- sep_right="" ## Powerline separator right
- sep_l_left="" ## Powerline light separator left
- sep_l_right="" ## Powerline light sepatator right
- # Icon glyphs from Font Awesome
- icon_time="" ## Time icon
- icon_cal="" ## Calendar icon
- icon_cpu="" ## CPU icon
- #icon_cpu="" ## CPU icon
- icon_mem="" ## MEM icon
- ## Real ram icon #icon_mem="" ## MEM icon
- icon_dl="" ## Download icon
- icon_ul="" ## Upload icon
- icon_vol="" ## Volume icon
- icon_bri="" ## Brightness icon
- icon_disk="" ## Disk usage icon
- icon_disk_home="" ## Disk usage Home icon
- icon_mail="" ## Mail icon
- icon_mail_read="" ## Mail read icon
- icon_chat="" ## IRC/Chat icon
- icon_music="" ## Music icon
- #icon_prog="" ## Window icon
- icon_prog="" ## Window icon
- icon_contact="" ## Contact icon
- icon_wsp="" ## Workspace icon
- icon_bat_plug="" ## Battery icon, may add level indicator? and plugged in?
- icon_bat0="" ## Battery icon
- icon_bat1="" ## Battery icon
- icon_bat2="" ## Battery icon
- icon_bat3="" ## Battery icon
- icon_bat4="" ## Battery icon
- icon_bat_time="" ## Battery time icon
- icon_temp="" ## Temperature icon
- icon_wifi="" ## Wifi percent icon
- icon_local_eth="" ## Local IP eth icon
- icon_local_wifi="" ## Local IP wifi icon
- icon_local_out="" ## Local IP out icon
- icon_ext_ip="" ## External IP
- icon_gpg="" ## GPG icon
- icon_gpg_locked="" ## GPG locked icon
- icon_gpg_unlocked="" ## GPG unlocked icon
- icon_vpn="" ## VPN icon
- icon_rss="" ## RSS icon
- ### End Icons ### }}}
|