Sway: Use desired pixfmt for partial recording.
This commit is contained in:
parent
c7c2705627
commit
0cbcfdb5b0
|
@ -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.
|
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;
|
vidPrepFile = prepFile "\${XDG_VIDEOS_DIR[0]}" container;
|
||||||
vidRefLatestFile = refLatestFile container;
|
vidRefLatestFile = refLatestFile container;
|
||||||
vidSelected = '''';
|
|
||||||
vidStop = ''pkill -SIGINT wf-recorder'';
|
vidStop = ''pkill -SIGINT wf-recorder'';
|
||||||
|
|
||||||
prepFile = path: ext: ''
|
prepFile = path: ext: ''
|
||||||
|
@ -103,6 +102,7 @@ let
|
||||||
--no-damage \
|
--no-damage \
|
||||||
--framerate ${toString framerate} \
|
--framerate ${toString framerate} \
|
||||||
--file "''${scrFile}" \
|
--file "''${scrFile}" \
|
||||||
|
--pixel-format "${pixfmt}" \
|
||||||
--geometry "''${scrSelection}"
|
--geometry "''${scrSelection}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue