• Stars
    star
    309
  • Rank 134,629 (Top 3 %)
  • Language
    Perl
  • License
    GNU General Publi...
  • Created over 3 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Simple Dilbert themed system info-fetching tool

Fetch-master 6000

Simple dilbert themed fetching tool for Linux and BSD.

ASCII art of Dilbert is taken from the Kakoune text editor ASCII art of Alice, PHB is taken from Christopher Johnson's collection ASCII art of the Wolf is taken from asciiart.eu ASCII art of the Astronaut is taken from this site

Screenshots

all.png

Installation

Its just a perl script download it, make it executable and put somewhere in your $PATH

For Gentoo refer to the XDream's Repository For Arch users its available in the AUR as fm6000

Via install script

sh -c "$(curl https://codeberg.org/anhsirk0/fetch-master-6000/raw/branch/main/install.sh)"

install script help page

sh -c "$(curl https://codeberg.org/anhsirk0/fetch-master-6000/raw/branch/main/install.sh)" -- -h

install script options

  • use --install-path option or set "install_path" variable(this variable defaults to $HOME/.local/bin, if it does not exist /usr/local/bin is used)
  • use --root(-r), --noroot(-nr) or set "root" variable(this is automatically detected via stat if "root" var is not set and options are not used)
  • use --dry-run(-dr) to dry run fm6000

example

sh -c "$(curl https://codeberg.org/anhsirk0/fetch-master-6000/raw/branch/main/install.sh)" -- --install-path=/usr/bin --root

or

install_path=/usr/bin root=1 sh -c "$(curl https://codeberg.org/anhsirk0/fetch-master-6000/raw/branch/main/install.sh)"

Manually

with wget

wget https://codeberg.org/anhsirk0/fetch-master-6000/raw/branch/main/fm6000.pl -O fm6000

or

with curl

curl https://codeberg.org/anhsirk0/fetch-master-6000/raw/branch/main/fm6000.pl --output fm6000

making it executable

chmod +x fm6000

copying it to $PATH (~/.local/bin/ , this step is optional)

cp fm6000 ~/.local/bin/

Usage

if fm6000 in $PATH

fm6000

runing the script

./fm6000

or

perl fm6000

or

bash fm6000

Displaying custom ASCII from file

fm6000 -f arch_logo.txt

arch_logo.png

About custom ascii_art file

every line should be of same length (use spaces if needed) atleast 10 lines is required (use empty spaces lines if needed)

Say

fm6000 -say "Hello world!"

say.png

Geometry

geometry.png

Available Options

  • -c or --color=STR Base color
  • -w or --wally Display Wally
  • -dog or --dogbert Display Dogbert
  • -al or --alice Display Alice
  • -phb or --phb Display Pointy haired Boss
  • -as or --asok Display Asok
  • -nd or --not_de To use 'WM' instead of 'DE'
  • -o or --os=STR OS name
  • -k or --kernel=STR Kernel version
  • -d or --de=STR Desktop environment name
  • -sh or --shell=STR Shell name
  • -u or --uptime=STR Uptime
  • -p or --package=INT Number of packages
  • -v or --vnstat=STR Use vnstat instead of kernel
  • -f or --file Display art from file
  • -r or --random Display Random Art
  • -rd or --random-dir=STR Directory for random ascii art
  • -s or --say=STR Say provided text instead of info
  • -sf or --say-file=STR Say text from a file instead of info
  • -m or --margin=INT Spaces on the left side of info
  • -g or --gap=INT Spaces between info and info_value (default 10)
  • -l or --length=INT Length of the board (default 13)
  • -h or --help Print this help message

Available colors

black red green yellow blue magenta cyan bright_black bright_red bright_green bright_yellow bright_blue bright_magenta bright_cyan random

Randomization

For random color:

fm6000 -color "random"

or

fm6000 -c "random"

For random character:

fm6000 -random

or

fm6000 -r

For random ascii from a directory:

fm6000 --random-dir "directory_name"

or

fm6000 -rd "directory_name"

Troubleshooting

If your distro is not {arch, debian, fedora, freeBSD, gentoo, venom, solus} based fetch-master-6000 wont be able to detect number of packages In that case you have to specify number of packages yourself For example: On Solus (eopkg) Solus is already supported command to list all istalled packages is:

