This file contains hidden or 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 python3 | |
| """ | |
| Generate kernel command-line parameters to apply the Tango color scheme | |
| to Linux virtual terminals (vt.default_red/grn/blu). | |
| Usage: | |
| 1. Save this script somewhere in $PATH, e.g. /usr/local/bin/vt-color-scheme | |
| 2. chmod +x /usr/local/bin/vt-color-scheme | |
| 3. Add "$(vt-color-scheme)" to GRUB_CMDLINE_LINUX in /etc/default/grub | |
| 4. sudo grub-mkconfig -o /boot/grub/grub.cfg |