i3_lemonbar_config 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. #!\bin\bash
  2. # i3 panel config. Powerline style.
  3. panel_fifo="/tmp/i3_lemonbar_${USER}"
  4. geometry="x14"
  5. ## This needs a fork of lemonbar.
  6. font="Terminess Powerline-8"
  7. #iconfont="terminusicons2mono-8"
  8. iconfont="fontawesome-10"
  9. res_w=$(xrandr | grep "current" | awk '{print $8a}')
  10. # Alarm settings
  11. cpu_alert=75 # % cpu use
  12. net_alert=5 # K net use
  13. temp_alert="160" # F heat use
  14. # update setting, in seconds (conky update in i3_lemonbar_conky
  15. upd_vol=3 # Volume update
  16. upd_mail=150 # Mail check update
  17. upd_mpd=5 # MPD song update
  18. upd_ext_ip=600 # External IP update
  19. # color definitions
  20. color_back="#FF1D1F21" # Default background
  21. color_fore="#FFC5C8C6" # Default foreground
  22. color_head="#FFB5BD68" # Background for first element
  23. color_sec_b1="#FF282A2E" # Background for section 1
  24. color_sec_b2="#FF454A4F" # Background for section 2
  25. color_sec_b3="#FF60676E" # Background for section 3
  26. color_icon="#FF979997" # For icons
  27. color_mail="#FFCE935F" # Background color for mail alert
  28. color_chat="#FFCC6666" # Background color for chat alert
  29. color_cpu="#FF5F819D" # Background color for cpu alert
  30. color_net="#FF5E8D87" # Background color for net alert
  31. color_disable="#FF1D1F21" # Foreground for disable elements
  32. color_wsp="#FF8C9440" # Background for selected workspace
  33. ## Need to tinker with these:
  34. color_bat_out="#ffdc322f" # Background for 0-10 battery
  35. color_bat_low="#ffd33682" # Background for 10-30 battery
  36. color_bat_mid="#ffb58900" # Background for 30-50 battery
  37. color_bat_high="#ff859900" # Forground for 70-100 battery icon
  38. color_temp="#ffdc322f" # Backgroud for high temp
  39. ### Solarized ### {{{
  40. #$base03: #002b36;
  41. #$base02: #073642;
  42. #$base01: #586e75;
  43. #$base00: #657b83;
  44. #$base0: #839496;
  45. #$base1: #93a1a1;
  46. #$base2: #eee8d5;
  47. #$base3: #fdf6e3;
  48. #$yellow: #b58900;
  49. #$orange: #cb4b16;
  50. #$red: #dc322f;
  51. #$magenta: #d33682;
  52. #$violet: #6c71c4;
  53. #$blue: #268bd2;
  54. #$cyan: #2aa198;
  55. #$green: #859900;
  56. ### End Solarized ### }}}
  57. #default space between sections
  58. #if [ ${res_w} -gt 1024 ]; then
  59. if [ ${res_w} -gt 1366 ]; then
  60. #stab=' '
  61. stab=' '
  62. else
  63. #stab=' '
  64. stab=''
  65. fi
  66. # Char glyps for powerline fonts
  67. sep_left="" # Powerline separator left
  68. sep_right="" # Powerline separator right
  69. sep_l_left="" # Powerline light separator left
  70. sep_l_right="" # Powerline light sepatator right
  71. # Icon glyphs from Font Awesome
  72. icon_clock="" # Clock icon
  73. icon_cpu="" # CPU icon
  74. icon_mem="" # MEM icon
  75. icon_dl="" # Download icon
  76. icon_ul="" # Upload icon
  77. icon_vol="" # Volume icon
  78. icon_hd="" # HD / icon
  79. icon_home="" # HD /home icon
  80. icon_mail="" # Mail icon
  81. icon_chat="" # IRC/Chat icon
  82. icon_music="" # Music icon
  83. icon_prog="" # Window icon
  84. icon_contact="" # Contact icon
  85. icon_wsp="" # Workspace icon
  86. icon_bat_plug="" # Battery icon, may add level indicator? and plugged in?
  87. icon_bat0="" # Battery icon
  88. icon_bat1="" # Battery icon
  89. icon_bat2="" # Battery icon
  90. icon_bat3="" # Battery icon
  91. icon_bat4="" # Battery icon
  92. icon_temp="" # Temperature icon
  93. icon_wifi="" # Wifi percent icon
  94. icon_local_eth="" # Local IP eth icon
  95. icon_local_wifi="" # Local IP wifi icon
  96. icon_local_out="" # Local IP out icon
  97. icon_ext_ip="" # External IP
  98. ##                