Configuring and maintaining YOUR Linux made easy
Note: I'm not a Bash expert (at least yet) so please forgive me for scripts that appear verbose or inefficient.
twiner is a collection of bash scripts to help you configure Linux effortlessly from within a command terminal. It provides a set of convenience functions for a growing list of commands, some of which may be used while setting up a freshly installed Linux system while others help save time while performing common tasks without the need to refer to man pages of related commands.
Even though twiner may work on any generic Linux system, in its current state, it only contains scripts for the below platforms:
- Debian/Ubuntu (and distros based on Debian and Ubuntu)
- Fedora (and other RedHat- like platforms)
- Arch (and Arch-based distros)
- Void Linux (work in progress)
twiner can be obtained from GitHub using git
:
In a terminal of your choice, type:
git clone https://github.com/myTerminal/twiner.git
twiner will be cloned at the current location.
There are three ways to use twiner:
To install twiner as a package on your system, simply run the below at the root of the project directory:
make install
You may be asked for root
password and twiner will then be available in the form of two commands.
To use twiner, you may run twiner-start
from the terminal, and to update it, you may run twiner-update
.
To use twiner as a bash program, run start
at the project root.
./start
Choose a task to perform by hitting the key to the left of a menu item and follow the instructions.
To consume twiner as a library, source the file load
at the project root.
./load
The above line sources all assets from twiner so that you can use them in your custom scripts.
When used without arguments, twiner runs in default
mode. However, the below two modes are also available.
To be able to see the commands twiner runs, use the argument debug
.
./start debug
OR
./load debug
To just see what commands would be run instead of running them, use the argument simulate
.
./start simulate
OR
./load simulate
To test (and simulate) your own bash functions, you can use ./test-bed
.
Ex:
./test-bed ls -la
test-bed
will echo the scripts that would otherwise run.
- Add more commonly used setup tasks
- Add support for Void Linux
- Provide more options for installing a display manager