Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Niri

Niri is a Wayland compositor inspired by the GNOME extension PaperWM. As such, there are many similarities with GNOME, so it will be familiar to GNOME users. I've found it a joy to use.

Installation

$ sudo dnf copr enable yalter/niri
$ sudo dnf install niri

Other important software is needed for normal desktop use.

$ sudo dnf install mako

Configuration

Chromebooks don't really have a Print Screen key, so we'll use other key combos in ~/.config/niri/config.kdl.

    Mod+P { screenshot; }
    Ctrl+Mod+P { screenshot-screen; }
    Alt+P { screenshot-window; }

Auto-start mako.

// This line starts waybar, a commonly used bar for Wayland compositors.
spawn-at-startup "waybar"
spawn-at-startup "mako"

Waybar

$ git clone https://github.com/rubyowo/dotfiles
$ git checkout f925cf8e3461420a21b6dc8b8ad1190107b0cc56
$ cp config/waybar ~/.config

Change timezone.

$ sed s/Asia\/Dubai/America\/Chicago/ ~/.config/waybar/config

Get a font for the icons.

$ wget https://github.com/ryanoasis/nerd-fonts/releases/download/v3.4.0/AdwaitaMono.zip
$ unzip AdwaitaMono.zip
$ mv AdwaitaMonoNerdFont* ~/.local/share/fonts/

In style.css:

* {
  font-family: AdwaitaMono Nerd Font;

Swaylock

Blaring white lock screens are awful! Put the following in ~/.config/swaylock/config:

color=000000