summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2026-04-14 22:11:38 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2026-04-14 22:11:38 +0200
commit35e635ed81bbef30628ca6a50a1b371e432722e9 (patch)
tree314137d2f0e643be35e14516ce9377f6bf15298a
parentffa13a9b9cda0c012d9d3793412104bb10c79ebe (diff)
downloadnixos-35e635ed81bbef30628ca6a50a1b371e432722e9.tar
nixos-35e635ed81bbef30628ca6a50a1b371e432722e9.tar.gz
nixos-35e635ed81bbef30628ca6a50a1b371e432722e9.tar.bz2
nixos-35e635ed81bbef30628ca6a50a1b371e432722e9.tar.xz
nixos-35e635ed81bbef30628ca6a50a1b371e432722e9.zip
...
-rw-r--r--accounts/gkleen@sif/niri.nix12
1 files 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 {
426 } 426 }
427 { name = "term"; 427 { name = "term";
428 key = "Mod+Control+Return"; 428 key = "Mod+Control+Return";
429 app-id = "alacritty-scratch"; 429 app-id = "Alacritty-scratch";
430 spawn = spawnTerminal { extraArgs = ["--class" "alacritty-scratch"]; }; 430 spawn = spawnTerminal { extraArgs = ["--class" "Alacritty-scratch"]; };
431 } 431 }
432 { name = "edit"; 432 { name = "edit";
433 match = [ { title = "^scratch$"; app-id = "^emacs$"; } ]; 433 match = [ { title = "^scratch$"; app-id = "^emacs$"; } ];
@@ -657,8 +657,8 @@ in {
657 ]) 657 ])
658 (plain "window-rule" [ 658 (plain "window-rule" [
659 (sleaf "match" { app-id = "^kitty$"; }) 659 (sleaf "match" { app-id = "^kitty$"; })
660 (sleaf "match" { app-id = "^alacritty$"; }) 660 (sleaf "match" { app-id = "^Alacritty$"; })
661 (sleaf "match" { app-id = "^(kitty|alacritty)-play$"; }) 661 (sleaf "match" { app-id = "^(kitty|Alacritty)-play$"; })
662 (plain "default-column-width" [(sleaf "proportion" (1. / 3.))]) 662 (plain "default-column-width" [(sleaf "proportion" (1. / 3.))])
663 ]) 663 ])
664 664
@@ -679,7 +679,7 @@ in {
679 (plain "default-column-width" [(sleaf "proportion" 1.)]) 679 (plain "default-column-width" [(sleaf "proportion" 1.)])
680 ]) 680 ])
681 (plain "window-rule" [ 681 (plain "window-rule" [
682 (sleaf "match" { app-id = "^(kitty|alacritty)-play$"; }) 682 (sleaf "match" { app-id = "^(kitty|Alacritty)-play$"; })
683 (sleaf "open-on-workspace" "vid") 683 (sleaf "open-on-workspace" "vid")
684 (sleaf "open-focused" false) 684 (sleaf "open-focused" false)
685 ]) 685 ])
@@ -789,7 +789,7 @@ in {
789 runtimeInputs = with pkgs; [ wl-clipboard-rs ]; 789 runtimeInputs = with pkgs; [ wl-clipboard-rs ];
790 text = '' 790 text = ''
791 exec -- ${lib.concatStringsSep " " (spawnTerminal { 791 exec -- ${lib.concatStringsSep " " (spawnTerminal {
792 extraArgs = [ "--class" "alacritty-play" "--working-directory" "\"$HOME\"/media" ]; 792 extraArgs = [ "--class" "Alacritty-play" "--working-directory" "\"$HOME\"/media" ];
793 command = ["mpv" "\"$(wl-paste)\""]; 793 command = ["mpv" "\"$(wl-paste)\""];
794 })} 794 })}
795 ''; 795 '';