forge
Explore
Log in

Don't you dare go Hollow

837a0a20fbc6d6461a2f22799eab45472a1816f0Ivan MolodetskikhParent: ecdf756
README.mdmodified+18 -8
@@ -16,9 +16,12 @@ Opening a new window never causes existing windows to resize.
16 Every monitor has its own separate window strip.16 Every monitor has its own separate window strip.
17 Windows can never "overflow" onto an adjacent monitor.17 Windows can never "overflow" onto an adjacent monitor.
18 18
19-Since windows go left-to-right horizontally, workspaces are arranged vertically.19+Workspaces are dynamic and arranged vertically.
20 Every monitor has an independent set of workspaces, and there's always one empty workspace present all the way down.20 Every monitor has an independent set of workspaces, and there's always one empty workspace present all the way down.
21 21
22+The workspace arrangement is preserved across disconnecting and connecting monitors where it makes sense.
23+When a monitor disconnects, its workspaces will move to another monitor, but upon reconnection they will move back to the original monitor.
24+
22 ## Features25 ## Features
23 26
24 - Scrollable tiling27 - Scrollable tiling
@@ -29,13 +32,17 @@ Every monitor has an independent set of workspaces, and there's always one empty
29 - Configurable layout: gaps, borders, struts, window sizes32 - Configurable layout: gaps, borders, struts, window sizes
30 - Live-reloading config33 - Live-reloading config
31 34
35+## Video Demo
36+
37+https://github.com/YaLTeR/niri/assets/1794388/5d355694-7b06-4f00-8920-8dce54a8721c
38+
32 ## Status39 ## Status
33 40
34 A lot of the essential functionality is implemented, plus some goodies on top.41 A lot of the essential functionality is implemented, plus some goodies on top.
35 Feel free to give niri a try.42 Feel free to give niri a try.
36-Have your waybars and fuzzels ready: niri is not a complete desktop environment.43+Have your [waybar]s and [fuzzel]s ready: niri is not a complete desktop environment.
37 44
38-https://github.com/YaLTeR/niri/assets/1794388/5d355694-7b06-4f00-8920-8dce54a8721c45+Note that NVIDIA GPUs might have rendering issues.
39 46
40 ## Inspiration47 ## Inspiration
41 48
@@ -44,15 +51,14 @@ Niri is heavily inspired by [PaperWM] which implements scrollable tiling on top
44 One of the reasons that prompted me to try writing my own compositor is being able to properly separate the monitors.51 One of the reasons that prompted me to try writing my own compositor is being able to properly separate the monitors.
45 Being a GNOME Shell extension, PaperWM has to work against Shell's global window coordinate space to prevent windows from overflowing.52 Being a GNOME Shell extension, PaperWM has to work against Shell's global window coordinate space to prevent windows from overflowing.
46 53
47-Niri tries to preserve the workspace arrangement as much as possible upon disconnecting and connecting monitors.
48-When a monitor disconnects, its workspaces will move to another monitor, but upon reconnection they will move back to the original monitor.
49-
50 ## Building54 ## Building
51 55
52 > [!TIP]56 > [!TIP]
53 > For Fedora users, there's a COPR with built and packaged niri: https://copr.fedorainfracloud.org/coprs/yalter/niri/57 > For Fedora users, there's a COPR with built and packaged niri: https://copr.fedorainfracloud.org/coprs/yalter/niri/
54 >58 >
55-> For NixOS users, check out https://github.com/sodiboo/niri-flake59+> NixOS users, check out https://github.com/sodiboo/niri-flake
60+>
61+> For Arch users, there's an AUR package: https://aur.archlinux.org/packages/niri
56 62
57 First, install the dependencies for your distribution.63 First, install the dependencies for your distribution.
58 64
@@ -71,7 +77,9 @@ First, install the dependencies for your distribution.
71 sudo dnf install gcc libudev-devel libgbm-devel libxkbcommon-devel wayland-devel libinput-devel dbus-devel systemd-devel libseat-devel pipewire-devel pango-devel cairo-gobject-devel clang77 sudo dnf install gcc libudev-devel libgbm-devel libxkbcommon-devel wayland-devel libinput-devel dbus-devel systemd-devel libseat-devel pipewire-devel pango-devel cairo-gobject-devel clang
72 ```78 ```
73 79
74-Next, build niri with `cargo build --release`.80+Next, get latest stable Rust: https://rustup.rs/
81+
82+Then, build niri with `cargo build --release`.
75 83
76 ### NixOS/Nix84 ### NixOS/Nix
77 85
@@ -202,4 +210,6 @@ We have a Matrix chat, feel free to join and ask a question: https://matrix.to/#
202 [PaperWM]: https://github.com/paperwm/PaperWM210 [PaperWM]: https://github.com/paperwm/PaperWM
203 [mako]: https://github.com/emersion/mako211 [mako]: https://github.com/emersion/mako
204 [OBS]: https://flathub.org/apps/com.obsproject.Studio212 [OBS]: https://flathub.org/apps/com.obsproject.Studio
213+[waybar]: https://github.com/Alexays/Waybar
214+[fuzzel]: https://codeberg.org/dnkl/fuzzel
205 215