1
0
forked from extern/nix-config
donovanglover-nix-config/bspwm
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
.icons/default stow: Move bspwm-specific dotfiles to separate directory 2018-10-22 15:03:01 -04:00
.xinitrc stow: Move bspwm-specific dotfiles to separate directory 2018-10-22 15:03:01 -04:00
.Xresources stow: Merge term with bspwm 2018-10-30 16:36:15 -04:00
README.md stow: Merge wal with bspwm 2018-10-30 16:49:10 -04:00

bspwm

I use bspwm as my window manager of choice. My setup is optimized for HiDPI, so you will have to manually adjust the numbers if you aren't using a HiDPI display.

Dependencies

  • bspwm - Window manager
  • polybar - Panel
  • dunst - Notifications
  • rofi - Window switcher, application launcher, and dmenu replacement
  • sxhkd - Keybinds
  • rxvt-unicode-patched - Terminal with image support
  • termite - Terminal with true transparency, icon fonts, true color, and emoji support
  • python-pywal - A universal color scheme changer
  • feh - Used to set the background image

Installation

make package=bspwm

Usage

Either startx directly or use a display manager. Assuming you have the necessary dependencies installed, and assuming you configured your system properly, everything should just work.

Note

When you use wal to change the color scheme, add -o ~/.config/wal/done.sh to run the done script. The fish abbreviation w does this automatically for you.