Screenshot : Fix rec scripts wrong usage of pipe.
This commit is contained in:
parent
972513ad66
commit
9d33afd84f
|
@ -43,7 +43,7 @@ in {
|
||||||
[[ "''${scrTransform}" = "normal" ]] && scrTransform=""
|
[[ "''${scrTransform}" = "normal" ]] && scrTransform=""
|
||||||
|
|
||||||
pkill -RTMIN+4 waybar \
|
pkill -RTMIN+4 waybar \
|
||||||
| wf-recorder \
|
& wf-recorder \
|
||||||
--geometry "''${scrSelection}" \
|
--geometry "''${scrSelection}" \
|
||||||
--codec ${codec} \
|
--codec ${codec} \
|
||||||
--file "''${scrFile}" \
|
--file "''${scrFile}" \
|
||||||
|
@ -81,7 +81,7 @@ in {
|
||||||
[[ "''${scrTransform}" = "normal" ]] && scrTransform=""
|
[[ "''${scrTransform}" = "normal" ]] && scrTransform=""
|
||||||
|
|
||||||
pkill -RTMIN+4 waybar \
|
pkill -RTMIN+4 waybar \
|
||||||
| wf-recorder \
|
& wf-recorder \
|
||||||
-o $(swaymsg -t get_outputs | jq -r ".[] | select(.focused) | .name") - \
|
-o $(swaymsg -t get_outputs | jq -r ".[] | select(.focused) | .name") - \
|
||||||
--codec ${codec} \
|
--codec ${codec} \
|
||||||
--file "''${scrFile}" \
|
--file "''${scrFile}" \
|
||||||
|
|
Loading…
Reference in a new issue