From 863328faaf710a79ec31eafbeedc3d6eea9e29a8 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Tue, 24 Dec 2024 06:25:01 +0300 Subject: [PATCH] Sway: Use desired pixfmt for partial recording. --- home/file/sway/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/file/sway/default.nix b/home/file/sway/default.nix index d1179718..3ae996a9 100644 --- a/home/file/sway/default.nix +++ b/home/file/sway/default.nix @@ -42,7 +42,6 @@ let updateWaybar = ''{ pkill -RTMIN+4 waybar; } & disown''; # NOTE: Might need to add a delay here if it becomes inconsistent one day. vidPrepFile = prepFile "\${XDG_VIDEOS_DIR[0]}" container; vidRefLatestFile = refLatestFile container; - vidSelected = ''''; vidStop = ''pkill -SIGINT wf-recorder''; prepFile = path: ext: '' @@ -103,6 +102,7 @@ let --no-damage \ --framerate ${toString framerate} \ --file "''${scrFile}" \ + --pixel-format "${pixfmt}" --geometry "''${scrSelection}" '';