This repo contains helper scripts for the TOS project
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
·
TOS
To get a local copy up and running follow these simple steps.
You need the following packages
- git
- bash
- python
- rofi
- feh
- bluez-utils
- gnupg
- networkmanager
- python-pywal
- pacman-contrib
- checkupdates-aur-tos
- imagemagick
- Clone the helper-scripts
git clone https://github.com/ODEX-TOS/tools.git ~/bin
- Install packages
pacman -Syu bash polybar-git rofi xorg-xrandr
- Get emoji file
curl https://raw.githubusercontent.com/ODEX-TOS/dotfiles/master/emoji -o ~/.config/emoji
Make sure this repo is inside your path environment variable eg
export PATH=$HOME/bin:$PATH
We have a few usefull script in this repo
A small wrapper around xdg-open to launch applications for you.
open . # open current directory in vscode
open index.html # opens html pages in the browser
open blabla.pdf # opens pdf in zatura (or other pdf viewers)
open README.md # opens in typora a readme editor
A simple utility that will scan the arch repo servers and will reorder them based on speed. This way your updates will happen faster
rankmirror
This is a very large tool that is not going to be explained here. See below for more information
Before creating commits you need to setup commit hooks. These commit hooks perform a series of checks to make sure you didn't forget something important
This ranges from linting, license checks, correct usage of branching etc
It is not mandatory to use this feature, however it will make it more likely to be allowed.
Setting the commit hooks is as easy as executing the following commands from the project root:
ln -s "$PWD"/hooks/pre-commit .git/hooks/pre-commit
ln -s "$PWD"/hooks/commit-msg .git/hooks/commit-msg
ln -s "$PWD"/hooks/pre-push .git/hooks/pre-push
For more examples, please refer to the Documentation
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Tom Meyers - [email protected]
Project Link: https://github.com/ODEX-TOS/tools