From 6b14d6c4be7797e616ba385b74fed9dba841dfa9 Mon Sep 17 00:00:00 2001 From: Dmytro Meleshko Date: Mon, 26 Aug 2019 14:54:06 +0300 Subject: [PATCH] [colorschemes] force Python 3 --- colorschemes/_theme.py | 2 +- colorschemes/iterm.py | 2 +- colorschemes/kitty.py | 7 ++++++- colorschemes/nvim.py | 2 +- colorschemes/termux.py | 2 +- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/colorschemes/_theme.py b/colorschemes/_theme.py index c9660bc..f58af99 100644 --- a/colorschemes/_theme.py +++ b/colorschemes/_theme.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # base16-eighties by Chris Kempson (http://chriskempson.com) base16_name = "eighties" diff --git a/colorschemes/iterm.py b/colorschemes/iterm.py index 4931105..392d183 100755 --- a/colorschemes/iterm.py +++ b/colorschemes/iterm.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import _theme as theme diff --git a/colorschemes/kitty.py b/colorschemes/kitty.py index 7740588..e20011c 100755 --- a/colorschemes/kitty.py +++ b/colorschemes/kitty.py @@ -1,7 +1,12 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import _theme as theme + +def print_color(key_name, color): + print("{} {}".format(key_name, color)) + + print("background", theme.bg) print("foreground", theme.fg) print("cursor", theme.cursor_bg) diff --git a/colorschemes/nvim.py b/colorschemes/nvim.py index 700c3d3..d322bd4 100755 --- a/colorschemes/nvim.py +++ b/colorschemes/nvim.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import _theme as theme diff --git a/colorschemes/termux.py b/colorschemes/termux.py index 337cc4c..ddcb3b4 100755 --- a/colorschemes/termux.py +++ b/colorschemes/termux.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import _theme as theme