1
0
forked from extern/nix-config
donovanglover-nix-config/extras
Donovan Glover 207ef19a7b
meta: Add kitty
I've gone through a lot of terminal emulators by now, and have always
switched between URxvt and Termite (due to the features they support).

For URxvt, this is particularly cumbersome since the version in the
official repositories does not have the patches required for practical
use. Even with patches applied, URxvt supports neither true color nor
emoji. Termite worked well, but it lacked image support.

Kitty features all of the following:

- True color support
- Image support
- Emoji support
- Icon fonts support
- Transparency support

Additionally, projects like Ranger and Neofetch have already taken the
initiative to support the Kitty image protocol (which, luckily for me,
are the only programs I use with images in the terminal).

Why not Alacritty, the other GPU-based terminal?
---

Although Alacritty is also very performant, there are several things
that keep me away from this terminal emulator.

Alacritty, as of this writing, renders neither images nor emoji.
Although it is certainly possible to use a terminal emulator without
either of these, the lack of these features limits what you can do with
the program you (presumably) spend the most time with on your computer.

The current config setup is "all or nothing"; I cannot remove defaults
from my alacritty.yml and expect those same defaults to carry over.
Even common terminal escape sequences are hard-coded into the config
file, which cannot be removed without breaking things.

Some other benefits of kitty:

- Full image support in transparent terminals
- w3m hack + loop is no longer necessary for persistent images
- No weird artifacts around the image
- Can highlight text without affecting the image
- Images aren't lost after switching between desktops
2018-11-07 18:20:19 -05:00
..
.config meta: Add kitty 2018-11-07 18:20:19 -05:00
.httpie stow: Add directories for vim, wal, and extras 2018-10-22 17:09:28 -04:00
.mailcap stow: Add directories for vim, wal, and extras 2018-10-22 17:09:28 -04:00
README.md docs: Fix some typos and missing instructions 2018-10-27 15:44:59 -04:00

Extras

Some other programs I use that have dotfiles.

Dependencies

  • httpie - A friendly version of curl / wget
  • feh - A GUI-less image viewer
  • mpd - The music player daemon
  • ncmpcpp - A stylish music player client for the terminal
  • youtube-dl - A program that can download online videos
  • ranger - A file explorer with image preview support for the terminal
  • rtv - A reddit browser for the terminal
  • yay - An AUR helper for Arch Linux
  • mpv - A media player without the GUI

Installation

make package=extras

Usage

Use these programs like you normally would, and the settings will be automatically applied.

Ranger

In order to make image previews work with ranger, you must first copy the preview script.

ranger --copy-config=scope