Last active
April 13, 2021 10:59
-
-
Save leaanthony/ed6ec2d9f3dcfbf3056cb02bda7570ce to your computer and use it in GitHub Desktop.
xbar acid test first draft
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
echo 'xbar acid test | font="AvenirNext-Italic" size=14 color="yellow" image=iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAMAAACelLz8AAAApVBMVEUAAAD7+/sAAAD5+flnZ2f8/Pzp6emtra3////////////////////v7+9fYGFcXF2vr6+urq75+fl5eXn////////////z8/P19fXv7+8AAAAxMjUkJSgAAAD///8rLDAvMDQuLzMmJyopKi44OTzU1NQ0NTj7+/zX19ednZ09PkF7e3wiIyYbHCBFRUgMDxbh4eHc3NwAAAoWGB3m5ubZ2dnOzs+zkOP3AAAAG3RSTlMABPxE/GwpD/rc0LRRTP7+/Px4/uTUvH59YAlHu2tSAAABZklEQVQoz2WSh27DMAxEG9lxs/eWqGVLHvHIaPv/n1ZakZEaPVuAiAccjhQ/vAaDwfvSU1tGwWwWRK7okc/hdDxK09F4Ovz0zJNgwrP8GobXPOOTwDFPNtwsCIGmAUIWhm8c82RFqqJIUEVRkVXH0A1JnUjqJJMaGXq6BBNDaorEM1oTM8Es+A354pmolknZEpU8F3zo0DQjiVCUqu6IhGTT1jEa54gotVJaKpWlFFE+bnsPRlewkgHEMYAWAKW0cB0FiGZpCFY0dwOQ3Sv4uWlmIUxnHYqb2zfA/VaB+fLIG1JVATCGZhoelaLesI1htYg7aaGti/EKT5kWQrsTC80ohvctLx+K/ZF6LNuW/aAKVmrmpEtW+EHhP+drUojyhUpRkDWfd6M/IQOJExI4SkByej/YkZslIYAiZGn4sSPOc89Nvg3DLS7AHt36a3PY8TTlu4Nbm/6yXaL5+TyPLq7oscG/2y/Pri5HTorHMQAAAABJRU5ErkJggg==' | |
echo "---" | |
echo "\033[0;38;2;255;0;0mA\033[0;38;2;255;127;0mN\033[0;38;2;255;255;0mS\033[0;38;2;0;255;0mI" | |
echo "-- \033[0;38;2;255;0;0mA\033[0;38;2;255;127;0mN\033[0;38;2;255;255;0mS\033[0;38;2;0;255;0mI \033[0;38;2;0;0;255mA\033[0;38;2;75;0;130mR\033[0;38;2;148;0;211mT\033[0m" | |
echo "-- \033[0;38;2;255;0;0mTr\033[0;38;2;255;127;0mun\033[0;38;2;255;255;0mca\033[0;38;2;0;255;0mte \033[0;38;2;0;0;255md.\033[0;38;2;75;0;130mR\033[0;38;2;148;0;211mT\033[0m | length=8" | |
echo "image" | |
echo "-- plain | image=iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAMAAACelLz8AAAApVBMVEUAAAD7+/sAAAD5+flnZ2f8/Pzp6emtra3////////////////////v7+9fYGFcXF2vr6+urq75+fl5eXn////////////z8/P19fXv7+8AAAAxMjUkJSgAAAD///8rLDAvMDQuLzMmJyopKi44OTzU1NQ0NTj7+/zX19ednZ09PkF7e3wiIyYbHCBFRUgMDxbh4eHc3NwAAAoWGB3m5ubZ2dnOzs+zkOP3AAAAG3RSTlMABPxE/GwpD/rc0LRRTP7+/Px4/uTUvH59YAlHu2tSAAABZklEQVQoz2WSh27DMAxEG9lxs/eWqGVLHvHIaPv/n1ZakZEaPVuAiAccjhQ/vAaDwfvSU1tGwWwWRK7okc/hdDxK09F4Ovz0zJNgwrP8GobXPOOTwDFPNtwsCIGmAUIWhm8c82RFqqJIUEVRkVXH0A1JnUjqJJMaGXq6BBNDaorEM1oTM8Es+A354pmolknZEpU8F3zo0DQjiVCUqu6IhGTT1jEa54gotVJaKpWlFFE+bnsPRlewkgHEMYAWAKW0cB0FiGZpCFY0dwOQ3Sv4uWlmIUxnHYqb2zfA/VaB+fLIG1JVATCGZhoelaLesI1htYg7aaGti/EKT5kWQrsTC80ohvctLx+K/ZF6LNuW/aAKVmrmpEtW+EHhP+drUojyhUpRkDWfd6M/IQOJExI4SkByej/YkZslIYAiZGn4sSPOc89Nvg3DLS7AHt36a3PY8TTlu4Nbm/6yXaL5+TyPLq7oscG/2y/Pri5HTorHMQAAAABJRU5ErkJggg==" | |
echo "-- plain template | templateImage=iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAMAAACelLz8AAAApVBMVEUAAAD7+/sAAAD5+flnZ2f8/Pzp6emtra3////////////////////v7+9fYGFcXF2vr6+urq75+fl5eXn////////////z8/P19fXv7+8AAAAxMjUkJSgAAAD///8rLDAvMDQuLzMmJyopKi44OTzU1NQ0NTj7+/zX19ednZ09PkF7e3wiIyYbHCBFRUgMDxbh4eHc3NwAAAoWGB3m5ubZ2dnOzs+zkOP3AAAAG3RSTlMABPxE/GwpD/rc0LRRTP7+/Px4/uTUvH59YAlHu2tSAAABZklEQVQoz2WSh27DMAxEG9lxs/eWqGVLHvHIaPv/n1ZakZEaPVuAiAccjhQ/vAaDwfvSU1tGwWwWRK7okc/hdDxK09F4Ovz0zJNgwrP8GobXPOOTwDFPNtwsCIGmAUIWhm8c82RFqqJIUEVRkVXH0A1JnUjqJJMaGXq6BBNDaorEM1oTM8Es+A354pmolknZEpU8F3zo0DQjiVCUqu6IhGTT1jEa54gotVJaKpWlFFE+bnsPRlewkgHEMYAWAKW0cB0FiGZpCFY0dwOQ3Sv4uWlmIUxnHYqb2zfA/VaB+fLIG1JVATCGZhoelaLesI1htYg7aaGti/EKT5kWQrsTC80ohvctLx+K/ZF6LNuW/aAKVmrmpEtW+EHhP+drUojyhUpRkDWfd6M/IQOJExI4SkByej/YkZslIYAiZGn4sSPOc89Nvg3DLS7AHt36a3PY8TTlu4Nbm/6yXaL5+TyPLq7oscG/2y/Pri5HTorHMQAAAABJRU5ErkJggg==" | |
echo "-- transparent | image=iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAMAAACelLz8AAAApVBMVEUAAAD7+/sAAAD5+flnZ2f8/Pzp6emtra3////////////////////v7+9fYGFcXF2vr6+urq75+fl5eXn////////////z8/P19fXv7+8AAAAxMjUkJSgAAAD///8rLDAvMDQuLzMmJyopKi44OTzU1NQ0NTj7+/zX19ednZ09PkF7e3wiIyYbHCBFRUgMDxbh4eHc3NwAAAoWGB3m5ubZ2dnOzs+zkOP3AAAAG3RSTlMABPxE/GwpD/rc0LRRTP7+/Px4/uTUvH59YAlHu2tSAAABZklEQVQoz2WSh27DMAxEG9lxs/eWqGVLHvHIaPv/n1ZakZEaPVuAiAccjhQ/vAaDwfvSU1tGwWwWRK7okc/hdDxK09F4Ovz0zJNgwrP8GobXPOOTwDFPNtwsCIGmAUIWhm8c82RFqqJIUEVRkVXH0A1JnUjqJJMaGXq6BBNDaorEM1oTM8Es+A354pmolknZEpU8F3zo0DQjiVCUqu6IhGTT1jEa54gotVJaKpWlFFE+bnsPRlewkgHEMYAWAKW0cB0FiGZpCFY0dwOQ3Sv4uWlmIUxnHYqb2zfA/VaB+fLIG1JVATCGZhoelaLesI1htYg7aaGti/EKT5kWQrsTC80ohvctLx+K/ZF6LNuW/aAKVmrmpEtW+EHhP+drUojyhUpRkDWfd6M/IQOJExI4SkByej/YkZslIYAiZGn4sSPOc89Nvg3DLS7AHt36a3PY8TTlu4Nbm/6yXaL5+TyPLq7oscG/2y/Pri5HTorHMQAAAABJRU5ErkJggg==" | |
echo "-- plain link | href='https://xbarapp.com' image=iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAMAAACelLz8AAAApVBMVEUAAAD7+/sAAAD5+flnZ2f8/Pzp6emtra3////////////////////v7+9fYGFcXF2vr6+urq75+fl5eXn////////////z8/P19fXv7+8AAAAxMjUkJSgAAAD///8rLDAvMDQuLzMmJyopKi44OTzU1NQ0NTj7+/zX19ednZ09PkF7e3wiIyYbHCBFRUgMDxbh4eHc3NwAAAoWGB3m5ubZ2dnOzs+zkOP3AAAAG3RSTlMABPxE/GwpD/rc0LRRTP7+/Px4/uTUvH59YAlHu2tSAAABZklEQVQoz2WSh27DMAxEG9lxs/eWqGVLHvHIaPv/n1ZakZEaPVuAiAccjhQ/vAaDwfvSU1tGwWwWRK7okc/hdDxK09F4Ovz0zJNgwrP8GobXPOOTwDFPNtwsCIGmAUIWhm8c82RFqqJIUEVRkVXH0A1JnUjqJJMaGXq6BBNDaorEM1oTM8Es+A354pmolknZEpU8F3zo0DQjiVCUqu6IhGTT1jEa54gotVJaKpWlFFE+bnsPRlewkgHEMYAWAKW0cB0FiGZpCFY0dwOQ3Sv4uWlmIUxnHYqb2zfA/VaB+fLIG1JVATCGZhoelaLesI1htYg7aaGti/EKT5kWQrsTC80ohvctLx+K/ZF6LNuW/aAKVmrmpEtW+EHhP+drUojyhUpRkDWfd6M/IQOJExI4SkByej/YkZslIYAiZGn4sSPOc89Nvg3DLS7AHt36a3PY8TTlu4Nbm/6yXaL5+TyPLq7oscG/2y/Pri5HTorHMQAAAABJRU5ErkJggg==" | |
echo "-- red | color='red' image=iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAMAAACelLz8AAAApVBMVEUAAAD7+/sAAAD5+flnZ2f8/Pzp6emtra3////////////////////v7+9fYGFcXF2vr6+urq75+fl5eXn////////////z8/P19fXv7+8AAAAxMjUkJSgAAAD///8rLDAvMDQuLzMmJyopKi44OTzU1NQ0NTj7+/zX19ednZ09PkF7e3wiIyYbHCBFRUgMDxbh4eHc3NwAAAoWGB3m5ubZ2dnOzs+zkOP3AAAAG3RSTlMABPxE/GwpD/rc0LRRTP7+/Px4/uTUvH59YAlHu2tSAAABZklEQVQoz2WSh27DMAxEG9lxs/eWqGVLHvHIaPv/n1ZakZEaPVuAiAccjhQ/vAaDwfvSU1tGwWwWRK7okc/hdDxK09F4Ovz0zJNgwrP8GobXPOOTwDFPNtwsCIGmAUIWhm8c82RFqqJIUEVRkVXH0A1JnUjqJJMaGXq6BBNDaorEM1oTM8Es+A354pmolknZEpU8F3zo0DQjiVCUqu6IhGTT1jEa54gotVJaKpWlFFE+bnsPRlewkgHEMYAWAKW0cB0FiGZpCFY0dwOQ3Sv4uWlmIUxnHYqb2zfA/VaB+fLIG1JVATCGZhoelaLesI1htYg7aaGti/EKT5kWQrsTC80ohvctLx+K/ZF6LNuW/aAKVmrmpEtW+EHhP+drUojyhUpRkDWfd6M/IQOJExI4SkByej/YkZslIYAiZGn4sSPOc89Nvg3DLS7AHt36a3PY8TTlu4Nbm/6yXaL5+TyPLq7oscG/2y/Pri5HTorHMQAAAABJRU5ErkJggg==" | |
echo "-- small | size='8' image=iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAMAAACelLz8AAAApVBMVEUAAAD7+/sAAAD5+flnZ2f8/Pzp6emtra3////////////////////v7+9fYGFcXF2vr6+urq75+fl5eXn////////////z8/P19fXv7+8AAAAxMjUkJSgAAAD///8rLDAvMDQuLzMmJyopKi44OTzU1NQ0NTj7+/zX19ednZ09PkF7e3wiIyYbHCBFRUgMDxbh4eHc3NwAAAoWGB3m5ubZ2dnOzs+zkOP3AAAAG3RSTlMABPxE/GwpD/rc0LRRTP7+/Px4/uTUvH59YAlHu2tSAAABZklEQVQoz2WSh27DMAxEG9lxs/eWqGVLHvHIaPv/n1ZakZEaPVuAiAccjhQ/vAaDwfvSU1tGwWwWRK7okc/hdDxK09F4Ovz0zJNgwrP8GobXPOOTwDFPNtwsCIGmAUIWhm8c82RFqqJIUEVRkVXH0A1JnUjqJJMaGXq6BBNDaorEM1oTM8Es+A354pmolknZEpU8F3zo0DQjiVCUqu6IhGTT1jEa54gotVJaKpWlFFE+bnsPRlewkgHEMYAWAKW0cB0FiGZpCFY0dwOQ3Sv4uWlmIUxnHYqb2zfA/VaB+fLIG1JVATCGZhoelaLesI1htYg7aaGti/EKT5kWQrsTC80ohvctLx+K/ZF6LNuW/aAKVmrmpEtW+EHhP+drUojyhUpRkDWfd6M/IQOJExI4SkByej/YkZslIYAiZGn4sSPOc89Nvg3DLS7AHt36a3PY8TTlu4Nbm/6yXaL5+TyPLq7oscG/2y/Pri5HTorHMQAAAABJRU5ErkJggg==" | |
echo "-- emoji :smile: | emojize=true image=iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAMAAACelLz8AAAApVBMVEUAAAD7+/sAAAD5+flnZ2f8/Pzp6emtra3////////////////////v7+9fYGFcXF2vr6+urq75+fl5eXn////////////z8/P19fXv7+8AAAAxMjUkJSgAAAD///8rLDAvMDQuLzMmJyopKi44OTzU1NQ0NTj7+/zX19ednZ09PkF7e3wiIyYbHCBFRUgMDxbh4eHc3NwAAAoWGB3m5ubZ2dnOzs+zkOP3AAAAG3RSTlMABPxE/GwpD/rc0LRRTP7+/Px4/uTUvH59YAlHu2tSAAABZklEQVQoz2WSh27DMAxEG9lxs/eWqGVLHvHIaPv/n1ZakZEaPVuAiAccjhQ/vAaDwfvSU1tGwWwWRK7okc/hdDxK09F4Ovz0zJNgwrP8GobXPOOTwDFPNtwsCIGmAUIWhm8c82RFqqJIUEVRkVXH0A1JnUjqJJMaGXq6BBNDaorEM1oTM8Es+A354pmolknZEpU8F3zo0DQjiVCUqu6IhGTT1jEa54gotVJaKpWlFFE+bnsPRlewkgHEMYAWAKW0cB0FiGZpCFY0dwOQ3Sv4uWlmIUxnHYqb2zfA/VaB+fLIG1JVATCGZhoelaLesI1htYg7aaGti/EKT5kWQrsTC80ohvctLx+K/ZF6LNuW/aAKVmrmpEtW+EHhP+drUojyhUpRkDWfd6M/IQOJExI4SkByej/YkZslIYAiZGn4sSPOc89Nvg3DLS7AHt36a3PY8TTlu4Nbm/6yXaL5+TyPLq7oscG/2y/Pri5HTorHMQAAAABJRU5ErkJggg==" | |
echo "-- Broken Image | image=broken" | |
echo "-- Submenu | emojize=true image=iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAMAAACelLz8AAAApVBMVEUAAAD7+/sAAAD5+flnZ2f8/Pzp6emtra3////////////////////v7+9fYGFcXF2vr6+urq75+fl5eXn////////////z8/P19fXv7+8AAAAxMjUkJSgAAAD///8rLDAvMDQuLzMmJyopKi44OTzU1NQ0NTj7+/zX19ednZ09PkF7e3wiIyYbHCBFRUgMDxbh4eHc3NwAAAoWGB3m5ubZ2dnOzs+zkOP3AAAAG3RSTlMABPxE/GwpD/rc0LRRTP7+/Px4/uTUvH59YAlHu2tSAAABZklEQVQoz2WSh27DMAxEG9lxs/eWqGVLHvHIaPv/n1ZakZEaPVuAiAccjhQ/vAaDwfvSU1tGwWwWRK7okc/hdDxK09F4Ovz0zJNgwrP8GobXPOOTwDFPNtwsCIGmAUIWhm8c82RFqqJIUEVRkVXH0A1JnUjqJJMaGXq6BBNDaorEM1oTM8Es+A354pmolknZEpU8F3zo0DQjiVCUqu6IhGTT1jEa54gotVJaKpWlFFE+bnsPRlewkgHEMYAWAKW0cB0FiGZpCFY0dwOQ3Sv4uWlmIUxnHYqb2zfA/VaB+fLIG1JVATCGZhoelaLesI1htYg7aaGti/EKT5kWQrsTC80ohvctLx+K/ZF6LNuW/aAKVmrmpEtW+EHhP+drUojyhUpRkDWfd6M/IQOJExI4SkByej/YkZslIYAiZGn4sSPOc89Nvg3DLS7AHt36a3PY8TTlu4Nbm/6yXaL5+TyPLq7oscG/2y/Pri5HTorHMQAAAABJRU5ErkJggg==" | |
echo "---- Cool!" | |
echo "text styling | color='green' font='courier' size=16" | |
echo "-- default" | |
echo "-- red (rgb) | color='#F00'" | |
echo "-- red (rrggbb) | color='#FF0000'" | |
echo "-- red (rrggbbaa) | color='#FF000044'" | |
echo "-- red (named) | color='red'" | |
echo "-- blue (named) | color='blue'" | |
echo "-- courier | color='red' font='courier' size=12" | |
echo "-- Avenir Next Italic | color='green' font='AvenirNext-Italic' size=14" | |
echo "-- Baskerville Bold Italic | color='#0000FF' font='Baskerville-BoldItalic' size=16" | |
echo "-- SF Pro Ultralight Italic | color='yellow' font='SFPro-UltralightItalic' size=18" | |
echo "keyboard" | |
echo "-- Cmd + o | href="https://xbarapp.com" key=CmdOrCtrl+o" | |
echo "-- Option + o | href="https://duckduckgo.com" key=OptionOrAlt+o" | |
echo "-- Shift + o | href="https://reddit.com" key=Shift+o" | |
echo "-- Control + o | href="https://google.com" key=Ctrl+o" | |
echo "-- Combo! | href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" key=Ctrl+OptionOrAlt+CmdOrCtrl+o" | |
echo "-- Invalid | href="https://google.com" key=Invalid" | |
echo "shell" | |
echo "length" | |
echo "-- too long | length=200" | |
echo "-- negative | length=-1" | |
echo "-- zero | length=0" | |
echo "-- one | length=1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment