From 35e635ed81bbef30628ca6a50a1b371e432722e9 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 14 Apr 2026 22:11:38 +0200 Subject: ... --- accounts/gkleen@sif/niri.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/accounts/gkleen@sif/niri.nix b/accounts/gkleen@sif/niri.nix index a27b4137..7fb5b0c6 100644 --- a/accounts/gkleen@sif/niri.nix +++ b/accounts/gkleen@sif/niri.nix @@ -426,8 +426,8 @@ in { } { name = "term"; key = "Mod+Control+Return"; - app-id = "alacritty-scratch"; - spawn = spawnTerminal { extraArgs = ["--class" "alacritty-scratch"]; }; + app-id = "Alacritty-scratch"; + spawn = spawnTerminal { extraArgs = ["--class" "Alacritty-scratch"]; }; } { name = "edit"; match = [ { title = "^scratch$"; app-id = "^emacs$"; } ]; @@ -657,8 +657,8 @@ in { ]) (plain "window-rule" [ (sleaf "match" { app-id = "^kitty$"; }) - (sleaf "match" { app-id = "^alacritty$"; }) - (sleaf "match" { app-id = "^(kitty|alacritty)-play$"; }) + (sleaf "match" { app-id = "^Alacritty$"; }) + (sleaf "match" { app-id = "^(kitty|Alacritty)-play$"; }) (plain "default-column-width" [(sleaf "proportion" (1. / 3.))]) ]) @@ -679,7 +679,7 @@ in { (plain "default-column-width" [(sleaf "proportion" 1.)]) ]) (plain "window-rule" [ - (sleaf "match" { app-id = "^(kitty|alacritty)-play$"; }) + (sleaf "match" { app-id = "^(kitty|Alacritty)-play$"; }) (sleaf "open-on-workspace" "vid") (sleaf "open-focused" false) ]) @@ -789,7 +789,7 @@ in { runtimeInputs = with pkgs; [ wl-clipboard-rs ]; text = '' exec -- ${lib.concatStringsSep " " (spawnTerminal { - extraArgs = [ "--class" "alacritty-play" "--working-directory" "\"$HOME\"/media" ]; + extraArgs = [ "--class" "Alacritty-play" "--working-directory" "\"$HOME\"/media" ]; command = ["mpv" "\"$(wl-paste)\""]; })} ''; -- cgit v1.2.3