From 591f8f4da7c044151f33e8cffddbf24af8c4ee71 Mon Sep 17 00:00:00 2001 From: JuliusFreudenberger Date: Sat, 27 Jun 2026 10:57:40 +0200 Subject: [PATCH] Use rofi as output chooser for screencast Slurp does not allow for selecting windows. --- modules/sway.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/sway.nix b/modules/sway.nix index 8754556..c659326 100644 --- a/modules/sway.nix +++ b/modules/sway.nix @@ -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:'"; }; }; };