npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

decritty

v1.0.12

Published

CLI program to change the alacritty configuration

Downloads

31

Readme

Decritty

Inspired on pycritty

imagem

Change your alacritty config in real time!


Table of Contents


:wrench: Installation

  • npm

    npm i -g decritty

:dark_sunglasses: Usage

Initial configs

Run the command below to create the initial settings

If the alacritty folder is already exists, it will be backup and the folder structure will be set up to work correctly

decritty -i

Opacity

This argument receive a int | float

decritty -o 0.6

Padding

This argument receives 2 parameters x, y of type int X and Y need not be exactly the same

decritty -p 2 2

---

decritty -p 4 8

Font

This argument receives the alias that is in the font file

You may be found the file on ~/.config/alacritty/settings/fonts.yml click here to see structure of fonts file

decritty -f FiraCode

Add new font

This argument receives two parameters Alias: 'Font Name' Alias is the alias of the font name 'Font Name' is the original font name

You may be found the file on ~/.config/alacritty/settings/fonts.yml

decritty --add-font FiraCode 'Fira Code Nerd Font'

# abbreviated command
decritty -af FiraCode 'Fira Code Nerd Font'

Font Size

This argument receive a int

decritty -s 18

Themes

This argument receive the name of theme

You may be found the file folder on ~/.config/alacritty/settings/themes click here to see folder structure

decritty -t AyuDark

imagem

If you wish, you can match all the arguments

imagem

Add Themes

To add a new theme just move it to ~/.config/alacritty/settings/themes and then run

decritty -t YourTheme

List Resources

To list all resources

decritty --list-resources

# abbreviated command
decritty -l

Set Shell

To set a new shell

decritty --set-shell zsh

## abbreviated command
decritty -ss zsh

Window Decoration

To change window decoration of Alacritty

You can set these options "full" | "none" | "transparent" | "buttonless" Remember, the options "transparent" | "buttonless" only works in macos

decritty --window-decoration full

## abbreviated command
decritty -wd none

:file_folder: Folder Structure

alacritty
│   alacritty.yml
│
│
└───settings
│   │   fonts.yml
│   │
│   │
│   └───themes
│       │   AyuDark.yml
│       │   AyuMirage.yml
│       │   ...

:pencil: Fonts

~/.config/alacritty/settings/fonts.yml

fonts:
  Ubuntu: UbuntuMono Nerd Font # alias: font name
  FiraCode: Fira Code Nerd Font

:writing_hand: License

This project is under the MIT LICENSE. See LICENSE for more information.


Made by the spanish guy with :purple_heart: