icons 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. #!/bin/sh
  2. #
  3. # icons: some icon characters for status scripts
  4. #
  5. # Copyright (C) 2011-2014 Dustin Kirkland
  6. #
  7. # Authors: Dustin Kirkland <kirkland@byobu.org>
  8. #
  9. # This program is free software: you can redistribute it and/or modify
  10. # it under the terms of the GNU General Public License as published by
  11. # the Free Software Foundation, version 3 of the License.
  12. #
  13. # This program is distributed in the hope that it will be useful,
  14. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. # GNU General Public License for more details.
  17. #
  18. # You should have received a copy of the GNU General Public License
  19. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. PKG="byobu"
  21. # UTF-8 support in the hardstatus is coming one day in Screen
  22. if [ "$BYOBU_BACKEND" = "tmux" ] && [ "$BYOBU_CHARMAP" = "UTF-8" ]; then
  23. #ICON_C="℃"
  24. #ICON_F="℉"
  25. ICON_C="C"
  26. ICON_F="F"
  27. ICON_RD="◂"
  28. ICON_WR="▸"
  29. ICON_MAIL="⍌"
  30. ICON_UP="▴"
  31. ICON_DN="▾"
  32. ICON_TRASH="♸"
  33. ICON_WIFI=
  34. ICON_REBOOT="⟳"
  35. ICON_UPDATES="!"
  36. ICON_UPGRADE="⚠"
  37. ICON_SECURITY="‼"
  38. #ICON_KB="㎅"
  39. #ICON_MB="㎆"
  40. #ICON_GB="㎇"
  41. ICON_KB="K"
  42. ICON_MB="M"
  43. ICON_GB="G"
  44. ICON_TB="T"
  45. #ICON_KHz="㎑"
  46. #ICON_MHz="㎒"
  47. #ICON_GHz="㎓"
  48. ICON_KHz="KHz"
  49. ICON_MHz="MHz"
  50. ICON_GHz="GHz"
  51. #ICON_MBPS="㏔㎰"
  52. ICON_MBPS="Mb"
  53. ICON_SESSION="〣"
  54. ICON_LIVEPATCHED="🗹 "
  55. else
  56. # Only use 0-127 ANSI: http://ascii-table.com/ascii.php
  57. ICON_C="C"
  58. ICON_F="F"
  59. ICON_RD="<"
  60. ICON_WR=">"
  61. ICON_MAIL="[M]"
  62. ICON_UP="^"
  63. ICON_DN="v"
  64. ICON_TRASH="T"
  65. ICON_WIFI=
  66. ICON_REBOOT="(R)"
  67. ICON_UPDATES="!"
  68. ICON_UPGRADE="/!\\\\\\"
  69. ICON_SECURITY="!!"
  70. ICON_KB="KB"
  71. ICON_MB="MB"
  72. ICON_GB="GB"
  73. ICON_TB="TB"
  74. ICON_KHz="kHz"
  75. ICON_MHz="MHz"
  76. ICON_GHz="GHz"
  77. ICON_MBPS="Mbps"
  78. ICON_SESSION="|"
  79. ICON_LIVEPATCHED="[/]"
  80. fi