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 python | |
# -*- coding: utf-8 -*- | |
# | |
# Usage: | |
# 1. Save as `vt-color-scheme.py` in $PATH (/usr/bin for example) | |
# 2. Make executable `chmod +x vt-color-scheme.py` | |
# 3. Add `$(vt-color-scheme.py)` to `GRUB_CMDLINE_LINUX` in `/etc/default/grub` | |
# example `GRUB_CMDLINE_LINUX="$(vt-color-scheme.py)"` | |
# 4. Create new grub config with `sudo grub-mkconfig -o /boot/grub/grub.cfg` | |
# 5. Reboot to apply changes |