From The Compiler, 7 Years ago, written in Plain Text.
Embed
  1. # Copyright (C) 2012 Florian Bruhin <me@the-compiler.org>
  2.  
  3. # This file is part of panel2
  4. #
  5. # panel2 is free software: you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation, either version 3 of the License, or
  8. # (at your option) any later version.
  9. #
  10. # panel2 is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. # GNU General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU General Public License
  16. # along with panel2  If not, see <http://www.gnu.org/licenses/>.
  17.  
  18. use_xft yes
  19. xftfont profont:size=8
  20. override_utf8_locale yes
  21.  
  22. update_interval 1
  23. total_run_times 0
  24.  
  25. own_window yes
  26. own_window_type panel
  27. own_window_hints undecorated,sticky,skip_taskbar,skip_pager
  28.  
  29. border_inner_margin 0
  30. border_outer_margin 0
  31. draw_borders no
  32. draw_graph_borders no
  33.  
  34. background no
  35.  
  36. # Eliminate flickering
  37. double_buffer yes
  38. minimum_size 1050 8
  39. maximum_width 1050
  40.  
  41. # Use KiB/MiB/... instead of just bytes
  42. format_human_readable yes
  43. # Print used memory with buffers
  44. no_buffers no
  45. # Display k, G, ... instead of kiB, GiB, ...
  46. short_units yes
  47.  
  48. default_color d0d0d0
  49. own_window_colour 1c1c1c
  50.  
  51. use_spacer left
  52. if_up_strictness address
  53. pad_percents 2
  54.  
  55. alignment top_left
  56. gap_x 172
  57. gap_y 0
  58.  
  59. default_graph_size 8 30
  60. color0 d0d0d0
  61. color1 afdf87
  62.  
  63. TEXT
  64. ${color1}cpu  1${color0} ${cpugraph cpu0 8,20 afdf87 afdf87}${goto 70}${freq_g 1} ${color1}2 ${color0} ${cpugraph cpu1 8,20 afdf87 afdf87} ${goto 144}${freq_g 2} ${color1}3${color0} ${cpugraph cpu2 8,20 afdf87 afdf87}${goto 212}${freq_g 3} ${goto 242}${color1}4${color0} ${cpugraph cpu3 8,20 afdf87 afdf87} ${freq_g 4}   \
  65. ${color1}load${color0} ${loadavg}   \
  66. ${color1}temp${color0}${hwmon 0 temp 1}/${hwmon 1 temp 1}°   \
  67. ${goto 528}${color1}fan${color0}  ${ibm_fan}rpm   \
  68. ${goto 628}${color1}mem${color0}  ${memperc}% (${mem}/${memmax})   \
  69. ${goto 765}${color1}batt${color0} ${battery_short} (${battery_time})   \
  70. ${goto 915}${color1}up${color0}${goto 985}${uptime_short} \
  71.  
  72. ${color1}disk${color0} \
  73. ${color1}/${color0}${goto 76}${fs_used_perc /}%   \
  74. ${goto 100}\
  75. ${color1}/home${color0}${goto 148}${fs_used_perc /home}% \
  76. ${if_mounted /mnt}${color1}/mnt${color0}${goto 218}${fs_used_perc /mnt}%  ${endif}\
  77. ${if_up eth0}${goto 242}${color1}eth0${color0} ${addrs eth0} \
  78. ${goto 528}${color1}up${color0}${offset -18}${upspeedf eth0} (${offset -6}${totalup eth0}) \
  79. ${goto 628}${color1}down${color0}${offset -18}${downspeedf eth0} (${totaldown eth0})   ${endif}\
  80. ${if_up wlan0}${goto 242}${color1}wlan0${color0} \
  81. ${wireless_essid wlan0} (${offset -12}${wireless_link_qual_perc wlan0}%) ${addrs wlan0} \
  82. ${goto 528}${color1}up${color0} ${offset -20}${upspeedf wlan0} (${totalup wlan0}) \
  83. ${goto 628}${color1}down${color0}${goto 663}${downspeedf wlan0} (${totaldown wlan0})   ${endif}\
  84. ${goto 766}${color1}time${color0}${goto 873}${time %R}   \
  85. ${goto 915}${color1}date${color0} ${time %a %d.%m.%Y}   \