The most important of things.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

gruvbox_palette.sh 4.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. #!/bin/sh
  2. if [ "${TERM%%-*}" = "screen" ]; then
  3. if [ -n "$TMUX" ]; then
  4. printf "\033Ptmux;\033\033]4;236;rgb:32/30/2f\007\033\\"
  5. printf "\033Ptmux;\033\033]4;234;rgb:1d/20/21\007\033\\"
  6. printf "\033Ptmux;\033\033]4;235;rgb:28/28/28\007\033\\"
  7. printf "\033Ptmux;\033\033]4;237;rgb:3c/38/36\007\033\\"
  8. printf "\033Ptmux;\033\033]4;239;rgb:50/49/45\007\033\\"
  9. printf "\033Ptmux;\033\033]4;241;rgb:66/5c/54\007\033\\"
  10. printf "\033Ptmux;\033\033]4;243;rgb:7c/6f/64\007\033\\"
  11. printf "\033Ptmux;\033\033]4;244;rgb:92/83/74\007\033\\"
  12. printf "\033Ptmux;\033\033]4;245;rgb:92/83/74\007\033\\"
  13. printf "\033Ptmux;\033\033]4;228;rgb:f2/e5/bc\007\033\\"
  14. printf "\033Ptmux;\033\033]4;230;rgb:f9/f5/d7\007\033\\"
  15. printf "\033Ptmux;\033\033]4;229;rgb:fb/f1/c7\007\033\\"
  16. printf "\033Ptmux;\033\033]4;223;rgb:eb/db/b2\007\033\\"
  17. printf "\033Ptmux;\033\033]4;250;rgb:d5/c4/a1\007\033\\"
  18. printf "\033Ptmux;\033\033]4;248;rgb:bd/ae/93\007\033\\"
  19. printf "\033Ptmux;\033\033]4;246;rgb:a8/99/84\007\033\\"
  20. printf "\033Ptmux;\033\033]4;167;rgb:fb/49/34\007\033\\"
  21. printf "\033Ptmux;\033\033]4;142;rgb:b8/bb/26\007\033\\"
  22. printf "\033Ptmux;\033\033]4;214;rgb:fa/bd/2f\007\033\\"
  23. printf "\033Ptmux;\033\033]4;109;rgb:83/a5/98\007\033\\"
  24. printf "\033Ptmux;\033\033]4;175;rgb:d3/86/9b\007\033\\"
  25. printf "\033Ptmux;\033\033]4;108;rgb:8e/c0/7c\007\033\\"
  26. printf "\033Ptmux;\033\033]4;208;rgb:fe/80/19\007\033\\"
  27. printf "\033Ptmux;\033\033]4;88;rgb:9d/00/06\007\033\\"
  28. printf "\033Ptmux;\033\033]4;100;rgb:79/74/0e\007\033\\"
  29. printf "\033Ptmux;\033\033]4;136;rgb:b5/76/14\007\033\\"
  30. printf "\033Ptmux;\033\033]4;24;rgb:07/66/78\007\033\\"
  31. printf "\033Ptmux;\033\033]4;96;rgb:8f/3f/71\007\033\\"
  32. printf "\033Ptmux;\033\033]4;66;rgb:42/7b/58\007\033\\"
  33. printf "\033Ptmux;\033\033]4;130;rgb:af/3a/03\007\033\\"
  34. else
  35. printf "\033P\033]4;236;rgb:32/30/2f\007\033\\"
  36. printf "\033P\033]4;234;rgb:1d/20/21\007\033\\"
  37. printf "\033P\033]4;235;rgb:28/28/28\007\033\\"
  38. printf "\033P\033]4;237;rgb:3c/38/36\007\033\\"
  39. printf "\033P\033]4;239;rgb:50/49/45\007\033\\"
  40. printf "\033P\033]4;241;rgb:66/5c/54\007\033\\"
  41. printf "\033P\033]4;243;rgb:7c/6f/64\007\033\\"
  42. printf "\033P\033]4;244;rgb:92/83/74\007\033\\"
  43. printf "\033P\033]4;245;rgb:92/83/74\007\033\\"
  44. printf "\033P\033]4;228;rgb:f2/e5/bc\007\033\\"
  45. printf "\033P\033]4;230;rgb:f9/f5/d7\007\033\\"
  46. printf "\033P\033]4;229;rgb:fb/f1/c7\007\033\\"
  47. printf "\033P\033]4;223;rgb:eb/db/b2\007\033\\"
  48. printf "\033P\033]4;250;rgb:d5/c4/a1\007\033\\"
  49. printf "\033P\033]4;248;rgb:bd/ae/93\007\033\\"
  50. printf "\033P\033]4;246;rgb:a8/99/84\007\033\\"
  51. printf "\033P\033]4;167;rgb:fb/49/34\007\033\\"
  52. printf "\033P\033]4;142;rgb:b8/bb/26\007\033\\"
  53. printf "\033P\033]4;214;rgb:fa/bd/2f\007\033\\"
  54. printf "\033P\033]4;109;rgb:83/a5/98\007\033\\"
  55. printf "\033P\033]4;175;rgb:d3/86/9b\007\033\\"
  56. printf "\033P\033]4;108;rgb:8e/c0/7c\007\033\\"
  57. printf "\033P\033]4;208;rgb:fe/80/19\007\033\\"
  58. printf "\033P\033]4;88;rgb:9d/00/06\007\033\\"
  59. printf "\033P\033]4;100;rgb:79/74/0e\007\033\\"
  60. printf "\033P\033]4;136;rgb:b5/76/14\007\033\\"
  61. printf "\033P\033]4;24;rgb:07/66/78\007\033\\"
  62. printf "\033P\033]4;96;rgb:8f/3f/71\007\033\\"
  63. printf "\033P\033]4;66;rgb:42/7b/58\007\033\\"
  64. printf "\033P\033]4;130;rgb:af/3a/03\007\033\\"
  65. fi
  66. elif [ "$TERM" != "linux" ] && [ "$TERM" != "vt100" ] && [ "$TERM" != "vt220" ]; then
  67. printf "\033]4;236;rgb:32/30/2f\033\\"
  68. printf "\033]4;234;rgb:1d/20/21\033\\"
  69. printf "\033]4;235;rgb:28/28/28\033\\"
  70. printf "\033]4;237;rgb:3c/38/36\033\\"
  71. printf "\033]4;239;rgb:50/49/45\033\\"
  72. printf "\033]4;241;rgb:66/5c/54\033\\"
  73. printf "\033]4;243;rgb:7c/6f/64\033\\"
  74. printf "\033]4;244;rgb:92/83/74\033\\"
  75. printf "\033]4;245;rgb:92/83/74\033\\"
  76. printf "\033]4;228;rgb:f2/e5/bc\033\\"
  77. printf "\033]4;230;rgb:f9/f5/d7\033\\"
  78. printf "\033]4;229;rgb:fb/f1/c7\033\\"
  79. printf "\033]4;223;rgb:eb/db/b2\033\\"
  80. printf "\033]4;250;rgb:d5/c4/a1\033\\"
  81. printf "\033]4;248;rgb:bd/ae/93\033\\"
  82. printf "\033]4;246;rgb:a8/99/84\033\\"
  83. printf "\033]4;167;rgb:fb/49/34\033\\"
  84. printf "\033]4;142;rgb:b8/bb/26\033\\"
  85. printf "\033]4;214;rgb:fa/bd/2f\033\\"
  86. printf "\033]4;109;rgb:83/a5/98\033\\"
  87. printf "\033]4;175;rgb:d3/86/9b\033\\"
  88. printf "\033]4;108;rgb:8e/c0/7c\033\\"
  89. printf "\033]4;208;rgb:fe/80/19\033\\"
  90. printf "\033]4;88;rgb:9d/00/06\033\\"
  91. printf "\033]4;100;rgb:79/74/0e\033\\"
  92. printf "\033]4;136;rgb:b5/76/14\033\\"
  93. printf "\033]4;24;rgb:07/66/78\033\\"
  94. printf "\033]4;96;rgb:8f/3f/71\033\\"
  95. printf "\033]4;66;rgb:42/7b/58\033\\"
  96. printf "\033]4;130;rgb:af/3a/03\033\\"
  97. fi