Gives custom drugs to your terminal πŸ’Š

Overview

Linux on drugs πŸ§ͺ

Gives custom drugs to your terminal πŸ’Š

Output random colors really fast

Installation πŸ“¦

Arch Linux

Linux on drugs is in the AUR

yay -S linux-on-drugs

Other distributions

Clone this repo

git clone https://github.com/SkwalExe/linux-on-drugs.git

build with cargo

# πŸ“‚ linux-on-drugs/
cargo build --release

Move the binary

# πŸ“‚ linux-on-drugs/
sudo cp target/release/linux-on-drugs /usr/bin/linux-on-drugs

Usage πŸ“

Example

linux-on-drugs --block-size 20

How it works πŸ”¬

Very simple, the program select a color number from 1 to 255 and print a space with this background color.

Uninstall πŸ—‘

Just remove the binary

sudo rm /usr/bin/linux-on-drugs

final

If you have any problem, don't hesitate to open an issue

contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

You might also like...
Rust implementation of custom numeric base conversion.

base_custom Use any characters as your own numeric base and convert to and from decimal. This can be taken advantage of in various ways: Mathematics:

Reference implementation of a decentralized exchange for custom instruments, risk, and fees

Dexterity What is Dexterity At a high level, Dexterity is a smart contract (or collection of smart contracts) that allow for the creation of a decentr

Easy access of struct fields in strings using different/custom pre/postfix:
Easy access of struct fields in strings using different/custom pre/postfix: "Hello, {field}" in rust

Easy access to struct fields in strings 🐠 add strung to the dependencies in the Cargo.toml: [dependencies] strung = "0.1.3" πŸ¦€ use/import everything

An efficient pictures manager based on custom tags and file system organization.

PicturesManager An efficient pictures manager based on custom tags and file system organization. Developed with Tauri (web app) with a Rust backend an

Custom module for showing the weather in Waybar, using the great wttr.io
Custom module for showing the weather in Waybar, using the great wttr.io

wttrbar a simple but detailed weather indicator for Waybar using wttr.in. Installation Compile yourself using cargo build --release, or download the p

temp - building custom deb

PL/Rust: A Trusted Procedural Language Handler for Rust PL/Rust is a loadable procedural language that enables writing PostgreSQL functions in the Rus

Expose standard or fully custom USB peripherals (gadgets) through a USB device controller (UDC) on Linux using Rust.

usb-gadget This library allows implementation of USB peripherals, so called USB gadgets, on Linux devices that have a USB device controller (UDC). Bot

 create and test the style and formatting of text in your terminal applications
create and test the style and formatting of text in your terminal applications

description: create and test the style and formatting of text in your terminal applications docs: https://docs.rs/termstyle termstyle is a library tha

Comments
  • -b option not working

    -b option not working

    Line 87 when checking if an argument is specified after -b

    if args.len() > 1 {
                   println!(
                      "{}[ x ] : Error: Argument needed after -b/--block-size{}",
                      RED, RESET
                   );
                   process::exit(1);
    }
    

    the condition should be args.len() < 2

    this bug will be fixed in the next version

    bug 
    opened by SkwalExe 2
  • fix options not working

    fix options not working

    closes #6

    I replaced

    if args.len() > 1 {
                   println!(
                      "{}[ x ] : Error: Argument needed after -b/--block-size{}",
                      RED, RESET
                   );
                   process::exit(1);
    }
    

    args.len() > 1 by !args.len() > 1 but the ! operator doesn't seem to work (?) it always return true.

    so I replaced by < 2

    bug 
    opened by SkwalExe 0
  • change makefile commands - help command

    change makefile commands - help command

    separate

    • build
    • copy binary to bin folder

    into two separated commands

    make [build] make install

    add the readme contains a lot of informations to the help command

    enhancement minor 
    opened by SkwalExe 0
  • [ImgBot] Optimize images

    [ImgBot] Optimize images

    Beep boop. Your images are optimized!

    Your image file size has been reduced πŸŽ‰

    Details

    | File | Before | After | Percent reduction | |:--|:--|:--|:--| | /images/2.png | 72.59kb | 67.74kb | 6.69% | | /images/3.gif | 323.93kb | 320.64kb | 1.02% | | /images/1.gif | 790.30kb | 788.38kb | 0.24% | | | | | | | Total : | 1,186.83kb | 1,176.76kb | 0.85% |


    πŸ“ docs | :octocat: repo | πŸ™‹πŸΎ issues | πŸͺ marketplace

    ~Imgbot - Part of Optimole family

    documentation chore 
    opened by imgbot[bot] 0
Releases(v0.2.1)
Owner
Skwal
Founder of skwal.net, I use arch btw, vive la FranceπŸ‡«πŸ‡·
Skwal
Catch Tailwindcss Errors at Compile-Time Before They Catch You, without making any change to your code! Supports overriding, extending, custom classes, custom modifiers, Plugins and many more πŸš€πŸ”₯πŸ¦€

twust Twust is a powerful static checker in rust for TailwindCSS class names at compile-time. Table of Contents Overview Installation Usage Statement

null 15 Nov 8, 2023
Sero is a web server that allows you to easily host your static sites without pain. The idea was inspired by surge.sh but gives you full control.

sero Lightning-fast, static web publishing with zero configuration and full control ?? Table Of Contents ?? Table Of Contents ?? Tools ❓ About The Pro

Dmitry Miasnenko 6 Nov 13, 2023
ask.sh: AI terminal assistant that can read and write your terminal directly!

ask.sh: AI terminal assistant that read from & write to your terminal ask.sh is an AI terminal assistant based on OpenAI APIs such as GPT-3.5/4! What'

hmirin 5 Jun 20, 2023
Coppers is a custom test harnass for Rust that measures the energy usage of your test suite.

Coppers Coppers is a test harness for Rust that can measure the evolution of power consumptions of a Rust program between different versions with the

Thijs Raymakers 175 Dec 4, 2022
Print your git contributions in your terminal, blazingly fast

Takoyaki Blazingly fast git contribution graph in your terminal Features βœ”οΈ Customizable βœ”οΈ Plugins to support a bunch of cloud based git repositories

kyeboard 13 Feb 6, 2023
Get your github contributions right in your terminal, blazingly fast!

GitColorScripts Get your github contributions right in your terminal! Installation Install via yay yay -S gitcolorscripts Install manually Download t

VoidCupboard 56 Jul 12, 2023
A terminal ASCII media player. View images, gifs, videos, webcam, YouTube, etc.. directly in the terminal as ASCII art.

Terminal Media Player View images, videos (files or YouTube links), webcam, etc directly in the terminal as ASCII. All images you see below are just m

Max Curzi 36 May 8, 2023
A simple and efficient terminal UI implementation with ratatui.rs for getting quick insights from csv files right on the terminal

CSV-GREP csv-grep is an intuitive TUI application writting with ratatui.rs for reading, viewing and quickly analysing csv files right on the terminal.

Anthony Ezeabasili 16 Mar 10, 2024
A very simple third-party cargo subcommand to execute a custom command

cargo-x A very simple third-party cargo subcommand to execute a custom command Usage install cargo-x cargo install cargo-x or upgrade cargo install -

εˆ˜ε†² 9 Dec 26, 2022
git-cliff can generate changelog files from the Git history by utilizing conventional commits as well as regex-powered custom parsers.⛰️

git-cliff can generate changelog files from the Git history by utilizing conventional commits as well as regex-powered custom parsers. The changelog template can be customized with a configuration file to match the desired format.

Orhun ParmaksΔ±z 5k Jan 9, 2023