From 3de69740bc63f769c62d33dc96e29b3e000456b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Sat, 11 Oct 2025 13:38:23 +0200 Subject: feat(niri): start pipewire and custom rules for minecraft --- config/niri/config.kdl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/niri/config.kdl b/config/niri/config.kdl index aa94c2f..7e70d90 100644 --- a/config/niri/config.kdl +++ b/config/niri/config.kdl @@ -132,6 +132,7 @@ layout { spawn-at-startup "waybar" spawn-at-startup "swww-daemon" +spawn-at-startup "pipewire" // To run a shell command (with variables, pipes, etc.), use spawn-sh-at-startup: // spawn-sh-at-startup "qs -c ~/source/qs/MyAwesomeShell" @@ -171,7 +172,7 @@ window-rule { exclude is-focused=false is-active=false is-floating=false match app-id="mpv" match app-id="discord" - //match class="Minecraft.*" + match app-id="Minecraft.*" opacity 1.0 } @@ -190,6 +191,11 @@ window-rule { default-column-width { proportion 0.9; } } +window-rule { + match app-id="Minecraft.*" + default-column-width { proportion 1.0; } +} + // Open the Firefox picture-in-picture player as floating by default. window-rule { // This app-id regular expression will work for both: -- cgit v1.2.3