summaryrefslogtreecommitdiff
path: root/scripts/colors.sh
diff options
context:
space:
mode:
authorNathan Lilienthal <nathan@nixpulvis.com>2018-12-08 15:28:57 -0500
committerChristian Duerr <chrisduerr@users.noreply.github.com>2018-12-08 20:28:57 +0000
commitf32facfbfd3d46b76744d118fd2fa5123501f900 (patch)
treea2b8835a62f80faf24d6bd120c6622a317b26b56 /scripts/colors.sh
parent6b61e967390b2fa4a24f962c4771cdd82e0e9de3 (diff)
downloadalacritty-f32facfbfd3d46b76744d118fd2fa5123501f900.tar.gz
alacritty-f32facfbfd3d46b76744d118fd2fa5123501f900.zip
Refactor Alacritty scripts
This includes some changes to the scripts `README.md` to provide some more information on the different Alacritty scripts. A new script for testing the 24 bit support of Alacritty has been added with the `24-bit-color.sh` name. This should help with troubleshooting truecolor support issues. Since `perf` is a standard tool which is available in the official repositories for most distributions, it doesn't make much sense to provide an installation script specifically for Ubuntu. As a result of this, the script has been removed.
Diffstat (limited to 'scripts/colors.sh')
-rwxr-xr-xscripts/colors.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/colors.sh b/scripts/colors.sh
new file mode 100755
index 00000000..436d149e
--- /dev/null
+++ b/scripts/colors.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+for x in {0..8}; do
+ for i in {30..37}; do
+ for a in {40..47}; do
+ echo -ne "\e[$x;$i;$a""m\\\e[$x;$i;$a""m\e[0;37;40m "
+ done
+ echo
+ done
+done
+echo ""