eopkg list-installed is slow because its prints a lot of info, use ls /var/lib/eopkg/package instead

eopkg list-installed

to count packages pipe the list to wc -l

eopkg list-installed | wc -l

make it an alias to avoid typing it everytime

alias fm6000='fm6000 -p $(eopkg list-installed | wc -l)'

Similiarly for other distros

fm6000 -p $(pacman -Q | wc -l)

Can't locate experimental.pm

fm6000 uses experimental module to do a smartmatch for WMs .This module is pre-installed on most of the distros, if for some reason its not present. Use your package manager to install perl-experimental module.

More Repositories

1

kakoune-themes

Beautiful Color schemes for kakoune.
KakouneScript
62
star
2

file-arranger

Simple & capable Directory arranger/cleaner
Perl
59
star
3

awesome-config

My config for awesomewm
Lua
55
star
4

slider-login-signup

Loginpage with a slider animation made with tailwind and nextjs
JavaScript
44
star
5

rofi-config

My config for rofi launcher
Perl
28
star
6

alacritty-themes

Modus-themes and ef-themes for alacritty
Perl
20
star
7

wezterm-themes

Port of Ef-themes and Modus-themes for wezterm
Lua
19
star
8

whatsapp-svelte

WhatsApp mockup using Tailwind, DaisyUI and sveltekit
Svelte
19
star
9

tailwind-navbar

Bottom navbar with some animation
18
star
10

solus-awesome

Bash script to build awesomewm on Solus.
Shell
15
star
11

gacp

git add, commit and push in one go.
Perl
12
star
12

r-yt-tutorials

11
star
13

pere

Simple Bulk renamer
11
star
14

ef-themes-vscode

11
star
15

wallpapers

Some wallpapers
9
star
16

lyapunov

Rust program to generate lyapunov fractal
9
star
17

emacs-config

My config for emacs
9
star
18

primes

Simple prime number generator / checker (using primes crate)
9
star
19

ts-projects

Some Typescript projects as NextJs pages
9
star
20

shell-config

My configuration and functions for fish shell
Perl
8
star
21

anhsirk0-sveltekit

Source code for my website
Svelte
8
star
22

mandelbrot

Mandelbrot fractal generator wriiten in Rust
8
star
23

volume

Volume is a dead simple volume control utility (pulseaudio only).
8
star
24

notes-nestjs

Nestjs backend for notes app
JavaScript
8
star
25

mosaic-rust

Simple Photomosaic Creator written in Rust
8
star
26

barasingga-ai

Implemented minimax and q-learning for barasingga game
8
star
27

CS50ai-2020

CS50ai-2020 submissions
Python
8
star
28

gtk-config

config files for gtk-3.0
8
star
29

facebook-mui

Material designed Facebook using MUI React and Typescript
8
star
30

CS50x-2020

CS50x Submissions
C
8
star
31

caesar-cipher-clj

Caesar cipher encryption implementation in Clojure for practice
8
star
32

quote-uploader

Create slideshow of images from brainyquote and upload to dailymotion
8
star
33

anhsirk0

8
star
34

shell-scripts

some random shell scripts
8
star
35

anhsirk0.github.io

My website
HTML
8
star
36

CS50web-2020

My submissions for CS50web-2020
HTML
8
star
37

news-cli

Simple command line utility to view news
8
star
38

django-projects

Some django web apps
HTML
8
star
39

rio-themes

Modus-themes and Ef-themes for rio terminal.
Perl
5
star
40

noc-odin

Following Nature of Code (Book by Daniel Shiffman) with Odin+Raylib
Odin
5
star
41

tendrils-backend

Nestjs backend for Tendrils .
TypeScript
5
star
42

tendrils-frontend

Reactjs frontend for Tendrils App.
TypeScript
5
star
43

undoo-startpage

CSS
3
star
44

exqt

simple code runner script
Perl
2
star
45

lollypop-music-player

My fork of Lollypop music player with some added functionality
Python
1
star
46

vertex

Hotcorners and Hotedges for X11
Nim
1
star
47

create-ts-app

Simple script to setup empty ts projects.
Perl
1
star