From f1731134a3473c69b4e6b665a418418421befbb9 Mon Sep 17 00:00:00 2001 From: Ben Reaves Date: Fri, 26 Jul 2019 20:37:52 -0500 Subject: [PATCH] - Initial commit with readme and install.py --- README.md | 29 +++++++++++++++++++++++++++++ install.py | 21 +++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 README.md create mode 100755 install.py diff --git a/README.md b/README.md new file mode 100644 index 0000000..3bc95b9 --- /dev/null +++ b/README.md @@ -0,0 +1,29 @@ +# Kinto +[![GitHub release](https://img.shields.io/github/release/rbreaves/kinto.svg)](https://github.com/rbreaves/kinto/releases) + +- Fix the damn keyboard. - + +No more spiderhands for programmers and developers. This project is only about one thing, remapping the control key to be next to your space bar no matter what keyboard you swap into your workflow and to do it without mastering xmodmap, setxkbmap or modifying system files. + +## How to install + +1. clone this repo +``` + +``` +2. Install via shell file +``` + +``` +3. Follow the prompts and the script will guide you through the rest of the setup. + +## Troubleshooting +If your keyboard is not being autodetected and configured then please run `xinput list`, if you are on linux, and copy the output into a ticket under issues. + +## Contributing + +I welcome any and all contributors who want to contribute something to this project. + +## License + +GPL v2 \ No newline at end of file diff --git a/install.py b/install.py new file mode 100755 index 0000000..039bf46 --- /dev/null +++ b/install.py @@ -0,0 +1,21 @@ +import os, platform, sysconfig, sys + +yellow = "\033[1;33m" +green = "\033[0;32m" +red = "\033[1;31m" +reset = "\033[0;0m" + +platform_name = platform.system() +# print sysconfig.get_platform() + +sys.stdout.write(yellow) +cloud = '\u2601'.decode('unicode-escape') +circle = '\u25CE'.decode('unicode-escape') +heart = '\u2765'.decode('unicode-escape') +# bang = '\u1F589'.decode('unicode-escape') +print " K!nt" + circle +sys.stdout.write(reset) +print " - F!x the damn keyb" + circle + "ard. - " + +print +print " You are using: " + platform_name