From 0cbcfdb5b0575be055594513f80108d7b770fef1 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..04456e06 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}" '';