spectrwm-conky 6.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. ##### My (demuredemeanor) conky for spectrwm
  2. # Uses tabstop=4; shiftwidth=4 tabs; foldmarker={{{,}}};
  3. # https://notabug.org/demure/dotfiles/
  4. # legacy repo http://github.com/demure/dotfiles
  5. ## Note on batterys, /proc/acpi/ is long depreciated, see /sys/class/power_supply/
  6. out_to_x no
  7. out_to_console yes
  8. update_interval 1.0
  9. total_run_times 0
  10. draw_graph_borders no
  11. no_buffers yes
  12. override_utf8_locale yes # Make UTF8 supposedly work
  13. if_up_strictness address # Make if_up work correctly for eth0
  14. short_units yes # Shortens units to single character
  15. #imlib_cache_size 0*/
  16. TEXT
  17. ### Old ### {{{
  18. #${alignc} Local ${addr wlan0} IP ${execi 300 ~/.conky/scripts/ip.sh} Home ${fs_used /home}/${fs_size /home} / Free ${fs_free_perc /home}% Cpu ${cpu cpu0}% ${freq}MHz ${cpu cpu1}% ${cpu cpu2}% ${cpu cpu3}% ${cpu cpu4}% Mem $mem/$memmax / $memperc% Down ${downspeed wlan0} Up ${upspeed wlan0}
  19. #UpTime:${uptime_short} | Temp:${hwmon tempf 1}F | RAM:$memperc% | CPU:${cpu cpu 0}% | ESSID: ${wireless_essid wlan0} | wlan0: ${if_up wlan0}${addr wlan0}${endif} | Strength: ${wireless_link_qual_perc wlan0}% | eth0: ${if_up eth0}${addr eth0}${endif} | Bat:${battery_percent BAT0}% |
  20. ### End Old ### }}}
  21. ## Without Unicode
  22. ###${if_up eth0}eth:${addr eth0} | IP:${execi 300 ~/.conky/scripts/ip.sh} | ${endif}${if_up wlan0}wlan:${addr wlan0} | Wifi:${wireless_link_qual_perc wlan0}% | IP:${execi 300 ~/.conky/scripts/ip.sh} | ${endif}Temp:${hwmon tempf 1}F | Bat:${battery_percent BAT1}% | Vol:${exec amixer -c 0 get Master|awk -F"[][]" '/dB/ { print $2 }'} | RAM:$memperc% | HD:${fs_free}/${fs_size} ${fs_free_perc}% | CPU:${cpu cpu0}% ${cpu cpu1}% ${cpu cpu2}% ${cpu cpu3}% ${cpu cpu4}% | ${execi 1800 ~/.conky/scripts/weather.sh 48103} | ${if_up eth0}Down ${downspeed eth0}Up ${upspeed eth0}${endif}${if_up wlan0}Down ${downspeed wlan0}Up ${upspeed wlan0}${endif}
  23. ## With Some Unicode
  24. #${if_up eth0}eth:${addr eth0} | ☏:${execi 300 ~/.conky/scripts/ip.sh} | ${endif}${if_up wlan0}wlan:${addr wlan0} | Wifi:${wireless_link_qual_perc wlan0}% | ☏:${execi 300 ~/.conky/scripts/ip.sh} | ${endif}♨:${hwmon tempf 1}F | Bat:${battery_percent BAT1}% | Vol:${exec amixer -c 0 get Master|awk -F"[][]" '/dB/ { print $2 }'} | RAM:$memperc% | HD:${fs_free}/${fs_size} ${fs_free_perc}% | CPU:${cpu cpu0}% ${cpu cpu1}% ${cpu cpu2}% ${cpu cpu3}% ${cpu cpu4}% | ${execi 1800 ~/.conky/scripts/weather.sh 48103} | ${if_up eth0}↓${downspeed eth0}↑${upspeed eth0}${endif}${if_up wlan0}↓${downspeed wlan0}↑${upspeed wlan0}${endif}
  25. ## With Unicode
  26. #${if_up eth0}🔌:${addr eth0} ☏:${execi 300 ~/.conky/scripts/ip.sh} ${endif}${if_up wlan0}⚞:${addr wlan0} 📶:${wireless_link_qual_perc wlan0}% ☏:${execi 300 ~/.conky/scripts/ip.sh} ${endif}♨:${hwmon tempf 1}F 🔋:${battery_percent BAT1}% 🔊:${exec amixer -c 0 get Master|awk -F"[][]" '/dB/ { print $2 }'} 🐏:$memperc% 💾:${fs_free}/${fs_size} ${fs_free_perc}% ⚙:${cpu cpu1}% ${cpu cpu2}% ${cpu cpu3}% ${cpu cpu4}% ${execi 1800 ~/.conky/scripts/weather.sh 48103} ${if_up eth0}↓${downspeed eth0}↑${upspeed eth0}${endif}${if_up wlan0}↓${downspeed wlan0}↑${upspeed wlan0}${endif} ${if_existing /home/demure/.config/pianobar/isplaying 1}${exec cat ~/.config/pianobar/nowplaying}${endif}
  27. ${if_up eth0}\
  28. 🔌:${addr eth0} \
  29. ☏:${execi 600 ~/.conky/scripts/ip.sh} \
  30. ${endif}\
  31. ${if_up wlan0}\
  32. ⚞:${addr wlan0} \
  33. 📶:${wireless_link_qual_perc wlan0}% \
  34. ☏:${execi 300 ~/.conky/scripts/ip.sh} \
  35. ${endif}\
  36. ♨:${hwmon tempf 1}F \
  37. 🔋:${battery_percent BAT1}% \
  38. 🔊:${exec amixer -c 0 get Master|awk -F"[][]" '/dB/ { print $2 }'} \
  39. 🐏:$memperc% \
  40. 💾:${fs_free}/${fs_size} ${fs_free_perc}% \
  41. ⚙:${cpu cpu1}% ${cpu cpu2}% ${cpu cpu3}% ${cpu cpu4}% \
  42. ${execi 1800 ~/.conky/scripts/weather.sh 48103} \
  43. ${if_up eth0}\
  44. ↓${downspeed eth0}\
  45. ↑${upspeed eth0}\
  46. ${endif}\
  47. ${if_up wlan0}\
  48. ↓${downspeed wlan0}\
  49. ↑${upspeed wlan0}\
  50. ${endif} \
  51. ${if_existing /home/demure/.config/pianobar/isplaying 1}\
  52. ${exec cat ~/.config/pianobar/nowplaying}\
  53. ${endif}
  54. ### Testing Section ### {{{
  55. ### ${iconv_start UTF-8 ISO_8859-1}° ${iconv_stop}
  56. # 📶 🐏 💾 🔌 🔋 ✇ 🔊 🔈 🔇
  57. ### Old ### {{{
  58. ### Chars the work
  59. ## ★ ☆ ☎ ☏ ☜ ☞ ♀ ♂ ♠ ♡ ♣ ♤ ♥ ♧ ♨ ♩ ♪ ♬ ♭ ♯ ← ↑ → ↓ ↔ ↕ ↖ ↗ ↘ ↙ ⇒ ⇔
  60. ### Chars that don't work
  61. ## ⌂ ⟰  ⚶ ☸ ✇ ⚠ ⚡ ☢ ⚓ ⚙ ⚛ ⌖ ☀ ☁ ☂ ☃ ☄ ☇ ☈ ☉ ☊ ☋ ☌ ☍ ☐ ☑ ☒ ☓ ☔ ☕ ☖ ☗ ☘ ☙ ☚ ☛ ☝ ☟ ☠ ☡ ☢ ☣ ☤ ☥ ☦ ☧ ☨ ☩ ☪ ☫ ☬ ☭ ☮ ☯ ☰ ☱ ☲ ☳ ☴ ☵ ☶ ☷ ☸ ☹ ☺ ☻ ☼ ☽ ☾ ☿ ♁ ♄ ♅ ♆ ♇ ♈ ♉ ♊ ♋ ♌ ♍ ♎ ♏ ♐ ♑ ♒ ♓ ♔ ♕ ♖ ♗ ♘ ♙ ♚ ♛ ♜ ♝ ♞ ♟ ♢ ♦ ♃ ♫ ♮ ♰ ♱ ♲ ♳ ♴ ♵ ♶ ♷ ♸ ♹ ♺ ♻ ♼ ♽ ♾ ♿ ⚀ ⚁ ⚂ ⚃ ⚄ ⚅ ⚆ ⚇ ⚈ ⚉ ⚊ ⚋ ⚌ ⚍ ⚎ ⚏ ⚐ ⚑ ⚒ ⚓ ⚔ ⚕ ⚖ ⚗ ⚘ ⚙ ⚚ ⚛ ⚜ ⚝ ⚞ ⚟ ⚠ ⚡ ⚢ ⚣ ⚤ ⚥ ⚦ ⚧ ⚨ ⚩ ⚪ ⚫ ⚬ ⚭ ⚮ ⚯ ⚰ ⚱ ⚲ ⚳ ⚴ ⚵ ⚶ ⚷ ⚸ ⚹ ⚺ ⚻ ⚼ ⚽ ⚾ ⚿ ⛀ ⛁ ⛂ ⛃ ⛄ ⛅ ⛆ ⛇ ⛈ ⛉ ⛊ ⛋ ⛌ ⛍ ⛎ ⛏ ⛐ ⛑ ⛒ ⛓ ⛔ ⛕ ⛖ ⛗ ⛘ ⛙ ⛚ ⛛ ⛜ ⛝ ⛞ ⛟ ⛠ ⛡ ⛢ ⛣ ⛤ ⛥ ⛦ ⛧ ⛨ ⛩ ⛪ ⛫ ⛬ ⛭ ⛮ ⛯ ⛰ ⛱ ⛲ ⛳ ⛴ ⛵ ⛶ ⛷ ⛸ ⛹ ⛺ ⛻ ⛼ ⛽ ⛾ ⛿
  62. ## ✀ ✁ ✂ ✃ ✄ ✅ ✆ ✇ ✈ ✉ ✊ ✋ ✌ ✍ ✎ ✏ ✐ ✑ ✒ ✓ ✔ ✕ ✖ ✗ ✘ ✙ ✚ ✛ ✜ ✝ ✞ ✟ ✠ ✡ ✢ ✣ ✤ ✥ ✦ ✧ ✨ ✩ ✪ ✫ ✬ ✭ ✮ ✯ ✰ ✱ ✲ ✳ ✴ ✵ ✶ ✷ ✸ ✹ ✺ ✻ ✼ ✽ ✾ ✿ ❀ ❁ ❂ ❃ ❄ ❅ ❆ ❇ ❈ ❉ ❊ ❋ ❌ ❍ ❎ ❏ ❐ ❑ ❒ ❓ ❔ ❕ ❖ ❗ ❘ ❙ ❚ ❛ ❜ ❝ ❞ ❟ ❠ ❡ ❢ ❣ ❤ ❥ ❦ ❧ ❨ ❩ ❪ ❫ ❬ ❭ ❮ ❯ ❰ ❱ ❲ ❳ ❴ ❵ ❶ ❷ ❸ ❹ ❺ ❻ ❼ ❽ ❾ ❿ ➀ ➁ ➂ ➃ ➄ ➅ ➆ ➇ ➈ ➉ ➊ ➋ ➌ ➍ ➎ ➏ ➐ ➑ ➒ ➓ ➔ ➕ ➖ ➗ ➘ ➙ ➚ ➛ ➜ ➝ ➞ ➟ ➠ ➡ ➢ ➣ ➤ ➥ ➦ ➧ ➨ ➩ ➪ ➫ ➬ ➭ ➮ ➯ ➰ ➱ ➲ ➳ ➴ ➵ ➶ ➷ ➸ ➹ ➺ ➻ ➼ ➽ ➾ ➿
  63. ## ↚ ↛ ↜ ↝ ↞ ↟ ↠ ↡ ↢ ↣ ↤ ↥ ↦ ↧ ↨ ↩ ↪ ↫ ↬ ↭ ↮ ↯ ↰ ↱ ↲ ↳ ↴ ↵ ↶ ↷ ↸ ↹ ↺ ↻ ↼ ↽ ↾ ↿ ⇀ ⇁ ⇂ ⇃ ⇄ ⇅ ⇆ ⇇ ⇈ ⇉ ⇊ ⇋ ⇌ ⇍ ⇎ ⇏ ⇐ ⇑ ⇓ ⇕ ⇖ ⇗ ⇘ ⇙ ⇚ ⇛ ⇜ ⇝ ⇞ ⇟ ⇠ ⇡ ⇢ ⇣ ⇤ ⇥ ⇦ ⇧ ⇨ ⇩ ⇪ ⇫ ⇬ ⇭ ⇮ ⇯ ⇰ ⇱ ⇲ ⇳ ⇴ ⇵ ⇶ ⇷ ⇸ ⇹ ⇺ ⇻ ⇼ ⇽ ⇾ ⇿
  64. ### End Old ### }}}
  65. ### End Testing ### }}}