niri-dots/README.md

110 lines
4.1 KiB
Markdown
Raw Permalink Normal View History

2026-01-11 20:07:00 +00:00
# My Niri Dots
> Though I'm not yet sure if this can be called a dotfile since it's so simple.
<img width="2560" height="1440" alt="image" src="https://github.com/user-attachments/assets/a16690d6-b45d-454c-87b4-a828e7cf02ca" />
<img width="2560" height="1440" alt="image" src="https://github.com/user-attachments/assets/a342de25-90ca-487d-a854-2e0b8b2b3f3d" />
<img width="2560" height="1440" alt="image" src="https://github.com/user-attachments/assets/4971cc93-436f-4d41-b757-a542c4b07486" />
2026-01-11 20:07:00 +00:00
Every time when I re-install my PC, I always feels like to try some new dotfiles. But as I searched through Internet the dotfiles I found were whether not stable or deeply customized and hard to make changes.
So I began the long and time-costing Niri customization.
I want it to be simple, reliable, easy and good-looking. As I'm not expert in designing and I'm super confident about doing bad in color design, the components I use are mainly simple modifications based on other peoples work (which are listed below).
This dot is really simple, and especially easy to make adjustments if you like. It provides an out-of-the box interface so you don't need to spend the whole afternoon adjusting corner radius and fighting against the hard-to-remember CSS code.
Okay so lets talk about how to use.
## Installation
2026-01-11 20:50:55 +00:00
### Clean Install
2026-01-11 20:07:00 +00:00
The installation script currently only supports Arch Linux if you are starting from a clean system installation environment.
2026-01-14 02:35:40 +00:00
> [!IMPORTANT]
>
2026-01-14 10:58:26 +00:00
> Please pull the submodule together with the `--recurse-submodules` fl
2026-01-14 02:35:40 +00:00
2026-01-11 20:50:55 +00:00
```shell
2026-01-14 02:35:40 +00:00
git clone --recurse-submodules https://github.com/ClovertaTheTrilobita/niri-dots.git
2026-01-11 20:50:55 +00:00
chmod +x install.sh
./install.sh
```
> [!WARNING]
>
> This script should only be used when you just setup your system and haven't install anything yet. It might (though the possibilities are low) break some of your packages since it'll do packages installations for you.
2026-01-14 10:58:26 +00:00
After rebooting your system in to Niri, if you want to switch wallpaper, simply execute
2026-01-11 21:08:39 +00:00
```shell
chmod +x $HOME/.config/niri/scripts/switch-wallpaper.sh
2026-01-14 10:58:26 +00:00
$HOME/.config/niri/scripts/switch-wallpaper.sh <path/to/your/walpaper.png>
2026-01-11 21:08:39 +00:00
```
Note that this script doesn't install packages that might deeply effect your system e.g. `powerprofilesctl`, you have the freedom to configure it your self :p
2026-01-11 20:50:55 +00:00
### If you already done some configuration
That's even more simple!
```shell
chmod +x replace.sh
./replace.sh
```
This will replace some of your config files (It will make backups).
> [!NOTE]
>
> This script doesn't do any installations, so you need to install all packages by your self.
### Manual installation
2026-01-11 21:08:39 +00:00
I guess this dot might be a bit too easy to use an installation script.
2026-01-11 20:50:55 +00:00
#### Arch Linux
##### 1. Install packages
```shell
2026-01-14 10:58:26 +00:00
yay -S --needed ttf-iosevka-nerd ttf-hack cava imagemagick cliphist fastfetch fuzzel kitty mako niri swaylock-fancy-git swaync waybar wlogout wofi swaybg swww sddm cliphist
2026-01-11 20:50:55 +00:00
```
##### 2. Copy configuration files
copy all folders in `.config` to your own `XDG_CONFIG_HOME` (mostly `~/.config`)
##### 3. Setup grub theme
if you want to use the grub theme
```shell
cd matter
./matter.py
```
##### 4.SDDM theme
I recommend using this sddm theme [Keyitdev/sddm-astronaut-theme](https://github.com/Keyitdev/sddm-astronaut-theme). You can install it with simply
2026-01-11 21:23:38 +00:00
```shell
2026-01-11 20:50:55 +00:00
bash -c "$(curl -fsSL https://raw.githubusercontent.com/keyitdev/sddm-astronaut-theme/master/setup.sh)"
```
2026-01-11 21:23:38 +00:00
<br>
## ⚖️ Code and Licenses
This repo contains code and inspiration from:
- **[catppuccin/waybar](https://github.com/catppuccin/waybar)**, **[jvc84/wayves](https://github.com/jvc84/wayves)**, **[DerAnsari/hyprland-dots](https://github.com/DerAnsari/hyprland-dots/tree/main/waybar/)** for `waybar`.
- **[catppuccin/wlogout](https://github.com/catppuccin/wlogout)**, **[wolf-yuan/dotfiles](https://gitlab.com/wolf-yuan/dotfiles/-/blob/main/.config/wlogout/style.css?ref_type=heads)** for `wlogout`
- **[LierB/fastfetch](https://github.com/LierB/fastfetch)** for `fastfetch`
- **[catppuccin/fuzzel](https://github.com/catppuccin/fuzzel)** for `fuzzel`
- **[mateosss/matter](https://github.com/mateosss/matter)** for `grub`
2026-01-14 10:58:26 +00:00
This repo is licensed under `MIT LICENSE`, you can use it whatever you like =)