Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hengtsechou/niri

A simple and clean Niri setup
https://github.com/hengtsechou/niri

Last synced: about 2 months ago
JSON representation

A simple and clean Niri setup

Awesome Lists containing this project

README

        

- **Window Manager •** [Niri](https://github.com/YaLTeR/niri)
- **Display Manager •** [tuigreet](https://github.com/apognu/tuigreet)
- **Launcher •** [rofi-wayland](https://github.com/lbonn/rofi)
- **Panel •** [Waybar](https://github.com/Alexays/Waybar)
- **Panel Font •** [Ubuntu Mono Nerd Font](https://archlinux.org/packages/extra/any/ttf-ubuntu-mono-nerd/) + [Noto Sans Mono CJK TC](https://archlinux.org/packages/extra/any/noto-fonts-cjk/)
- **Notification •** [SwayNC](https://github.com/ErikReider/SwayNotificationCenter)
- **Clipboard Manager •** [cliphist](https://github.com/sentriz/cliphist)
- **Wallpaper Engine •** [swaybg](https://github.com/swaywm/swaybg)
- **Idle Daemon •** [swayidle](https://github.com/swaywm/swayidle)
- **Lock Screen •** [swaylock](https://github.com/swaywm/swaylock)
- **Logout Menu •** [wlogout](https://github.com/ArtsyMacaw/wlogout)
- **Fonts •** [Ubuntu](https://archlinux.org/packages/extra/any/ttf-ubuntu-font-family/) + [Noto Sans/Serif CJK TC](https://archlinux.org/packages/extra/any/noto-fonts-cjk/)
- **Theme •** [Colloid-gtk-theme](https://github.com/vinceliuice/Colloid-gtk-theme)
- **Icons •** [Colloid-icon-theme](https://github.com/vinceliuice/Colloid-icon-theme)
- **Terminal •** [Alacritty](https://github.com/alacritty/alacritty)
- **Terminal Font •** [JetBrains Mono Nerd Font](https://archlinux.org/packages/extra/any/ttf-jetbrains-mono-nerd/)
- **Shell •** [zsh](https://www.zsh.org/) + [zinit](https://github.com/zdharma-continuum/zinit) + [starship](https://github.com/starship/starship)

This setup follows a similar fashion to my [Hypr](https://github.com/hengtseChou/Hypr) dotfiles.

# Screenshots

![screenshot1](https://i.imgur.com/oKOAPYg.png)

![screenshot2](https://i.imgur.com/W2rkviV.png)

![screenshot3](https://i.imgur.com/7ffEhLz.png)

# Installation

```
git clone https://github.com/hengtseChou/Niri.git
cd Niri
./setup.sh
```

The script will install packages required for this setup and symlink to the corresponding directories. Some apps as seen in alias from `.zshrc` or keybindings from `niri/config.kdl` may consider optional and therefore not be included.

# Keybinds

| Keys | Action |
| :----------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------ |
| Super + Enter | Open terminal |
| Super + Ctrl + Enter | Open launcher |
| Super + B | Open firefox |
| Super + E | Open nautilus |
| Super + N | Toggle notification center |
| Super + L | Launch lock screen |
| Super + C | Launch clipboard manager |
| Super + Ctrl + W | Toggle waybar |
| Super + Ctrl + P | Select power profile |
| Super + Backspace | Launch logout screen |
| XF86MonBrightnessDown | Decrease brightness by 10% |
| XF86MonBrightnessUp | Increase brightness by 10% |
| XF86AudioLowerVolume | Lower volume by 10% |
| XF86AudioRaiseVolume | Raise volume by 10% |
| XF86AudioMute | Toggle mute |
| XF86AudioPlay | Play or pause media |
| XF86AudioNext | Next media track |
| XF86AudioPrev | Previous media track |
| Super + Q | Close window |
| Super + W | Switch preset column width |
| Super + H | Switch preset window height |
| Super + M | Toggle maximize mode |
| Super + F | Toggle fullscreen mode |
| Super+ Left Super + WheelScrollUp | Focus column on the left |
| Super+ Right Super + WheelScrollDown | Focus column on the right |
| Super+ Down | Focus window downward |
| Super+ Up | Focus window upward |
| Super + Ctrl + Left | Move column to the left |
| Super + Ctrl + Right | Move column to the right |
| Super + Ctrl + Down | Move window downward |
| Super + Ctrl + Up | Move window upward |
| Super + PageDown Super + Ctrl + WheelScrollDown | Focus workspace downward |
| Super + PageUp Super + Ctrl + WheelScrollUP | Focus workspace upward |
| Super + Ctrl + PageDown | Move column downward |
| Super + Ctrl + PageUp | Move column upward |
| Super + Shift + Left | Resize column width by -10% |
| Super + Shift + Right | Resize column width by +10% |
| Super + Shift + Down | Resize window height by -10% |
| Super + Shift + Up | Resize window height by +10% |
| Super + Home | Focus the first column |
| Super + End | Focus the last column |
| Super + Ctrl + Home | Move column to the first |
| Super + Ctrl + End | Move column to the last |
| Super + BracketLeft | Consume from/expel to the column on the left |
| Super + BracketRight | Consume from/expel to the column on the right |
| Super + Comma | Consume window from the right into the bottom of the focused column |
| Super + Period | Expel the bottom window from the focused column to the right |
| Super + Ctrl + [0-9] | Move column to workspace [1-10] |
| Print | Screenshot (region) |
| Ctrl + Print | Screenshot (window) |
| Shift + Print | Screenshot (monitor) |