Use rofi as output chooser for screencast

Slurp does not allow for selecting windows.
This commit is contained in:
JuliusFreudenberger 2026-06-27 10:57:40 +02:00
parent c2d242301c
commit 591f8f4da7

View file

@ -18,8 +18,8 @@
enable = true;
settings = {
screencast = {
chooser_type = "simple";
chooser_cmd = "${pkgs.slurp}/bin/slurp -f 'Select: %o' -or";
chooser_type = "dmenu";
chooser_cmd = "${lib.getExe pkgs.rofi} -dmenu -p 'Select a source to share:'";
};
};
};