niri window switcher

This commit is contained in:
Matt Nish-Lapidus 2025-04-07 12:31:09 -04:00
parent e613e8c8b3
commit 2c84007997
6 changed files with 53 additions and 23 deletions

View file

@ -6,6 +6,25 @@
wl-clipboard
];
xdg.configFile."sway-launcher-desktop/providers".source = ./sway-launcher-providers;
home.file.".local/bin/sway-launcher-rbw".source = ./sway-launcher-providers/sway-launcher-rbw.fish;
home.file.".local/bin/sway-launcher-rbw" = {
executable = true;
text = ''
#!/usr/bin/env fish
PROVIDERS_FILE=providers/rbw.conf sway-launcher-desktop
'';
};
home.file.".local/bin/sway-launcher-niri-windows" = {
executable = true;
text = ''
#!/usr/bin/env fish
HIST_FILE="" PROVIDERS_FILE=providers/niri-windows.conf sway-launcher-desktop
'';
};
xdg.configFile."sway-launcher-desktop/providers" = {
source = ./sway-launcher-providers;
recursive = true;
};
}